X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=crypto%2Ftcrypt.c;h=92b0352c8e92f6cadc8d1db3e8ab56d34663b50c;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=a685df621731c24ced99ce4937f5cbb616a64849;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475;p=linux-2.6.git diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index a685df621..92b0352c8 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -695,6 +695,9 @@ do_test(void) test_hash("wp512", wp512_tv_template, WP512_TEST_VECTORS); test_hash("wp384", wp384_tv_template, WP384_TEST_VECTORS); test_hash("wp256", wp256_tv_template, WP256_TEST_VECTORS); + test_hash("tgr192", tgr192_tv_template, TGR192_TEST_VECTORS); + test_hash("tgr160", tgr160_tv_template, TGR160_TEST_VECTORS); + test_hash("tgr128", tgr128_tv_template, TGR128_TEST_VECTORS); test_deflate(); test_crc32c(); #ifdef CONFIG_CRYPTO_HMAC @@ -832,6 +835,19 @@ do_test(void) test_cipher ("anubis", MODE_CBC, DECRYPT, anubis_cbc_dec_tv_template, ANUBIS_CBC_ENC_TEST_VECTORS); break; + case 27: + test_hash("tgr192", tgr192_tv_template, TGR192_TEST_VECTORS); + break; + + case 28: + + test_hash("tgr160", tgr160_tv_template, TGR160_TEST_VECTORS); + break; + + case 29: + test_hash("tgr128", tgr128_tv_template, TGR128_TEST_VECTORS); + break; + #ifdef CONFIG_CRYPTO_HMAC case 100: test_hmac("md5", hmac_md5_tv_template, HMAC_MD5_TEST_VECTORS);