On Thu, Jul 09, 2015 at 01:38:07PM +0200, Stephan Mueller wrote:
Actually, I found a problem that I have overlooked initally: rfc4106-gcm-aesni
causes a problem. For encryption/decryption with the same tests for other
rfc4106 implementations, I get an EINVAL.
Did you update your test vectors? The AD must now include the IV.
This is the reason I disabled the AEAD interface in 4.2 by requiring
any exported AEAD algorithm to carry the CRYPTO_ALG_AEAD_NEW flag.
Cheers,
--
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt