hash_tfm 113 drivers/crypto/qat/qat_common/qat_algs.c struct crypto_shash *hash_tfm; hash_tfm 156 drivers/crypto/qat/qat_common/qat_algs.c SHASH_DESC_ON_STACK(shash, ctx->hash_tfm); hash_tfm 157 drivers/crypto/qat/qat_common/qat_algs.c int block_size = crypto_shash_blocksize(ctx->hash_tfm); hash_tfm 158 drivers/crypto/qat/qat_common/qat_algs.c int digest_size = crypto_shash_digestsize(ctx->hash_tfm); hash_tfm 165 drivers/crypto/qat/qat_common/qat_algs.c shash->tfm = ctx->hash_tfm; hash_tfm 319 drivers/crypto/qat/qat_common/qat_algs.c cpu_to_be32(crypto_shash_blocksize(ctx->hash_tfm)); hash_tfm 386 drivers/crypto/qat/qat_common/qat_algs.c roundup(crypto_shash_digestsize(ctx->hash_tfm), 8) * 2); hash_tfm 406 drivers/crypto/qat/qat_common/qat_algs.c cpu_to_be32(crypto_shash_blocksize(ctx->hash_tfm)); hash_tfm 428 drivers/crypto/qat/qat_common/qat_algs.c roundup(crypto_shash_digestsize(ctx->hash_tfm), 8) * 2) >> 3; hash_tfm 1173 drivers/crypto/qat/qat_common/qat_algs.c ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); hash_tfm 1174 drivers/crypto/qat/qat_common/qat_algs.c if (IS_ERR(ctx->hash_tfm)) hash_tfm 1175 drivers/crypto/qat/qat_common/qat_algs.c return PTR_ERR(ctx->hash_tfm); hash_tfm 1202 drivers/crypto/qat/qat_common/qat_algs.c crypto_free_shash(ctx->hash_tfm); hash_tfm 107 drivers/md/dm-crypt.c struct crypto_shash *hash_tfm; hash_tfm 390 drivers/md/dm-crypt.c if (lmk->hash_tfm && !IS_ERR(lmk->hash_tfm)) hash_tfm 391 drivers/md/dm-crypt.c crypto_free_shash(lmk->hash_tfm); hash_tfm 392 drivers/md/dm-crypt.c lmk->hash_tfm = NULL; hash_tfm 408 drivers/md/dm-crypt.c lmk->hash_tfm = crypto_alloc_shash("md5", 0, 0); hash_tfm 409 drivers/md/dm-crypt.c if (IS_ERR(lmk->hash_tfm)) { hash_tfm 411 drivers/md/dm-crypt.c return PTR_ERR(lmk->hash_tfm); hash_tfm 438 drivers/md/dm-crypt.c crypto_shash_digestsize(lmk->hash_tfm)); hash_tfm 458 drivers/md/dm-crypt.c SHASH_DESC_ON_STACK(desc, lmk->hash_tfm); hash_tfm 463 drivers/md/dm-crypt.c desc->tfm = lmk->hash_tfm; hash_tfm 80 fs/ecryptfs/crypto.c tfm = crypt_stat->hash_tfm; hash_tfm 188 fs/ecryptfs/crypto.c crypt_stat->hash_tfm = tfm; hash_tfm 205 fs/ecryptfs/crypto.c crypto_free_shash(crypt_stat->hash_tfm); hash_tfm 240 fs/ecryptfs/ecryptfs_kernel.h struct crypto_shash *hash_tfm; /* Crypto context for generating hash_tfm 603 fs/ecryptfs/keystore.c struct crypto_shash *hash_tfm; hash_tfm 741 fs/ecryptfs/keystore.c s->hash_tfm = crypto_alloc_shash(ECRYPTFS_TAG_70_DIGEST, 0, 0); hash_tfm 742 fs/ecryptfs/keystore.c if (IS_ERR(s->hash_tfm)) { hash_tfm 743 fs/ecryptfs/keystore.c rc = PTR_ERR(s->hash_tfm); hash_tfm 751 fs/ecryptfs/keystore.c crypto_shash_descsize(s->hash_tfm), GFP_KERNEL); hash_tfm 757 fs/ecryptfs/keystore.c s->hash_desc->tfm = s->hash_tfm; hash_tfm 839 fs/ecryptfs/keystore.c crypto_free_shash(s->hash_tfm); hash_tfm 34 fs/ubifs/auth.c SHASH_DESC_ON_STACK(shash, c->hash_tfm); hash_tfm 37 fs/ubifs/auth.c shash->tfm = c->hash_tfm; hash_tfm 86 fs/ubifs/auth.c SHASH_DESC_ON_STACK(hash_desc, c->hash_tfm); hash_tfm 88 fs/ubifs/auth.c hash_desc->tfm = c->hash_tfm; hash_tfm 138 fs/ubifs/auth.c return ubifs_get_desc(c, c->hash_tfm); hash_tfm 317 fs/ubifs/auth.c c->hash_tfm = crypto_alloc_shash(c->auth_hash_name, 0, 0); hash_tfm 318 fs/ubifs/auth.c if (IS_ERR(c->hash_tfm)) { hash_tfm 319 fs/ubifs/auth.c err = PTR_ERR(c->hash_tfm); hash_tfm 325 fs/ubifs/auth.c c->hash_len = crypto_shash_digestsize(c->hash_tfm); hash_tfm 365 fs/ubifs/auth.c crypto_free_shash(c->hash_tfm); hash_tfm 385 fs/ubifs/auth.c crypto_free_shash(c->hash_tfm); hash_tfm 71 fs/ubifs/master.c SHASH_DESC_ON_STACK(shash, c->hash_tfm); hash_tfm 73 fs/ubifs/master.c shash->tfm = c->hash_tfm; hash_tfm 564 fs/ubifs/replay.c SHASH_DESC_ON_STACK(hash_desc, c->hash_tfm); hash_tfm 566 fs/ubifs/replay.c hash_desc->tfm = c->hash_tfm; hash_tfm 1469 fs/ubifs/ubifs.h struct crypto_shash *hash_tfm; hash_tfm 41 security/integrity/evm/evm.h extern struct crypto_shash *hash_tfm; hash_tfm 57 security/keys/encrypted-keys/encrypted.c static struct crypto_shash *hash_tfm; hash_tfm 384 security/keys/encrypted-keys/encrypted.c ret = calc_hash(hash_tfm, derived_key, derived_buf, derived_buf_len); hash_tfm 993 security/keys/encrypted-keys/encrypted.c hash_tfm = crypto_alloc_shash(hash_alg, 0, 0); hash_tfm 994 security/keys/encrypted-keys/encrypted.c if (IS_ERR(hash_tfm)) { hash_tfm 996 security/keys/encrypted-keys/encrypted.c hash_alg, PTR_ERR(hash_tfm)); hash_tfm 997 security/keys/encrypted-keys/encrypted.c return PTR_ERR(hash_tfm); hash_tfm 1008 security/keys/encrypted-keys/encrypted.c crypto_free_shash(hash_tfm); hash_tfm 1015 security/keys/encrypted-keys/encrypted.c crypto_free_shash(hash_tfm);