Searched refs:mac_name (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/crypto/ |
D | ccm.c | 449 const char *mac_name) in crypto_ccm_create_common() argument 468 mac_name, 0, mask | CRYPTO_ALG_ASYNC); in crypto_ccm_create_common() 535 char mac_name[CRYPTO_MAX_ALG_NAME]; in crypto_ccm_create() local 545 if (snprintf(mac_name, CRYPTO_MAX_ALG_NAME, "cbcmac(%s)", in crypto_ccm_create() 549 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name); in crypto_ccm_create() 556 const char *mac_name; in crypto_ccm_base_create() local 562 mac_name = crypto_attr_alg_name(tb[2]); in crypto_ccm_base_create() 563 if (IS_ERR(mac_name)) in crypto_ccm_base_create() 564 return PTR_ERR(mac_name); in crypto_ccm_base_create() 566 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name); in crypto_ccm_base_create()
|
/Linux-v6.1/drivers/crypto/ccree/ |
D | cc_hash.c | 1561 char mac_name[CRYPTO_MAX_ALG_NAME]; member 1584 .mac_name = "hmac(sha1)", 1612 .mac_name = "hmac(sha256)", 1639 .mac_name = "hmac(sha224)", 1666 .mac_name = "hmac(sha384)", 1693 .mac_name = "hmac(sha512)", 1720 .mac_name = "hmac(md5)", 1770 .mac_name = "xcbc(aes)", 1795 .mac_name = "cmac(aes)", 1838 template->mac_name); in cc_alloc_hash_alg()
|