crypto: tcrypt - fix keysize argument of test_aead_speed for gcm(aes)
authorCyrille Pitchen <cyrille.pitchen@atmel.com>
Tue, 17 Nov 2015 12:37:10 +0000 (13:37 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Nov 2015 12:55:52 +0000 (20:55 +0800)
commitf18611da8683da19267e30187a191af7fa670206
tree81c0cdc28514bbd9273c648dd388006ae61032a3
parent20ecae79e7aa7908810094e365e4c72a877fb87d
crypto: tcrypt - fix keysize argument of test_aead_speed for gcm(aes)

The key sizes used by AES in GCM mode should be 128, 192 or 256 bits (16,
24 or 32 bytes).
There is no additional 4byte nonce as for RFC 4106.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c