aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 77955507f6f1..dc3cf3535ef0 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -1809,6 +1809,22 @@ static const struct alg_test_desc alg_test_descs[] = {
1809 } 1809 }
1810 } 1810 }
1811 }, { 1811 }, {
1812 .alg = "authenc(hmac(md5),ecb(cipher_null))",
1813 .test = alg_test_aead,
1814 .fips_allowed = 1,
1815 .suite = {
1816 .aead = {
1817 .enc = {
1818 .vecs = hmac_md5_ecb_cipher_null_enc_tv_template,
1819 .count = HMAC_MD5_ECB_CIPHER_NULL_ENC_TEST_VECTORS
1820 },
1821 .dec = {
1822 .vecs = hmac_md5_ecb_cipher_null_dec_tv_template,
1823 .count = HMAC_MD5_ECB_CIPHER_NULL_DEC_TEST_VECTORS
1824 }
1825 }
1826 }
1827 }, {
1812 .alg = "authenc(hmac(sha1),cbc(aes))", 1828 .alg = "authenc(hmac(sha1),cbc(aes))",
1813 .test = alg_test_aead, 1829 .test = alg_test_aead,
1814 .fips_allowed = 1, 1830 .fips_allowed = 1,
@@ -1821,6 +1837,22 @@ static const struct alg_test_desc alg_test_descs[] = {
1821 } 1837 }
1822 } 1838 }
1823 }, { 1839 }, {
1840 .alg = "authenc(hmac(sha1),ecb(cipher_null))",
1841 .test = alg_test_aead,
1842 .fips_allowed = 1,
1843 .suite = {
1844 .aead = {
1845 .enc = {
1846 .vecs = hmac_sha1_ecb_cipher_null_enc_tv_template,
1847 .count = HMAC_SHA1_ECB_CIPHER_NULL_ENC_TEST_VECTORS
1848 },
1849 .dec = {
1850 .vecs = hmac_sha1_ecb_cipher_null_dec_tv_template,
1851 .count = HMAC_SHA1_ECB_CIPHER_NULL_DEC_TEST_VECTORS
1852 }
1853 }
1854 }
1855 }, {
1824 .alg = "authenc(hmac(sha256),cbc(aes))", 1856 .alg = "authenc(hmac(sha256),cbc(aes))",
1825 .test = alg_test_aead, 1857 .test = alg_test_aead,
1826 .fips_allowed = 1, 1858 .fips_allowed = 1,