diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-04-07 16:43:51 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-25 21:01:47 +0800 |
commit | e9b7441a9926b8091c01431f10231c9ceac52c8f (patch) | |
tree | 67a2e0e634fc932d3b6cb032477f729172c8e5a3 /crypto/testmgr.c | |
parent | d733ac90f9fe8ac284e523f9920b507555b12f6d (diff) | |
download | lwn-e9b7441a9926b8091c01431f10231c9ceac52c8f.tar.gz lwn-e9b7441a9926b8091c01431f10231c9ceac52c8f.zip |
crypto: testmgr - add AES GMAC test vectors
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r-- | crypto/testmgr.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index efd8b20e13dc..442ddb46bbe5 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2696,8 +2696,6 @@ static const struct alg_test_desc alg_test_descs[] = { } } }, { - - .alg = "rfc4309(ccm(aes))", .test = alg_test_aead, .fips_allowed = 1, @@ -2714,6 +2712,21 @@ static const struct alg_test_desc alg_test_descs[] = { } } }, { + .alg = "rfc4543(gcm(aes))", + .test = alg_test_aead, + .suite = { + .aead = { + .enc = { + .vecs = aes_gcm_rfc4543_enc_tv_template, + .count = AES_GCM_4543_ENC_TEST_VECTORS + }, + .dec = { + .vecs = aes_gcm_rfc4543_dec_tv_template, + .count = AES_GCM_4543_DEC_TEST_VECTORS + }, + } + } + }, { .alg = "rmd128", .test = alg_test_hash, .suite = { |