diff options
author | Horia Geanta <horia.geanta@freescale.com> | 2014-03-06 15:06:13 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-03-31 19:26:46 (GMT) |
commit | d5c3133e8596d7b138c2684f2b069e6052bb44af (patch) | |
tree | fbba6a0f1b92c415e52bad93d1ef491f5b120ae1 /crypto/tcrypt.c | |
parent | bea82d3a46b5032165675f4053ed423d34282cff (diff) | |
download | linux-fsl-qoriq-d5c3133e8596d7b138c2684f2b069e6052bb44af.tar.xz |
crypto: testmgr - add aead null encryption test vectors
Add test vectors for aead with null encryption and md5,
respectively sha1 authentication.
Input data is taken from test vectors listed in RFC2410.
Change-Id: I7e5040647dc21bac51f69a450b9d87fca7d441ee
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/10490
Reviewed-by: Mircea Pop <mircea.pop@freescale.com>
Reviewed-by: Tudor-Dan Ambarus <tudor.ambarus@freescale.com>
Reviewed-by: Alexandru Porosanu <alexandru.porosanu@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Tested-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r-- | crypto/tcrypt.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index cbbfc7a..a3afee7 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -1246,6 +1246,14 @@ static int do_test(int m) ret += tcrypt_test("authenc(hmac(sha1),cbc(aes))"); break; + case 156: + ret += tcrypt_test("authenc(hmac(md5),ecb(cipher_null))"); + break; + + case 157: + ret += tcrypt_test("authenc(hmac(sha1),ecb(cipher_null))"); + break; + case 180: ret += tcrypt_test("tls10(hmac(sha1),cbc(aes))"); break; |