]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - crypto/testmgr.h
crypto: curve25519 - add kpp selftest
authorArd Biesheuvel <ardb@kernel.org>
Fri, 8 Nov 2019 12:22:33 +0000 (13:22 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 17 Nov 2019 01:02:43 +0000 (09:02 +0800)
commitf613457a7af085728297bef71233c37faf3c01b1
tree34dcc5bee87a1da254efafd9ceda434c2e4e3349
parent0ed42a6f431e930b2e8fae21955406e09fe75d70
crypto: curve25519 - add kpp selftest

In preparation of introducing KPP implementations of Curve25519, import
the set of test cases proposed by the Zinc patch set, but converted to
the KPP format.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c
crypto/testmgr.h