Re: [PATCH] crypto: curve25519 - re-add selftests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 16, 2019 at 06:53:26PM +0000, Jason A. Donenfeld wrote:
> 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@xxxxxxxxx>
> ---
>  lib/crypto/Makefile              |    1 +
>  lib/crypto/curve25519-selftest.c | 1321 ++++++++++++++++++++++++++++++
>  lib/crypto/curve25519.c          |   17 +
>  3 files changed, 1339 insertions(+)
>  create mode 100644 lib/crypto/curve25519-selftest.c

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux