Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/crypto/ccp/
Dccp-crypto-sha.c254 struct crypto_shash *shash = ctx->u.sha.hmac_tfm; in ccp_sha_setkey()
322 struct crypto_shash *hmac_tfm; in ccp_hmac_sha_cra_init() local
324 hmac_tfm = crypto_alloc_shash(alg->child_alg, 0, 0); in ccp_hmac_sha_cra_init()
325 if (IS_ERR(hmac_tfm)) { in ccp_hmac_sha_cra_init()
328 return PTR_ERR(hmac_tfm); in ccp_hmac_sha_cra_init()
331 ctx->u.sha.hmac_tfm = hmac_tfm; in ccp_hmac_sha_cra_init()
340 if (ctx->u.sha.hmac_tfm) in ccp_hmac_sha_cra_exit()
341 crypto_free_shash(ctx->u.sha.hmac_tfm); in ccp_hmac_sha_cra_exit()
Dccp-crypto.h153 struct crypto_shash *hmac_tfm; member
/linux-4.4.14/security/integrity/evm/
Devm.h32 extern struct crypto_shash *hmac_tfm;
Devm_crypto.c30 struct crypto_shash *hmac_tfm; variable
43 tfm = &hmac_tfm; in init_desc()