Add pbkdf2_hmac_sha384 and pbkdf2_hmac_sha512 to Nettle

2021-01-31 Thread Nicolas Mora
Hello, I just opened a merge request [1] to add pbkdf2_hmac_sha384 and pbkdf2_hmac_sha512 to the Nettle library. These pbkdf2 functions are required to implement pbes2-* key management algorithms defined in the JSON Web Encryption (JWE) and JSON Web Algorithms (JWA) specifications [2], [3].

Re: [AArch64] Optimize GHASH

2021-01-31 Thread Michael Weiser
Hello Niels, > I think this would be more user-friendle without the "a", > --enable-armv8-crypto, or --enable-arm64-crypto. Or do you foresee any > collision with an incompatible ARMv8-M crypto extension or the like? FWIW, I like --enable-arm64-crypto because it would nicely match with a

Re: [AArch64] Optimize GHASH

2021-01-31 Thread Niels Möller
Michael Weiser writes: > Subject: [PATCH 1/4] Mamone's unmodified patch Hi, I've merged this, but I have a couple of comments and questions. > --- a/Makefile.in > +++ b/Makefile.in > @@ -616,6 +616,7 @@ distdir: $(DISTFILES) > set -e; for d in sparc32 sparc64 x86 \ > x86_64

Re: [AArch64] Optimize GHASH

2021-01-31 Thread Niels Möller
Maamoun TK writes: > This is a new patch to fix the clang build if "armv8-a-crypto" is enabled > and should be applied on top of the previous patches. Thanks, merged all the changes to the arm64 branch. Let me know if there's anything I missed. I have a few comments on the main patch, I'll