summaryrefslogtreecommitdiff
path: root/lib/crypto/curve25519-selftest.c
AgeCommit message (Collapse)AuthorFilesLines
2019-12-27crypto: lib/curve25519 - re-add selftestsJason A. Donenfeld1-0/+1321
Somehow these were dropped when Zinc was being integrated, which is problematic, because testing the library interface for Curve25519 is important.. This commit simply adds them back and wires them in in the same way that the blake2s selftests are wired in. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>