Home
last modified time | relevance | path

Searched refs:cra_name (Results 1 – 25 of 80) sorted by relevance

1234

/crypto/
Dcrypto_null.c102 .cra_name = "digest_null",
110 .base.cra_name = "ecb(cipher_null)",
125 .cra_name = "cipher_null",
138 .cra_name = "compress_null",
Dessiv.c402 static bool parse_cipher_name(char *essiv_cipher_name, const char *cra_name) in parse_cipher_name() argument
408 p = strrchr(cra_name, '('); in parse_cipher_name()
530 if (!strstarts(block_base->cra_name, "authenc(")) { in essiv_create()
542 if (!parse_cipher_name(ictx->essiv_cipher_name, block_base->cra_name)) { in essiv_create()
562 block_base->cra_name, hash_alg->base.cra_name); in essiv_create()
574 if (snprintf(base->cra_name, CRYPTO_MAX_ALG_NAME, in essiv_create()
575 "essiv(%s,%s)", block_base->cra_name, in essiv_create()
576 hash_alg->base.cra_name) >= CRYPTO_MAX_ALG_NAME) in essiv_create()
Dadiantum.c484 if (strcmp(streamcipher_alg->base.cra_name, "xchacha12") != 0 && in adiantum_supported_algorithms()
485 strcmp(streamcipher_alg->base.cra_name, "xchacha20") != 0) in adiantum_supported_algorithms()
494 if (strcmp(hash_alg->base.cra_name, "nhpoly1305") != 0) in adiantum_supported_algorithms()
577 streamcipher_alg->base.cra_name, in adiantum_create()
578 blockcipher_alg->cra_name, hash_alg->base.cra_name); in adiantum_create()
586 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in adiantum_create()
587 "adiantum(%s,%s)", streamcipher_alg->base.cra_name, in adiantum_create()
588 blockcipher_alg->cra_name) >= CRYPTO_MAX_ALG_NAME) in adiantum_create()
Dsha256_generic.c77 .cra_name = "sha256",
91 .cra_name = "sha224",
Dsimd.c170 if (snprintf(alg->base.cra_name, CRYPTO_MAX_ALG_NAME, "%s", algname) >= in simd_skcipher_create_compat()
247 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_skciphers_compat()
249 algname = algs[i].base.cra_name + 2; in simd_register_skciphers_compat()
420 if (snprintf(alg->base.cra_name, CRYPTO_MAX_ALG_NAME, "%s", algname) >= in simd_aead_create_compat()
497 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_aeads_compat()
499 algname = algs[i].base.cra_name + 2; in simd_register_aeads_compat()
Ddrbg.c122 .cra_name = "ctr_aes128",
128 .cra_name = "ctr_aes192",
134 .cra_name = "ctr_aes256",
143 .cra_name = "sha1",
149 .cra_name = "sha384",
155 .cra_name = "sha512",
161 .cra_name = "sha256",
170 .cra_name = "hmac_sha1",
176 .cra_name = "hmac_sha384",
182 .cra_name = "hmac_sha512",
[all …]
Dchacha_generic.c143 .base.cra_name = "chacha20",
158 .base.cra_name = "xchacha20",
173 .base.cra_name = "xchacha12",
Dsha3_generic.c246 .base.cra_name = "sha3-224",
256 .base.cra_name = "sha3-256",
266 .base.cra_name = "sha3-384",
276 .base.cra_name = "sha3-512",
Dalgapi.c35 if (!alg->cra_name[0] || !alg->cra_driver_name[0]) in crypto_check_alg()
219 if (!strcmp(q->cra_driver_name, alg->cra_name) || in __crypto_register_alg()
220 !strcmp(q->cra_name, alg->cra_driver_name)) in __crypto_register_alg()
224 larval = crypto_larval_alloc(alg->cra_name, in __crypto_register_alg()
298 if (strcmp(alg->cra_name, q->cra_name) && in crypto_alg_tested()
299 strcmp(alg->cra_driver_name, q->cra_name)) in crypto_alg_tested()
313 if (strcmp(alg->cra_name, q->cra_name)) in crypto_alg_tested()
449 algs[i].cra_driver_name, algs[i].cra_name, ret); in crypto_unregister_algs()
847 if (snprintf(inst->alg.cra_name, CRYPTO_MAX_ALG_NAME, "%s(%s)", name, in crypto_inst_setname()
848 alg->cra_name) >= CRYPTO_MAX_ALG_NAME) in crypto_inst_setname()
D842.c96 .cra_name = "842",
115 .cra_name = "842",
Ddes_generic.c92 .cra_name = "des",
106 .cra_name = "des3_ede",
Dlz4.c108 .cra_name = "lz4",
126 .cra_name = "lz4",
Dlz4hc.c109 .cra_name = "lz4hc",
127 .cra_name = "lz4hc",
Dlzo-rle.c111 .cra_name = "lzo-rle",
129 .cra_name = "lzo-rle",
Dlzo.c111 .cra_name = "lzo",
129 .cra_name = "lzo",
Ddeflate.c277 .cra_name = "deflate",
295 .cra_name = "deflate",
305 .cra_name = "zlib-deflate",
Dtea.c218 .cra_name = "tea",
232 .cra_name = "xtea",
246 .cra_name = "xeta",
Dtgr192.c633 .cra_name = "tgr192",
645 .cra_name = "tgr160",
657 .cra_name = "tgr128",
Dccm.c483 if (strncmp(mac->base.cra_name, "cbcmac(", 7) != 0 || in crypto_ccm_create_common()
509 if (strncmp(ctr->base.cra_name, "ctr(", 4) != 0 || in crypto_ccm_create_common()
515 if (strcmp(ctr->base.cra_name + 4, mac->base.cra_name + 7) != 0) in crypto_ccm_create_common()
519 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_ccm_create_common()
520 "ccm(%s", ctr->base.cra_name + 4) >= CRYPTO_MAX_ALG_NAME) in crypto_ccm_create_common()
789 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4309_create()
790 "rfc4309(%s)", alg->base.cra_name) >= in crypto_rfc4309_create()
Dzstd.c208 .cra_name = "zstd",
226 .cra_name = "zstd",
Darc4.c47 .base.cra_name = "ecb(arc4)",
Dalgboss.c94 const char *name = larval->alg.cra_name; in cryptomgr_schedule_probe()
241 memcpy(param->alg, alg->cra_name, sizeof(param->alg)); in cryptomgr_schedule_test()
Dwp512.c1129 .cra_name = "wp512",
1141 .cra_name = "wp384",
1153 .cra_name = "wp256",
Dgcm.c624 if (strcmp(ghash->base.cra_name, "ghash") != 0 || in crypto_gcm_create_common()
639 if (strncmp(ctr->base.cra_name, "ctr(", 4) != 0 || in crypto_gcm_create_common()
645 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_gcm_create_common()
646 "gcm(%s", ctr->base.cra_name + 4) >= CRYPTO_MAX_ALG_NAME) in crypto_gcm_create_common()
911 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4106_create()
912 "rfc4106(%s)", alg->base.cra_name) >= in crypto_rfc4106_create()
1149 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_rfc4543_create()
1150 "rfc4543(%s)", alg->base.cra_name) >= in crypto_rfc4543_create()
Daes_ti.c53 .cra_name = "aes",

1234