Home
last modified time | relevance | path

Searched refs:hmac_tfm (Results 1 – 3 of 3) sorted by relevance

/linux/fs/ubifs/
H A Dauth.c48 return crypto_shash_tfm_digest(c->hmac_tfm, hash, c->hash_len, hmac); in ubifs_hash_calc_hmac()
317 c->hmac_tfm = crypto_alloc_shash(hmac_name, 0, 0); in ubifs_init_authentication()
318 if (IS_ERR(c->hmac_tfm)) { in ubifs_init_authentication()
319 err = PTR_ERR(c->hmac_tfm); in ubifs_init_authentication()
324 c->hmac_desc_len = crypto_shash_digestsize(c->hmac_tfm); in ubifs_init_authentication()
332 err = crypto_shash_setkey(c->hmac_tfm, ukp->data, ukp->datalen); in ubifs_init_authentication()
348 crypto_free_shash(c->hmac_tfm); in ubifs_init_authentication()
370 crypto_free_shash(c->hmac_tfm); in __ubifs_exit_authentication()
390 SHASH_DESC_ON_STACK(shash, c->hmac_tfm); in ubifs_node_calc_hmac()
397 shash->tfm = c->hmac_tfm; in ubifs_node_calc_hmac()
[all …]
/linux/security/integrity/evm/
H A Devm_crypto.c30 static struct crypto_shash *hmac_tfm;
87 tfm = &hmac_tfm; in init_desc()
29 static struct crypto_shash *hmac_tfm; global() variable
/linux/drivers/crypto/ccp/
H A Dccp-crypto.h196 struct crypto_shash *hmac_tfm; member