Home
last modified time | relevance | path

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

/security/integrity/evm/
Devm_crypto.c78 struct crypto_shash **tfm, *tmp_tfm; in init_desc() local
102 tmp_tfm = crypto_alloc_shash(algo, 0, CRYPTO_NOLOAD); in init_desc()
103 if (IS_ERR(tmp_tfm)) { in init_desc()
105 PTR_ERR(tmp_tfm)); in init_desc()
107 return ERR_CAST(tmp_tfm); in init_desc()
110 rc = crypto_shash_setkey(tmp_tfm, evmkey, evmkey_len); in init_desc()
112 crypto_free_shash(tmp_tfm); in init_desc()
117 *tfm = tmp_tfm; in init_desc()