Home
last modified time | relevance | path

Searched refs:hmac_name (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/fs/ubifs/
Dauth.c261 char hmac_name[CRYPTO_MAX_ALG_NAME]; in ubifs_init_authentication() local
276 snprintf(hmac_name, CRYPTO_MAX_ALG_NAME, "hmac(%s)", in ubifs_init_authentication()
318 c->hmac_tfm = crypto_alloc_shash(hmac_name, 0, 0); in ubifs_init_authentication()
321 ubifs_err(c, "Can not allocate %s: %d", hmac_name, err); in ubifs_init_authentication()
328 hmac_name, c->hmac_desc_len, UBIFS_HMAC_ARR_SZ); in ubifs_init_authentication()
/linux-5.19.10/net/sctp/
Dauth.c29 .hmac_name = "hmac(sha1)",
39 .hmac_name = "hmac(sha256)",
477 if (!sctp_hmac_list[id].hmac_name) in sctp_auth_init_hmacs()
485 tfm = crypto_alloc_shash(sctp_hmac_list[id].hmac_name, 0, 0); in sctp_auth_init_hmacs()
554 !sctp_hmac_list[id].hmac_name) { in sctp_auth_asoc_get_hmac()
797 if (!sctp_hmac_list[id].hmac_name) in sctp_auth_ep_set_hmacs()
/linux-5.19.10/drivers/crypto/caam/
Dcaamhash.c1573 char hmac_name[CRYPTO_MAX_ALG_NAME]; member
1585 .hmac_name = "hmac(sha1)",
1606 .hmac_name = "hmac(sha224)",
1627 .hmac_name = "hmac(sha256)",
1648 .hmac_name = "hmac(sha384)",
1669 .hmac_name = "hmac(sha512)",
1690 .hmac_name = "hmac(md5)",
1709 .hmac_name = "xcbc(aes)",
1728 .hmac_name = "cmac(aes)",
1916 template->hmac_name); in caam_hash_alloc()
Dcaamalg_qi2.c4395 char hmac_name[CRYPTO_MAX_ALG_NAME]; member
4407 .hmac_name = "hmac(sha1)",
4428 .hmac_name = "hmac(sha224)",
4449 .hmac_name = "hmac(sha256)",
4470 .hmac_name = "hmac(sha384)",
4491 .hmac_name = "hmac(sha512)",
4512 .hmac_name = "hmac(md5)",
4636 template->hmac_name); in caam_hash_alloc()
/linux-5.19.10/include/net/sctp/
Dauth.h33 char *hmac_name; /* name for loading */ member
/linux-5.19.10/drivers/block/drbd/
Ddrbd_nl.c2307 char hmac_name[CRYPTO_MAX_ALG_NAME]; in alloc_crypto() local
2323 snprintf(hmac_name, CRYPTO_MAX_ALG_NAME, "hmac(%s)", in alloc_crypto()
2326 rv = alloc_shash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto()