Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/crypto/ccp/
Dccp-crypto-sha.c241 struct crypto_shash *shash = ctx->u.sha.hmac_tfm; in ccp_sha_setkey()
309 struct crypto_shash *hmac_tfm; in ccp_hmac_sha_cra_init() local
311 hmac_tfm = crypto_alloc_shash(alg->child_alg, 0, 0); in ccp_hmac_sha_cra_init()
312 if (IS_ERR(hmac_tfm)) { in ccp_hmac_sha_cra_init()
315 return PTR_ERR(hmac_tfm); in ccp_hmac_sha_cra_init()
318 ctx->u.sha.hmac_tfm = hmac_tfm; in ccp_hmac_sha_cra_init()
327 if (ctx->u.sha.hmac_tfm) in ccp_hmac_sha_cra_exit()
328 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.1.27/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()