]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - crypto/testmgr.c
crypto: chacha20-generic - add XChaCha20 support
[linux.git] / crypto / testmgr.c
index b1f79c6bf40965b938b69bd877182788556d6f9e..11f5c8b0f4dcc41a88c9330bfff5a412ac3a06f0 100644 (file)
@@ -2690,6 +2690,13 @@ static const struct alg_test_desc alg_test_descs[] = {
                                .dec = __VECS(aes_ccm_dec_tv_template)
                        }
                }
+       }, {
+               .alg = "cfb(aes)",
+               .test = alg_test_skcipher,
+               .fips_allowed = 1,
+               .suite = {
+                       .cipher = __VECS(aes_cfb_tv_template)
+               },
        }, {
                .alg = "chacha20",
                .test = alg_test_skcipher,
@@ -2805,6 +2812,7 @@ static const struct alg_test_desc alg_test_descs[] = {
        }, {
                .alg = "cts(cbc(aes))",
                .test = alg_test_skcipher,
+               .fips_allowed = 1,
                .suite = {
                        .cipher = __VECS(cts_mode_tv_template)
                }
@@ -3184,6 +3192,18 @@ static const struct alg_test_desc alg_test_descs[] = {
                .suite = {
                        .hash = __VECS(hmac_sha512_tv_template)
                }
+       }, {
+               .alg = "hmac(streebog256)",
+               .test = alg_test_hash,
+               .suite = {
+                       .hash = __VECS(hmac_streebog256_tv_template)
+               }
+       }, {
+               .alg = "hmac(streebog512)",
+               .test = alg_test_hash,
+               .suite = {
+                       .hash = __VECS(hmac_streebog512_tv_template)
+               }
        }, {
                .alg = "jitterentropy_rng",
                .fips_allowed = 1,
@@ -3496,6 +3516,18 @@ static const struct alg_test_desc alg_test_descs[] = {
                .suite = {
                        .hash = __VECS(sm3_tv_template)
                }
+       }, {
+               .alg = "streebog256",
+               .test = alg_test_hash,
+               .suite = {
+                       .hash = __VECS(streebog256_tv_template)
+               }
+       }, {
+               .alg = "streebog512",
+               .test = alg_test_hash,
+               .suite = {
+                       .hash = __VECS(streebog512_tv_template)
+               }
        }, {
                .alg = "tgr128",
                .test = alg_test_hash,
@@ -3544,6 +3576,12 @@ static const struct alg_test_desc alg_test_descs[] = {
                .suite = {
                        .hash = __VECS(aes_xcbc128_tv_template)
                }
+       }, {
+               .alg = "xchacha20",
+               .test = alg_test_skcipher,
+               .suite = {
+                       .cipher = __VECS(xchacha20_tv_template)
+               },
        }, {
                .alg = "xts(aes)",
                .test = alg_test_skcipher,