Lines Matching defs:alg

63 int alg_test(const char *driver, const char *alg, u32 type, u32 mask)
140 const char *alg;
144 int fips_allowed; /* set if alg is allowed in fips mode */
1108 pr_err("alg: generic driver name for \"%s\" would be too long\n",
1146 pr_err("alg: %s: %s test failed (wrong result) on test vector %s, cfg=\"%s\"\n",
1151 pr_err("alg: %s: %s overran result buffer on test vector %s, cfg=\"%s\"\n",
1163 pr_err("alg: shash: %s %s() failed with err %d on test vector %s, cfg=\"%s\"\n",
1198 pr_err("alg: shash: %s setkey failed on test vector %s; expected_error=%d, actual_error=%d, flags=%#x\n",
1204 pr_err("alg: shash: %s setkey unexpectedly succeeded on test vector %s; expected_error=%d\n",
1213 pr_err("alg: shash: %s: error preparing scatterlist for test vector %s, cfg=\"%s\"\n",
1237 pr_err("alg: shash: %s digest() failed on test vector %s; expected_error=%d, actual_error=%d, cfg=\"%s\"\n",
1243 pr_err("alg: shash: %s digest() unexpectedly succeeded on test vector %s; expected_error=%d, cfg=\"%s\"\n",
1296 pr_err("alg: shash: %s export() overran state buffer on test vector %s, cfg=\"%s\"\n",
1345 pr_err("alg: ahash: %s %s() failed with err %d on test vector %s, cfg=\"%s\"\n",
1350 pr_err("alg: ahash: %s %s() used result buffer on test vector %s, cfg=\"%s\"\n",
1386 pr_err("alg: ahash: %s setkey failed on test vector %s; expected_error=%d, actual_error=%d, flags=%#x\n",
1392 pr_err("alg: ahash: %s setkey unexpectedly succeeded on test vector %s; expected_error=%d\n",
1401 pr_err("alg: ahash: %s: error preparing scatterlist for test vector %s, cfg=\"%s\"\n",
1421 pr_err("alg: ahash: %s digest() failed on test vector %s; expected_error=%d, actual_error=%d, cfg=\"%s\"\n",
1427 pr_err("alg: ahash: %s digest() unexpectedly succeeded on test vector %s; expected_error=%d, cfg=\"%s\"\n",
1476 pr_err("alg: ahash: %s export() overran state buffer on test vector %s, cfg=\"%s\"\n",
1505 pr_err("alg: ahash: %s final() failed with err %d on test vector %s, cfg=\"%s\"\n",
1513 pr_err("alg: ahash: %s finup() failed with err %d on test vector %s, cfg=\"%s\"\n",
1676 pr_warn("alg: hash: skipping comparison tests for %s because %s is unavailable\n",
1680 pr_err("alg: hash: error allocating %s (generic impl of %s): %d\n",
1702 pr_err("alg: hash: digestsize for %s (%u) doesn't match generic impl (%u)\n",
1710 pr_err("alg: hash: blocksize for %s (%u) doesn't match generic impl (%u)\n",
1780 pr_err("alg: hash: failed to allocate shash transform for %s: %ld\n",
1819 pr_err("alg: hash: failed to allocate transform for %s: %ld\n",
1826 pr_err("alg: hash: failed to allocate request for %s\n",
1842 pr_err("alg: hash: failed to allocate test buffers for %s\n",
1855 pr_err("alg: hash: failed to allocate hash state buffer for %s\n",
1904 pr_err("alg: hash: test vectors for %s out of order, "
1905 "unkeyed ones must come first\n", desc->alg);
1956 pr_err("alg: aead: %s setkey failed on test vector %s; expected_error=%d, actual_error=%d, flags=%#x\n",
1962 pr_err("alg: aead: %s setkey unexpectedly succeeded on test vector %s; expected_error=%d\n",
1970 pr_err("alg: aead: %s setauthsize failed on test vector %s; expected_error=%d, actual_error=%d\n",
1975 pr_err("alg: aead: %s setauthsize unexpectedly succeeded on test vector %s; expected_error=%d\n",
2003 pr_err("alg: aead: %s %s: error preparing scatterlists for test vector %s, cfg=\"%s\"\n",
2031 pr_err("alg: aead: %s %s corrupted request struct on test vector %s, cfg=\"%s\"\n",
2034 pr_err("alg: aead: changed 'req->cryptlen'\n");
2036 pr_err("alg: aead: changed 'req->assoclen'\n");
2038 pr_err("alg: aead: changed 'req->iv'\n");
2040 pr_err("alg: aead: changed 'req->src'\n");
2042 pr_err("alg: aead: changed 'req->dst'\n");
2044 pr_err("alg: aead: changed 'req->base.tfm'\n");
2046 pr_err("alg: aead: changed 'req->base.complete'\n");
2048 pr_err("alg: aead: changed 'req->base.flags'\n");
2050 pr_err("alg: aead: changed 'req->base.data'\n");
2054 pr_err("alg: aead: %s %s corrupted src sgl on test vector %s, cfg=\"%s\"\n",
2060 pr_err("alg: aead: %s %s corrupted dst sgl on test vector %s, cfg=\"%s\"\n",
2079 pr_err("alg: aead: %s %s failed on test vector %s; expected_error=%s, actual_error=%d, cfg=\"%s\"\n",
2084 pr_err("alg: aead: %s %s unexpectedly succeeded on test vector %s; expected_error=%s, cfg=\"%s\"\n",
2096 pr_err("alg: aead: %s %s overran dst buffer on test vector %s, cfg=\"%s\"\n",
2101 pr_err("alg: aead: %s %s test failed (wrong result) on test vector %s, cfg=\"%s\"\n",
2402 pr_warn("alg: aead: skipping comparison tests for %s because %s is unavailable\n",
2406 pr_err("alg: aead: error allocating %s (generic impl of %s): %d\n",
2421 pr_err("alg: aead: maxauthsize for %s (%u) doesn't match generic impl (%u)\n",
2429 pr_err("alg: aead: ivsize for %s (%u) doesn't match generic impl (%u)\n",
2437 pr_err("alg: aead: blocksize for %s (%u) doesn't match generic impl (%u)\n",
2568 pr_err("alg: aead: empty test suite for %s\n", driver);
2574 pr_err("alg: aead: failed to allocate transform for %s: %ld\n",
2581 pr_err("alg: aead: failed to allocate request for %s\n",
2589 pr_err("alg: aead: failed to allocate test buffers for %s\n",
2658 pr_err("alg: cipher: %s setkey failed on test vector %u; expected_error=%d, actual_error=%d, flags=%#x\n",
2664 pr_err("alg: cipher: %s setkey unexpectedly succeeded on test vector %u; expected_error=%d\n",
2682 printk(KERN_ERR "alg: cipher: Test %d failed "
2729 pr_err("alg: skcipher: %s setkey failed on test vector %s; expected_error=%d, actual_error=%d, flags=%#x\n",
2735 pr_err("alg: skcipher: %s setkey unexpectedly succeeded on test vector %s; expected_error=%d\n",
2752 pr_err("alg: skcipher: %s has ivsize=0 but test vector %s generates IV!\n",
2765 pr_err("alg: skcipher: %s %s: error preparing scatterlists for test vector %s, cfg=\"%s\"\n",
2791 pr_err("alg: skcipher: %s %s corrupted request struct on test vector %s, cfg=\"%s\"\n",
2794 pr_err("alg: skcipher: changed 'req->cryptlen'\n");
2796 pr_err("alg: skcipher: changed 'req->iv'\n");
2798 pr_err("alg: skcipher: changed 'req->src'\n");
2800 pr_err("alg: skcipher: changed 'req->dst'\n");
2802 pr_err("alg: skcipher: changed 'req->base.tfm'\n");
2804 pr_err("alg: skcipher: changed 'req->base.complete'\n");
2806 pr_err("alg: skcipher: changed 'req->base.flags'\n");
2808 pr_err("alg: skcipher: changed 'req->base.data'\n");
2812 pr_err("alg: skcipher: %s %s corrupted src sgl on test vector %s, cfg=\"%s\"\n",
2818 pr_err("alg: skcipher: %s %s corrupted dst sgl on test vector %s, cfg=\"%s\"\n",
2827 pr_err("alg: skcipher: %s %s failed on test vector %s; expected_error=%d, actual_error=%d, cfg=\"%s\"\n",
2832 pr_err("alg: skcipher: %s %s unexpectedly succeeded on test vector %s; expected_error=%d, cfg=\"%s\"\n",
2841 pr_err("alg: skcipher: %s %s overran dst buffer on test vector %s, cfg=\"%s\"\n",
2846 pr_err("alg: skcipher: %s %s test failed (wrong result) on test vector %s, cfg=\"%s\"\n",
2853 pr_err("alg: skcipher: %s %s test failed (wrong output IV) on test vector %s, cfg=\"%s\"\n",
3006 pr_warn("alg: skcipher: skipping comparison tests for %s because %s is unavailable\n",
3010 pr_err("alg: skcipher: error allocating %s (generic impl of %s): %d\n",
3031 pr_err("alg: skcipher: min keysize for %s (%u) doesn't match generic impl (%u)\n",
3039 pr_err("alg: skcipher: max keysize for %s (%u) doesn't match generic impl (%u)\n",
3047 pr_err("alg: skcipher: ivsize for %s (%u) doesn't match generic impl (%u)\n",
3054 pr_err("alg: skcipher: blocksize for %s (%u) doesn't match generic impl (%u)\n",
3139 pr_err("alg: skcipher: empty test suite for %s\n", driver);
3145 pr_err("alg: skcipher: failed to allocate transform for %s: %ld\n",
3152 pr_err("alg: skcipher: failed to allocate request for %s\n",
3160 pr_err("alg: skcipher: failed to allocate test buffers for %s\n",
3214 printk(KERN_ERR "alg: comp: compression failed "
3225 pr_err("alg: comp: compression failed: decompress: on test %d for %s failed: ret=%d\n",
3231 printk(KERN_ERR "alg: comp: Compression test %d "
3240 pr_err("alg: comp: compression failed: output differs: on test %d for %s\n",
3258 printk(KERN_ERR "alg: comp: decompression failed "
3265 printk(KERN_ERR "alg: comp: Decompression test %d "
3273 printk(KERN_ERR "alg: comp: Decompression test %d "
3330 pr_err("alg: acomp: request alloc failed for %s\n",
3343 pr_err("alg: acomp: compression failed on test %d for %s: ret=%d\n",
3359 pr_err("alg: acomp: compression failed on test %d for %s: ret=%d\n",
3367 pr_err("alg: acomp: Compression test %d failed for %s: output len = %d\n",
3376 pr_err("alg: acomp: Compression test %d failed for %s\n",
3407 pr_err("alg: acomp: request alloc failed for %s\n",
3420 pr_err("alg: acomp: decompression failed on test %d for %s: ret=%d\n",
3428 pr_err("alg: acomp: Decompression test %d failed for %s: output len = %d\n",
3437 pr_err("alg: acomp: Decompression test %d failed for %s\n",
3471 printk(KERN_ERR "alg: cprng: Failed to allocate seed space "
3487 printk(KERN_ERR "alg: cprng: Failed to reset rng "
3496 printk(KERN_ERR "alg: cprng: Failed to obtain "
3507 printk(KERN_ERR "alg: cprng: Test %d failed for %s\n",
3529 printk(KERN_ERR "alg: cipher: Failed to load transform for "
3553 pr_err("alg: acomp: Failed to load transform for %s: %ld\n",
3565 pr_err("alg: comp: Failed to load transform for %s: %ld\n",
3601 printk(KERN_ERR "alg: crc32c: Failed to load transform for %s: "
3615 printk(KERN_ERR "alg: crc32c: Operation failed for "
3621 pr_err("alg: crc32c: Test failed for %s: %u\n",
3640 printk(KERN_ERR "alg: cprng: Failed to load transform for %s: "
3667 printk(KERN_ERR "alg: drbg: could not allocate DRNG handle for "
3678 printk(KERN_ERR "alg: drbg: Failed to reset rng\n");
3692 printk(KERN_ERR "alg: drbg: could not obtain random data for "
3707 printk(KERN_ERR "alg: drbg: could not obtain random data for "
3736 printk(KERN_ERR "alg: drbg: Test %d failed for %s\n",
3747 const char *alg)
3787 pr_err("alg: %s: Party A: generate public key test failed. err %d\n",
3788 alg, err);
3803 pr_err("alg: %s: Party A: generate public key test failed. Invalid output\n",
3804 alg);
3825 pr_err("alg: %s: Party A: compute shared secret test failed. err %d\n",
3826 alg, err);
3856 pr_err("alg: %s: Party B: compute shared secret failed. err %d\n",
3857 alg, err);
3872 pr_err("alg: %s: compute shared secret test failed. Invalid output\n",
3873 alg);
3888 static int test_kpp(struct crypto_kpp *tfm, const char *alg,
3894 ret = do_test_kpp(tfm, vecs++, alg);
3896 pr_err("alg: %s: test failed on vector %d, err=%d\n",
3897 alg, i + 1, ret);
3912 pr_err("alg: kpp: Failed to load tfm for %s: %ld\n",
3917 err = test_kpp(tfm, desc->alg, desc->suite.kpp.vecs,
4027 pr_err("alg: akcipher: %s test failed. err %d\n", op, err);
4032 pr_err("alg: akcipher: %s test failed. Invalid output len\n",
4039 pr_err("alg: akcipher: %s test failed. Invalid output\n",
4083 pr_err("alg: akcipher: %s test failed. err %d\n", op, err);
4088 pr_err("alg: akcipher: %s test failed. Invalid output len %u\n",
4096 pr_err("alg: akcipher: %s test failed. Invalid output\n", op);
4112 static int test_akcipher(struct crypto_akcipher *tfm, const char *alg,
4125 pr_err("alg: akcipher: test %d failed for %s, err=%d\n",
4140 pr_err("alg: akcipher: Failed to load tfm for %s: %ld\n",
4145 err = test_akcipher(tfm, desc->alg, desc->suite.akcipher.vecs,
4164 .alg = "adiantum(xchacha12,aes)",
4171 .alg = "adiantum(xchacha20,aes)",
4178 .alg = "aegis128",
4184 .alg = "ansi_cprng",
4190 .alg = "authenc(hmac(md5),ecb(cipher_null))",
4196 .alg = "authenc(hmac(sha1),cbc(aes))",
4203 .alg = "authenc(hmac(sha1),cbc(des))",
4209 .alg = "authenc(hmac(sha1),cbc(des3_ede))",
4216 .alg = "authenc(hmac(sha1),ctr(aes))",
4220 .alg = "authenc(hmac(sha1),ecb(cipher_null))",
4226 .alg = "authenc(hmac(sha1),rfc3686(ctr(aes)))",
4230 .alg = "authenc(hmac(sha224),cbc(des))",
4236 .alg = "authenc(hmac(sha224),cbc(des3_ede))",
4243 .alg = "authenc(hmac(sha256),cbc(aes))",
4250 .alg = "authenc(hmac(sha256),cbc(des))",
4256 .alg = "authenc(hmac(sha256),cbc(des3_ede))",
4263 .alg = "authenc(hmac(sha256),ctr(aes))",
4267 .alg = "authenc(hmac(sha256),rfc3686(ctr(aes)))",
4271 .alg = "authenc(hmac(sha384),cbc(des))",
4277 .alg = "authenc(hmac(sha384),cbc(des3_ede))",
4284 .alg = "authenc(hmac(sha384),ctr(aes))",
4288 .alg = "authenc(hmac(sha384),rfc3686(ctr(aes)))",
4292 .alg = "authenc(hmac(sha512),cbc(aes))",
4299 .alg = "authenc(hmac(sha512),cbc(des))",
4305 .alg = "authenc(hmac(sha512),cbc(des3_ede))",
4312 .alg = "authenc(hmac(sha512),ctr(aes))",
4316 .alg = "authenc(hmac(sha512),rfc3686(ctr(aes)))",
4320 .alg = "blake2b-160",
4327 .alg = "blake2b-256",
4334 .alg = "blake2b-384",
4341 .alg = "blake2b-512",
4348 .alg = "blake2s-128",
4354 .alg = "blake2s-160",
4360 .alg = "blake2s-224",
4366 .alg = "blake2s-256",
4372 .alg = "cbc(aes)",
4379 .alg = "cbc(anubis)",
4385 .alg = "cbc(blowfish)",
4391 .alg = "cbc(camellia)",
4397 .alg = "cbc(cast5)",
4403 .alg = "cbc(cast6)",
4409 .alg = "cbc(des)",
4415 .alg = "cbc(des3_ede)",
4425 .alg = "cbc(paes)",
4432 .alg = "cbc(psm4)",
4435 .alg = "cbc(serpent)",
4441 .alg = "cbc(sm4)",
4447 .alg = "cbc(twofish)",
4454 .alg = "cbc-paes-s390",
4462 .alg = "cbcmac(aes)",
4469 .alg = "ccm(aes)",
4480 .alg = "cfb(aes)",
4487 .alg = "cfb(sm4)",
4493 .alg = "chacha20",
4499 .alg = "cmac(aes)",
4506 .alg = "cmac(des3_ede)",
4513 .alg = "compress_null",
4516 .alg = "crc32",
4523 .alg = "crc32c",
4530 .alg = "crct10dif",
4537 .alg = "ctr(aes)",
4544 .alg = "ctr(blowfish)",
4550 .alg = "ctr(camellia)",
4556 .alg = "ctr(cast5)",
4562 .alg = "ctr(cast6)",
4568 .alg = "ctr(des)",
4574 .alg = "ctr(des3_ede)",
4584 .alg = "ctr(paes)",
4592 .alg = "ctr(psm4)",
4595 .alg = "ctr(serpent)",
4601 .alg = "ctr(sm4)",
4607 .alg = "ctr(twofish)",
4614 .alg = "ctr-paes-s390",
4622 .alg = "cts(cbc(aes))",
4632 .alg = "cts(cbc(paes))",
4636 .alg = "curve25519",
4642 .alg = "deflate",
4652 .alg = "dh",
4659 .alg = "digest_null",
4662 .alg = "drbg_nopr_ctr_aes128",
4669 .alg = "drbg_nopr_ctr_aes192",
4676 .alg = "drbg_nopr_ctr_aes256",
4687 .alg = "drbg_nopr_hmac_sha1",
4691 .alg = "drbg_nopr_hmac_sha256",
4699 .alg = "drbg_nopr_hmac_sha384",
4703 .alg = "drbg_nopr_hmac_sha512",
4707 .alg = "drbg_nopr_sha1",
4711 .alg = "drbg_nopr_sha256",
4719 .alg = "drbg_nopr_sha384",
4723 .alg = "drbg_nopr_sha512",
4727 .alg = "drbg_pr_ctr_aes128",
4735 .alg = "drbg_pr_ctr_aes192",
4739 .alg = "drbg_pr_ctr_aes256",
4743 .alg = "drbg_pr_hmac_sha1",
4747 .alg = "drbg_pr_hmac_sha256",
4755 .alg = "drbg_pr_hmac_sha384",
4759 .alg = "drbg_pr_hmac_sha512",
4763 .alg = "drbg_pr_sha1",
4767 .alg = "drbg_pr_sha256",
4775 .alg = "drbg_pr_sha384",
4779 .alg = "drbg_pr_sha512",
4783 .alg = "ecb(aes)",
4790 .alg = "ecb(anubis)",
4796 .alg = "ecb(arc4)",
4803 .alg = "ecb(blowfish)",
4809 .alg = "ecb(camellia)",
4815 .alg = "ecb(cast5)",
4821 .alg = "ecb(cast6)",
4827 .alg = "ecb(cipher_null)",
4831 .alg = "ecb(des)",
4837 .alg = "ecb(des3_ede)",
4844 .alg = "ecb(fcrypt)",
4853 .alg = "ecb(khazad)",
4862 .alg = "ecb(paes)",
4866 .alg = "ecb(seed)",
4872 .alg = "ecb(serpent)",
4878 .alg = "ecb(sm4)",
4884 .alg = "ecb(tea)",
4890 .alg = "ecb(tnepres)",
4896 .alg = "ecb(twofish)",
4902 .alg = "ecb(xeta)",
4908 .alg = "ecb(xtea)",
4915 .alg = "ecb-paes-s390",
4923 .alg = "ecdh",
4930 .alg = "ecdsa-nist-p192",
4936 .alg = "ecdsa-nist-p256",
4942 .alg = "ecdsa-nist-p384",
4948 .alg = "ecrdsa",
4954 .alg = "essiv(authenc(hmac(sha256),cbc(aes)),sha256)",
4961 .alg = "essiv(cbc(aes),sha256)",
4968 .alg = "gcm(aes)",
4976 .alg = "ghash",
4983 .alg = "hmac(md5)",
4989 .alg = "hmac(rmd128)",
4995 .alg = "hmac(rmd160)",
5001 .alg = "hmac(sha1)",
5008 .alg = "hmac(sha224)",
5015 .alg = "hmac(sha256)",
5022 .alg = "hmac(sha3-224)",
5029 .alg = "hmac(sha3-256)",
5036 .alg = "hmac(sha3-384)",
5043 .alg = "hmac(sha3-512)",
5050 .alg = "hmac(sha384)",
5057 .alg = "hmac(sha512)",
5064 .alg = "hmac(sm3)",
5070 .alg = "hmac(streebog256)",
5076 .alg = "hmac(streebog512)",
5082 .alg = "jitterentropy_rng",
5086 .alg = "kw(aes)",
5093 .alg = "lrw(aes)",
5100 .alg = "lrw(camellia)",
5107 .alg = "lrw(cast6)",
5114 .alg = "lrw(serpent)",
5121 .alg = "lrw(twofish)",
5128 .alg = "lz4",
5138 .alg = "lz4hc",
5148 .alg = "lzo",
5158 .alg = "lzo-rle",
5168 .alg = "md4",
5174 .alg = "md5",
5180 .alg = "michael_mic",
5186 .alg = "nhpoly1305",
5192 .alg = "ofb(aes)",
5202 .alg = "ofb(paes)",
5206 .alg = "ofb(sm4)",
5212 .alg = "pcbc(fcrypt)",
5218 .alg = "pkcs1pad(rsa,sha224)",
5222 .alg = "pkcs1pad(rsa,sha256)",
5229 .alg = "pkcs1pad(rsa,sha384)",
5233 .alg = "pkcs1pad(rsa,sha512)",
5237 .alg = "poly1305",
5243 .alg = "rfc3686(ctr(aes))",
5250 .alg = "rfc3686(ctr(sm4))",
5256 .alg = "rfc4106(gcm(aes))",
5268 .alg = "rfc4309(ccm(aes))",
5280 .alg = "rfc4543(gcm(aes))",
5291 .alg = "rfc7539(chacha20,poly1305)",
5297 .alg = "rfc7539esp(chacha20,poly1305)",
5307 .alg = "rmd128",
5313 .alg = "rmd160",
5319 .alg = "rmd256",
5325 .alg = "rmd320",
5331 .alg = "rsa",
5338 .alg = "salsa20",
5344 .alg = "sha1",
5351 .alg = "sha224",
5358 .alg = "sha256",
5365 .alg = "sha3-224",
5372 .alg = "sha3-256",
5379 .alg = "sha3-384",
5386 .alg = "sha3-512",
5393 .alg = "sha384",
5400 .alg = "sha512",
5407 .alg = "sm2",
5413 .alg = "sm3",
5419 .alg = "streebog256",
5425 .alg = "streebog512",
5431 .alg = "tgr128",
5437 .alg = "tgr160",
5443 .alg = "tgr192",
5449 .alg = "vmac64(aes)",
5455 .alg = "wp256",
5461 .alg = "wp384",
5467 .alg = "wp512",
5473 .alg = "xcbc(aes)",
5479 .alg = "xchacha12",
5485 .alg = "xchacha20",
5491 .alg = "xts(aes)",
5499 .alg = "xts(camellia)",
5506 .alg = "xts(cast6)",
5516 .alg = "xts(paes)",
5520 .alg = "xts(serpent)",
5527 .alg = "xts(twofish)",
5535 .alg = "xts-paes-s390",
5543 .alg = "xts4096(paes)",
5547 .alg = "xts512(paes)",
5551 .alg = "xxhash64",
5558 .alg = "zlib-deflate",
5568 .alg = "zstd",
5585 int diff = strcmp(alg_test_descs[i - 1].alg,
5586 alg_test_descs[i].alg);
5590 alg_test_descs[i - 1].alg,
5591 alg_test_descs[i].alg);
5596 alg_test_descs[i].alg);
5620 pr_warn("alg: extra crypto tests enabled. This is intended for developer use only.\n");
5624 static int alg_find_test(const char *alg)
5631 int diff = strcmp(alg_test_descs[i].alg, alg);
5649 int alg_test(const char *driver, const char *alg, u32 type, u32 mask)
5656 printk_once(KERN_INFO "alg: self-tests disabled\n");
5665 if (snprintf(nalg, sizeof(nalg), "ecb(%s)", alg) >=
5680 i = alg_find_test(alg);
5700 panic("alg: self-tests for %s (%s) failed in %s mode!\n",
5701 driver, alg, fips_enabled ? "fips" : "panic_on_fail");
5705 pr_info("alg: self-tests for %s (%s) passed\n", driver, alg);
5710 printk(KERN_INFO "alg: No test for %s (%s)\n", alg, driver);