hmac_tfm 274 drivers/crypto/ccp/ccp-crypto-sha.c struct crypto_shash *shash = ctx->u.sha.hmac_tfm; hmac_tfm 340 drivers/crypto/ccp/ccp-crypto-sha.c struct crypto_shash *hmac_tfm; hmac_tfm 342 drivers/crypto/ccp/ccp-crypto-sha.c hmac_tfm = crypto_alloc_shash(alg->child_alg, 0, 0); hmac_tfm 343 drivers/crypto/ccp/ccp-crypto-sha.c if (IS_ERR(hmac_tfm)) { hmac_tfm 346 drivers/crypto/ccp/ccp-crypto-sha.c return PTR_ERR(hmac_tfm); hmac_tfm 349 drivers/crypto/ccp/ccp-crypto-sha.c ctx->u.sha.hmac_tfm = hmac_tfm; hmac_tfm 358 drivers/crypto/ccp/ccp-crypto-sha.c if (ctx->u.sha.hmac_tfm) hmac_tfm 359 drivers/crypto/ccp/ccp-crypto-sha.c crypto_free_shash(ctx->u.sha.hmac_tfm); hmac_tfm 192 drivers/crypto/ccp/ccp-crypto.h struct crypto_shash *hmac_tfm; hmac_tfm 277 fs/crypto/fscrypt_private.h struct crypto_shash *hmac_tfm; hmac_tfm 43 fs/crypto/hkdf.c static int hkdf_extract(struct crypto_shash *hmac_tfm, const u8 *ikm, hmac_tfm 47 fs/crypto/hkdf.c SHASH_DESC_ON_STACK(desc, hmac_tfm); hmac_tfm 50 fs/crypto/hkdf.c err = crypto_shash_setkey(hmac_tfm, default_salt, HKDF_HASHLEN); hmac_tfm 54 fs/crypto/hkdf.c desc->tfm = hmac_tfm; hmac_tfm 70 fs/crypto/hkdf.c struct crypto_shash *hmac_tfm; hmac_tfm 74 fs/crypto/hkdf.c hmac_tfm = crypto_alloc_shash(HKDF_HMAC_ALG, 0, 0); hmac_tfm 75 fs/crypto/hkdf.c if (IS_ERR(hmac_tfm)) { hmac_tfm 77 fs/crypto/hkdf.c PTR_ERR(hmac_tfm)); hmac_tfm 78 fs/crypto/hkdf.c return PTR_ERR(hmac_tfm); hmac_tfm 81 fs/crypto/hkdf.c if (WARN_ON(crypto_shash_digestsize(hmac_tfm) != sizeof(prk))) { hmac_tfm 86 fs/crypto/hkdf.c err = hkdf_extract(hmac_tfm, master_key, master_key_size, prk); hmac_tfm 90 fs/crypto/hkdf.c err = crypto_shash_setkey(hmac_tfm, prk, sizeof(prk)); hmac_tfm 94 fs/crypto/hkdf.c hkdf->hmac_tfm = hmac_tfm; hmac_tfm 98 fs/crypto/hkdf.c crypto_free_shash(hmac_tfm); hmac_tfm 119 fs/crypto/hkdf.c SHASH_DESC_ON_STACK(desc, hkdf->hmac_tfm); hmac_tfm 130 fs/crypto/hkdf.c desc->tfm = hkdf->hmac_tfm; hmac_tfm 180 fs/crypto/hkdf.c crypto_free_shash(hkdf->hmac_tfm); hmac_tfm 56 fs/ubifs/auth.c SHASH_DESC_ON_STACK(shash, c->hmac_tfm); hmac_tfm 59 fs/ubifs/auth.c shash->tfm = c->hmac_tfm; hmac_tfm 333 fs/ubifs/auth.c c->hmac_tfm = crypto_alloc_shash(hmac_name, 0, 0); hmac_tfm 334 fs/ubifs/auth.c if (IS_ERR(c->hmac_tfm)) { hmac_tfm 335 fs/ubifs/auth.c err = PTR_ERR(c->hmac_tfm); hmac_tfm 340 fs/ubifs/auth.c c->hmac_desc_len = crypto_shash_digestsize(c->hmac_tfm); hmac_tfm 348 fs/ubifs/auth.c err = crypto_shash_setkey(c->hmac_tfm, ukp->data, ukp->datalen); hmac_tfm 362 fs/ubifs/auth.c crypto_free_shash(c->hmac_tfm); hmac_tfm 384 fs/ubifs/auth.c crypto_free_shash(c->hmac_tfm); hmac_tfm 404 fs/ubifs/auth.c SHASH_DESC_ON_STACK(shash, c->hmac_tfm); hmac_tfm 411 fs/ubifs/auth.c shash->tfm = c->hmac_tfm; hmac_tfm 524 fs/ubifs/auth.c SHASH_DESC_ON_STACK(shash, c->hmac_tfm); hmac_tfm 531 fs/ubifs/auth.c shash->tfm = c->hmac_tfm; hmac_tfm 574 fs/ubifs/replay.c SHASH_DESC_ON_STACK(hmac_desc, c->hmac_tfm); hmac_tfm 576 fs/ubifs/replay.c hmac_desc->tfm = c->hmac_tfm; hmac_tfm 1470 fs/ubifs/ubifs.h struct crypto_shash *hmac_tfm; hmac_tfm 40 security/integrity/evm/evm.h extern struct crypto_shash *hmac_tfm; hmac_tfm 29 security/integrity/evm/evm_crypto.c struct crypto_shash *hmac_tfm; hmac_tfm 86 security/integrity/evm/evm_crypto.c tfm = &hmac_tfm;