Home
last modified time | relevance | path

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

/Linux-v5.4/fs/ubifs/
Dauth.c285 char hmac_name[CRYPTO_MAX_ALG_NAME]; in ubifs_init_authentication() local
300 snprintf(hmac_name, CRYPTO_MAX_ALG_NAME, "hmac(%s)", in ubifs_init_authentication()
342 c->hmac_tfm = crypto_alloc_shash(hmac_name, 0, 0); in ubifs_init_authentication()
345 ubifs_err(c, "Can not allocate %s: %d", hmac_name, err); in ubifs_init_authentication()
352 hmac_name, c->hmac_desc_len, UBIFS_HMAC_ARR_SZ); in ubifs_init_authentication()
/Linux-v5.4/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()
553 !sctp_hmac_list[id].hmac_name) { in sctp_auth_asoc_get_hmac()
802 if (!sctp_hmac_list[id].hmac_name) in sctp_auth_ep_set_hmacs()
/Linux-v5.4/include/net/sctp/
Dauth.h33 char *hmac_name; /* name for loading */ member
/Linux-v5.4/drivers/crypto/caam/
Dcaamhash.c1624 char hmac_name[CRYPTO_MAX_ALG_NAME]; member
1636 .hmac_name = "hmac(sha1)",
1657 .hmac_name = "hmac(sha224)",
1678 .hmac_name = "hmac(sha256)",
1699 .hmac_name = "hmac(sha384)",
1720 .hmac_name = "hmac(sha512)",
1741 .hmac_name = "hmac(md5)",
1760 .hmac_name = "xcbc(aes)",
1779 .hmac_name = "cmac(aes)",
1958 template->hmac_name); in caam_hash_alloc()
Dcaamalg_qi2.c4364 char hmac_name[CRYPTO_MAX_ALG_NAME]; member
4376 .hmac_name = "hmac(sha1)",
4397 .hmac_name = "hmac(sha224)",
4418 .hmac_name = "hmac(sha256)",
4439 .hmac_name = "hmac(sha384)",
4460 .hmac_name = "hmac(sha512)",
4481 .hmac_name = "hmac(md5)",
4601 template->hmac_name); in caam_hash_alloc()
/Linux-v5.4/drivers/block/drbd/
Ddrbd_nl.c2392 char hmac_name[CRYPTO_MAX_ALG_NAME]; in alloc_crypto() local
2408 snprintf(hmac_name, CRYPTO_MAX_ALG_NAME, "hmac(%s)", in alloc_crypto()
2411 rv = alloc_shash(&crypto->cram_hmac_tfm, hmac_name, in alloc_crypto()