Commit 38ed9ab2 authored by Herbert Xu's avatar Herbert Xu

[CRYPTO] tcrypt: Make xcbc available as a standalone test

Currently the gcm(aes) tests have to be taken together with all other
algorithms.  This patch makes it available by itself at number 106.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 94765b9e
...@@ -1608,11 +1608,17 @@ static void do_test(void) ...@@ -1608,11 +1608,17 @@ static void do_test(void)
test_hash("hmac(sha512)", hmac_sha512_tv_template, test_hash("hmac(sha512)", hmac_sha512_tv_template,
HMAC_SHA512_TEST_VECTORS); HMAC_SHA512_TEST_VECTORS);
break; break;
case 105: case 105:
test_hash("hmac(sha224)", hmac_sha224_tv_template, test_hash("hmac(sha224)", hmac_sha224_tv_template,
HMAC_SHA224_TEST_VECTORS); HMAC_SHA224_TEST_VECTORS);
break; break;
case 106:
test_hash("xcbc(aes)", aes_xcbc128_tv_template,
XCBC_AES_TEST_VECTORS);
break;
case 200: case 200:
test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0,
aes_speed_template); aes_speed_template);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment