arch/arm/crypto/ghash-ce-glue.c
139
static int ghash_setkey(struct crypto_shash *tfm,
arch/arm64/crypto/aes-glue.c
765
static int cbcmac_setkey(struct crypto_shash *tfm, const u8 *in_key,
arch/arm64/crypto/aes-glue.c
782
static int cmac_setkey(struct crypto_shash *tfm, const u8 *in_key,
arch/arm64/crypto/aes-glue.c
805
static int xcbc_setkey(struct crypto_shash *tfm, const u8 *in_key,
arch/arm64/crypto/ghash-ce-glue.c
154
static int ghash_setkey(struct crypto_shash *tfm,
arch/arm64/crypto/sm4-ce-glue.c
490
static int sm4_cbcmac_setkey(struct crypto_shash *tfm, const u8 *key,
arch/arm64/crypto/sm4-ce-glue.c
504
static int sm4_cmac_setkey(struct crypto_shash *tfm, const u8 *key,
arch/arm64/crypto/sm4-ce-glue.c
538
static int sm4_xcbc_setkey(struct crypto_shash *tfm, const u8 *key,
arch/powerpc/crypto/ghash.c
51
static int p8_ghash_setkey(struct crypto_shash *tfm, const u8 *key,
arch/riscv/crypto/ghash-riscv64-glue.c
36
static int riscv64_ghash_setkey(struct crypto_shash *tfm, const u8 *key,
arch/s390/crypto/ghash_s390.c
40
static int ghash_setkey(struct crypto_shash *tfm,
arch/s390/crypto/hmac_s390.c
166
static int s390_hmac_sha2_setkey(struct crypto_shash *tfm,
arch/s390/crypto/hmac_s390.c
271
struct crypto_shash *tfm = desc->tfm;
arch/x86/crypto/ghash-clmulni-intel_glue.c
40
static int ghash_setkey(struct crypto_shash *tfm,
crypto/ahash.c
157
static inline struct crypto_shash *ahash_to_shash(struct crypto_ahash *tfm)
crypto/ahash.c
159
return *(struct crypto_shash **)crypto_ahash_ctx(tfm);
crypto/ahash.c
246
struct crypto_shash **ctx = crypto_tfm_ctx(tfm);
crypto/ahash.c
255
struct crypto_shash **ctx = crypto_tfm_ctx(tfm);
crypto/ahash.c
256
struct crypto_shash *shash;
crypto/ahash.c
294
struct crypto_shash *shash = ahash_to_shash(tfm);
crypto/ahash.c
777
return sizeof(struct crypto_shash *);
crypto/ahash.c
891
struct crypto_shash **nctx = crypto_ahash_ctx(nhash);
crypto/ahash.c
892
struct crypto_shash *shash;
crypto/asymmetric_keys/pkcs7_verify.c
26
struct crypto_shash *tfm;
crypto/asymmetric_keys/verify_pefile.c
325
struct crypto_shash *tfm;
crypto/asymmetric_keys/x509_public_key.c
28
struct crypto_shash *tfm;
crypto/blake2b.c
17
static int crypto_blake2b_setkey(struct crypto_shash *tfm,
crypto/ccm.c
772
static int crypto_cbcmac_digest_setkey(struct crypto_shash *parent,
crypto/ccm.c
792
struct crypto_shash *parent = pdesc->tfm;
crypto/ccm.c
810
struct crypto_shash *parent = pdesc->tfm;
crypto/cmac.c
102
struct crypto_shash *parent = pdesc->tfm;
crypto/cmac.c
120
struct crypto_shash *parent = pdesc->tfm;
crypto/cmac.c
137
static int cmac_init_tfm(struct crypto_shash *tfm)
crypto/cmac.c
154
static int cmac_clone_tfm(struct crypto_shash *tfm, struct crypto_shash *otfm)
crypto/cmac.c
169
static void cmac_exit_tfm(struct crypto_shash *tfm)
crypto/cmac.c
37
static int crypto_cmac_digest_setkey(struct crypto_shash *parent,
crypto/crc32.c
36
static int crc32_setkey(struct crypto_shash *hash, const u8 *key,
crypto/crc32c.c
72
static int chksum_setkey(struct crypto_shash *tfm, const u8 *key,
crypto/cryptd.c
1032
struct crypto_shash *cryptd_ahash_child(struct cryptd_ahash *tfm)
crypto/cryptd.c
442
struct crypto_shash *hash;
crypto/cryptd.c
460
struct crypto_shash *hash;
crypto/cryptd.c
481
struct crypto_shash *child = ctx->child;
crypto/cryptd.c
542
struct crypto_shash *child = ctx->child;
crypto/cryptd.c
618
struct crypto_shash *child = ctx->child;
crypto/cryptd.c
81
struct crypto_shash *child;
crypto/crypto_null.c
45
static int null_hash_setkey(struct crypto_shash *tfm, const u8 *key,
crypto/drbg.c
1441
struct crypto_shash *tfm;
crypto/essiv.c
272
struct crypto_shash *hash;
crypto/essiv.c
56
struct crypto_shash *hash;
crypto/ghash-generic.c
55
static int ghash_setkey(struct crypto_shash *tfm,
crypto/hkdf.c
44
int hkdf_extract(struct crypto_shash *hmac_tfm, const u8 *ikm,
crypto/hkdf.c
465
{ struct crypto_shash *tfm = NULL;
crypto/hkdf.c
74
int hkdf_expand(struct crypto_shash *hmac_tfm,
crypto/hmac.c
134
struct crypto_shash *parent = pdesc->tfm;
crypto/hmac.c
146
static int hmac_init_tfm(struct crypto_shash *parent)
crypto/hmac.c
148
struct crypto_shash *hash;
crypto/hmac.c
161
static int hmac_clone_tfm(struct crypto_shash *dst, struct crypto_shash *src)
crypto/hmac.c
165
struct crypto_shash *hash;
crypto/hmac.c
175
static void hmac_exit_tfm(struct crypto_shash *parent)
crypto/hmac.c
24
struct crypto_shash *hash;
crypto/hmac.c
35
static int hmac_setkey(struct crypto_shash *parent,
crypto/hmac.c
42
struct crypto_shash *hash = tctx->hash;
crypto/jitterentropy-kcapi.c
198
struct crypto_shash *tfm;
crypto/jitterentropy-kcapi.c
227
struct crypto_shash *hash;
crypto/jitterentropy-kcapi.c
330
struct crypto_shash *tfm;
crypto/kdf_sp800108.c
17
int crypto_kdf108_ctr_generate(struct crypto_shash *kmd,
crypto/kdf_sp800108.c
77
int crypto_kdf108_setkey(struct crypto_shash *kmd,
crypto/krb5/internal.h
154
struct crypto_shash *krb5_prepare_checksum(const struct krb5_enctype *krb5,
crypto/krb5/internal.h
204
struct crypto_shash *shash,
crypto/krb5/internal.h
209
struct crypto_shash *shash,
crypto/krb5/internal.h
88
struct crypto_shash *shash,
crypto/krb5/internal.h
96
struct crypto_shash *shash,
crypto/krb5/krb5_api.c
235
struct crypto_shash *krb5_prepare_checksum(const struct krb5_enctype *krb5,
crypto/krb5/krb5_api.c
239
struct crypto_shash *ci = NULL;
crypto/krb5/krb5_api.c
274
struct crypto_shash *crypto_krb5_prepare_checksum(const struct krb5_enctype *krb5,
crypto/krb5/krb5_api.c
278
struct crypto_shash *ci = NULL;
crypto/krb5/krb5_api.c
396
struct crypto_shash *shash,
crypto/krb5/krb5_api.c
433
struct crypto_shash *shash,
crypto/krb5/rfc3961_simplified.c
143
struct crypto_shash *tfm;
crypto/krb5/rfc3961_simplified.c
657
struct crypto_shash *shash,
crypto/krb5/rfc3961_simplified.c
716
struct crypto_shash *shash,
crypto/krb5/rfc6803_camellia.c
122
struct crypto_shash *shash;
crypto/krb5/rfc6803_camellia.c
30
struct crypto_shash *shash;
crypto/krb5/rfc8009_aes2.c
36
struct crypto_shash *shash;
crypto/krb5/selftest.c
383
struct crypto_shash *ci = NULL;
crypto/md5.c
118
static int crypto_hmac_md5_setkey(struct crypto_shash *tfm,
crypto/michael_mic.c
129
static int michael_setkey(struct crypto_shash *tfm, const u8 *key,
crypto/sha1.c
122
static int crypto_hmac_sha1_setkey(struct crypto_shash *tfm,
crypto/sha256.c
187
static int crypto_hmac_sha224_setkey(struct crypto_shash *tfm,
crypto/sha256.c
254
static int crypto_hmac_sha256_setkey(struct crypto_shash *tfm,
crypto/sha512.c
193
static int crypto_hmac_sha384_setkey(struct crypto_shash *tfm,
crypto/sha512.c
260
static int crypto_hmac_sha512_setkey(struct crypto_shash *tfm,
crypto/shash.c
113
struct crypto_shash *tfm = desc->tfm;
crypto/shash.c
186
struct crypto_shash *tfm = desc->tfm;
crypto/shash.c
19
static inline bool crypto_shash_block_only(struct crypto_shash *tfm)
crypto/shash.c
196
int crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data,
crypto/shash.c
210
struct crypto_shash *tfm = desc->tfm;
crypto/shash.c
235
struct crypto_shash *tfm = desc->tfm;
crypto/shash.c
25
static inline bool crypto_shash_final_nonzero(struct crypto_shash *tfm)
crypto/shash.c
253
struct crypto_shash *tfm = desc->tfm;
crypto/shash.c
284
struct crypto_shash *tfm = desc->tfm;
crypto/shash.c
304
struct crypto_shash *hash = __crypto_shash_cast(tfm);
crypto/shash.c
31
static inline bool crypto_shash_finup_max(struct crypto_shash *tfm)
crypto/shash.c
312
struct crypto_shash *hash = __crypto_shash_cast(tfm);
crypto/shash.c
37
int shash_no_setkey(struct crypto_shash *tfm, const u8 *key,
crypto/shash.c
372
.tfmsize = offsetof(struct crypto_shash, base),
crypto/shash.c
385
struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type,
crypto/shash.c
398
struct crypto_shash *crypto_clone_shash(struct crypto_shash *hash)
crypto/shash.c
402
struct crypto_shash *nhash;
crypto/shash.c
44
static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg)
crypto/shash.c
50
int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
crypto/shash.c
69
struct crypto_shash *tfm = desc->tfm;
crypto/testmgr.c
1295
struct crypto_shash *tfm = desc->tfm;
crypto/testmgr.c
1866
struct crypto_shash **tfm_ret,
crypto/testmgr.c
1869
struct crypto_shash *tfm;
crypto/testmgr.c
1905
struct crypto_shash *stfm = NULL;
crypto/xcbc.c
38
static int crypto_xcbc_digest_setkey(struct crypto_shash *parent,
crypto/xcbc.c
70
struct crypto_shash *parent = pdesc->tfm;
crypto/xcbc.c
88
struct crypto_shash *parent = pdesc->tfm;
crypto/xxhash_generic.c
20
static int xxhash64_setkey(struct crypto_shash *tfm, const u8 *key,
drivers/block/drbd/drbd_int.h
1440
extern void drbd_csum_bio(struct crypto_shash *, struct bio *, void *);
drivers/block/drbd/drbd_int.h
1441
extern void drbd_csum_ee(struct crypto_shash *, struct drbd_peer_request *,
drivers/block/drbd/drbd_int.h
651
struct crypto_shash *cram_hmac_tfm;
drivers/block/drbd/drbd_int.h
652
struct crypto_shash *integrity_tfm; /* checksums we compute, updates protected by connection->data->mutex */
drivers/block/drbd/drbd_int.h
653
struct crypto_shash *peer_integrity_tfm; /* checksums we verify, only accessed from receiver thread */
drivers/block/drbd/drbd_int.h
654
struct crypto_shash *csums_tfm;
drivers/block/drbd/drbd_int.h
655
struct crypto_shash *verify_tfm;
drivers/block/drbd/drbd_nl.c
2315
struct crypto_shash *verify_tfm;
drivers/block/drbd/drbd_nl.c
2316
struct crypto_shash *csums_tfm;
drivers/block/drbd/drbd_nl.c
2317
struct crypto_shash *cram_hmac_tfm;
drivers/block/drbd/drbd_nl.c
2318
struct crypto_shash *integrity_tfm;
drivers/block/drbd/drbd_nl.c
2322
alloc_shash(struct crypto_shash **tfm, char *tfm_name, int err_alg)
drivers/block/drbd/drbd_receiver.c
1639
static void drbd_csum_ee_size(struct crypto_shash *h,
drivers/block/drbd/drbd_receiver.c
3452
struct crypto_shash *peer_integrity_tfm = NULL;
drivers/block/drbd/drbd_receiver.c
3598
static struct crypto_shash *drbd_crypto_alloc_digest_safe(
drivers/block/drbd/drbd_receiver.c
3602
struct crypto_shash *tfm;
drivers/block/drbd/drbd_receiver.c
3660
struct crypto_shash *verify_tfm = NULL;
drivers/block/drbd/drbd_receiver.c
3661
struct crypto_shash *csums_tfm = NULL;
drivers/block/drbd/drbd_worker.c
287
void drbd_csum_ee(struct crypto_shash *tfm, struct drbd_peer_request *peer_req, void *digest)
drivers/block/drbd/drbd_worker.c
316
void drbd_csum_bio(struct crypto_shash *tfm, struct bio *bio, void *digest)
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c
32
struct crypto_shash *xtfm;
drivers/crypto/axis/artpec6_crypto.c
2402
struct crypto_shash *child;
drivers/crypto/axis/artpec6_crypto.c
316
struct crypto_shash *child_hash;
drivers/crypto/bcm/cipher.c
2016
struct crypto_shash *hash;
drivers/crypto/bcm/util.c
217
struct crypto_shash *hash;
drivers/crypto/ccp/ccp-crypto-sha.c
276
struct crypto_shash *shash = ctx->u.sha.hmac_tfm;
drivers/crypto/ccp/ccp-crypto-sha.c
335
struct crypto_shash *hmac_tfm;
drivers/crypto/ccp/ccp-crypto.h
196
struct crypto_shash *hmac_tfm;
drivers/crypto/ccree/cc_cipher.c
57
struct crypto_shash *shash_tfm;
drivers/crypto/hisilicon/sec2/sec.h
138
struct crypto_shash *hash_tfm;
drivers/crypto/hisilicon/sec2/sec_crypto.c
1355
struct crypto_shash *hash_tfm = ctx->hash_tfm;
drivers/crypto/inside-secure/safexcel_hash.c
35
struct crypto_shash *shpre;
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
68
static struct otx_cpt_sdesc *alloc_sdesc(struct crypto_shash *alg);
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
689
static struct otx_cpt_sdesc *alloc_sdesc(struct crypto_shash *alg)
drivers/crypto/marvell/octeontx/otx_cptvf_algs.h
171
struct crypto_shash *hashalg;
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
57
static struct otx2_cpt_sdesc *alloc_sdesc(struct crypto_shash *alg);
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
779
static struct otx2_cpt_sdesc *alloc_sdesc(struct crypto_shash *alg)
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.h
164
struct crypto_shash *hashalg;
drivers/crypto/nx/nx-aes-xcbc.c
137
static int nx_crypto_ctx_aes_xcbc_init2(struct crypto_shash *tfm)
drivers/crypto/nx/nx-aes-xcbc.c
27
static int nx_xcbc_set_key(struct crypto_shash *desc,
drivers/crypto/nx/nx-sha256.c
27
static int nx_crypto_ctx_sha256_init(struct crypto_shash *tfm)
drivers/crypto/nx/nx-sha512.c
27
static int nx_crypto_ctx_sha512_init(struct crypto_shash *tfm)
drivers/crypto/nx/nx.c
703
int nx_crypto_ctx_sha_init(struct crypto_shash *tfm)
drivers/crypto/nx/nx.c
708
int nx_crypto_ctx_aes_xcbc_init(struct crypto_shash *tfm)
drivers/crypto/nx/nx.c
745
void nx_crypto_ctx_shash_exit(struct crypto_shash *tfm)
drivers/crypto/nx/nx.h
151
int nx_crypto_ctx_aes_xcbc_init(struct crypto_shash *tfm);
drivers/crypto/nx/nx.h
155
int nx_crypto_ctx_sha_init(struct crypto_shash *tfm);
drivers/crypto/nx/nx.h
159
void nx_crypto_ctx_shash_exit(struct crypto_shash *tfm);
drivers/crypto/omap-sham.c
163
struct crypto_shash *shash;
drivers/crypto/omap-sham.c
172
struct crypto_shash *fallback;
drivers/crypto/padlock-sha.c
158
static int padlock_init_tfm(struct crypto_shash *hash)
drivers/crypto/padlock-sha.c
185
static void padlock_exit_tfm(struct crypto_shash *hash)
drivers/crypto/padlock-sha.c
55
struct crypto_shash *tfm = desc->tfm;
drivers/crypto/s5p-sss.c
381
struct crypto_shash *fallback;
drivers/crypto/sa2ul.h
315
struct crypto_shash *shash;
drivers/crypto/stm32/stm32-hash.c
136
struct crypto_shash *xtfm;
drivers/crypto/stm32/stm32-hash.c
1492
struct crypto_shash *xtfm;
drivers/crypto/tegra/tegra-se-aes.c
76
struct crypto_shash *fallback_tfm;
drivers/crypto/xilinx/zynqmp-sha.c
102
struct crypto_shash *fbtfm = tctx->fbk_tfm;
drivers/crypto/xilinx/zynqmp-sha.c
115
struct crypto_shash *fbtfm = tctx->fbk_tfm;
drivers/crypto/xilinx/zynqmp-sha.c
36
struct crypto_shash *fbk_tfm;
drivers/crypto/xilinx/zynqmp-sha.c
44
static int zynqmp_sha_init_tfm(struct crypto_shash *hash)
drivers/crypto/xilinx/zynqmp-sha.c
49
struct crypto_shash *fallback_tfm;
drivers/crypto/xilinx/zynqmp-sha.c
72
static void zynqmp_sha_exit_tfm(struct crypto_shash *hash)
drivers/crypto/xilinx/zynqmp-sha.c
90
struct crypto_shash *fbtfm = tctx->fbk_tfm;
drivers/md/dm-ima.c
186
struct crypto_shash *tfm = NULL;
drivers/md/dm-integrity.c
200
struct crypto_shash *journal_mac;
drivers/md/dm-integrity.c
227
struct crypto_shash *internal_shash;
drivers/md/dm-integrity.c
4364
static int get_mac(struct crypto_shash **shash, struct crypto_ahash **ahash,
drivers/md/dm-verity-target.c
1314
struct crypto_shash *shash;
drivers/md/dm-verity.h
43
struct crypto_shash *shash_tfm;
drivers/net/wireless/ath/ath11k/dp_rx.c
3185
struct crypto_shash *tfm;
drivers/net/wireless/ath/ath11k/dp_rx.c
3221
static int ath11k_dp_rx_h_michael_mic(struct crypto_shash *tfm, u8 *key,
drivers/net/wireless/ath/ath11k/peer.h
32
struct crypto_shash *tfm_mmic;
drivers/net/wireless/ath/ath12k/dp_peer.h
142
struct crypto_shash *tfm_mmic;
drivers/net/wireless/ath/ath12k/dp_rx.c
1438
struct crypto_shash *tfm;
drivers/net/wireless/ath/ath12k/dp_rx.c
1478
int ath12k_dp_rx_h_michael_mic(struct crypto_shash *tfm, u8 *key,
drivers/net/wireless/ath/ath12k/dp_rx.h
209
int ath12k_dp_rx_h_michael_mic(struct crypto_shash *tfm, u8 *key,
drivers/net/wireless/intel/ipw2x00/libipw_crypto_tkip.c
467
static int michael_mic(struct crypto_shash *tfm_michael, u8 *key, u8 *hdr,
drivers/net/wireless/intel/ipw2x00/libipw_crypto_tkip.c
60
struct crypto_shash *rx_tfm_michael;
drivers/net/wireless/intel/ipw2x00/libipw_crypto_tkip.c
61
struct crypto_shash *tx_tfm_michael;
drivers/net/wireless/intel/ipw2x00/libipw_crypto_tkip.c
617
struct crypto_shash *tfm = tkey->tx_tfm_michael;
drivers/net/wireless/intel/ipw2x00/libipw_crypto_tkip.c
619
struct crypto_shash *tfm3 = tkey->rx_tfm_michael;
drivers/nvme/common/auth.c
244
struct crypto_shash *key_tfm;
drivers/nvme/common/auth.c
310
struct crypto_shash *tfm;
drivers/nvme/common/auth.c
335
struct crypto_shash *tfm;
drivers/nvme/common/auth.c
492
struct crypto_shash *tfm;
drivers/nvme/common/auth.c
590
struct crypto_shash *tfm;
drivers/nvme/common/auth.c
701
static int hkdf_expand_label(struct crypto_shash *hmac_tfm,
drivers/nvme/common/auth.c
769
struct crypto_shash *hmac_tfm;
drivers/nvme/host/auth.c
25
struct crypto_shash *shash_tfm;
drivers/nvme/target/auth.c
295
struct crypto_shash *shash_tfm;
drivers/nvme/target/auth.c
402
struct crypto_shash *shash_tfm;
drivers/target/iscsi/iscsi_target_auth.c
260
struct crypto_shash *tfm = NULL;
drivers/target/iscsi/iscsi_target_auth.c
76
struct crypto_shash *tfm;
fs/smb/client/misc.c
800
struct crypto_shash *alg = NULL;
fs/smb/server/crypto_ctx.c
65
struct crypto_shash *tfm = NULL;
fs/ubifs/auth.c
90
struct crypto_shash *tfm)
fs/ubifs/ubifs.h
1488
struct crypto_shash *hash_tfm;
fs/ubifs/ubifs.h
1489
struct crypto_shash *hmac_tfm;
include/crypto/cryptd.h
47
struct crypto_shash *cryptd_ahash_child(struct cryptd_ahash *tfm);
include/crypto/hash.h
174
struct crypto_shash *tfm;
include/crypto/hash.h
262
int (*setkey)(struct crypto_shash *tfm, const u8 *key,
include/crypto/hash.h
264
int (*init_tfm)(struct crypto_shash *tfm);
include/crypto/hash.h
265
void (*exit_tfm)(struct crypto_shash *tfm);
include/crypto/hash.h
266
int (*clone_tfm)(struct crypto_shash *dst, struct crypto_shash *src);
include/crypto/hash.h
759
struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type,
include/crypto/hash.h
762
struct crypto_shash *crypto_clone_shash(struct crypto_shash *tfm);
include/crypto/hash.h
766
static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm)
include/crypto/hash.h
777
static inline void crypto_free_shash(struct crypto_shash *tfm)
include/crypto/hash.h
782
static inline const char *crypto_shash_alg_name(struct crypto_shash *tfm)
include/crypto/hash.h
787
static inline const char *crypto_shash_driver_name(struct crypto_shash *tfm)
include/crypto/hash.h
801
static inline unsigned int crypto_shash_blocksize(struct crypto_shash *tfm)
include/crypto/hash.h
811
static inline struct shash_alg *crypto_shash_alg(struct crypto_shash *tfm)
include/crypto/hash.h
825
static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm)
include/crypto/hash.h
830
static inline unsigned int crypto_shash_statesize(struct crypto_shash *tfm)
include/crypto/hash.h
835
static inline u32 crypto_shash_get_flags(struct crypto_shash *tfm)
include/crypto/hash.h
840
static inline void crypto_shash_set_flags(struct crypto_shash *tfm, u32 flags)
include/crypto/hash.h
845
static inline void crypto_shash_clear_flags(struct crypto_shash *tfm, u32 flags)
include/crypto/hash.h
865
static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm)
include/crypto/hash.h
888
int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
include/crypto/hash.h
925
int crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data,
include/crypto/hkdf.h
14
int hkdf_extract(struct crypto_shash *hmac_tfm, const u8 *ikm,
include/crypto/hkdf.h
17
int hkdf_expand(struct crypto_shash *hmac_tfm,
include/crypto/internal/hash.h
274
static inline void *crypto_shash_ctx(struct crypto_shash *tfm)
include/crypto/internal/hash.h
292
struct crypto_shash *shash)
include/crypto/internal/hash.h
302
static inline struct crypto_shash *crypto_spawn_shash(
include/crypto/internal/hash.h
308
static inline struct crypto_shash *__crypto_shash_cast(struct crypto_tfm *tfm)
include/crypto/internal/hash.h
310
return container_of(tfm, struct crypto_shash, base);
include/crypto/internal/hash.h
347
static inline unsigned int crypto_shash_coresize(struct crypto_shash *tfm)
include/crypto/internal/hash.h
95
int shash_no_setkey(struct crypto_shash *tfm, const u8 *key,
include/crypto/internal/kdf_selftest.h
25
int (*crypto_kdf_setkey)(struct crypto_shash *kmd,
include/crypto/internal/kdf_selftest.h
28
int (*crypto_kdf_generate)(struct crypto_shash *kmd,
include/crypto/internal/kdf_selftest.h
33
struct crypto_shash *kmd;
include/crypto/kdf_sp800108.h
31
int crypto_kdf108_ctr_generate(struct crypto_shash *kmd,
include/crypto/kdf_sp800108.h
57
int crypto_kdf108_setkey(struct crypto_shash *kmd,
include/crypto/krb5.h
130
struct crypto_shash *crypto_krb5_prepare_checksum(const struct krb5_enctype *krb5,
include/crypto/krb5.h
144
struct crypto_shash *shash,
include/crypto/krb5.h
15
struct crypto_shash;
include/crypto/krb5.h
150
struct crypto_shash *shash,
net/bluetooth/smp.c
130
struct crypto_shash *tfm_cmac;
net/bluetooth/smp.c
169
static int aes_cmac(struct crypto_shash *tfm, const u8 k[16], const u8 *m,
net/bluetooth/smp.c
209
static int smp_f4(struct crypto_shash *tfm_cmac, const u8 u[32],
net/bluetooth/smp.c
232
static int smp_f5(struct crypto_shash *tfm_cmac, const u8 w[32],
net/bluetooth/smp.c
285
static int smp_f6(struct crypto_shash *tfm_cmac, const u8 w[16],
net/bluetooth/smp.c
313
static int smp_g2(struct crypto_shash *tfm_cmac, const u8 u[32], const u8 v[32],
net/bluetooth/smp.c
3289
struct crypto_shash *tfm_cmac;
net/bluetooth/smp.c
339
static int smp_h6(struct crypto_shash *tfm_cmac, const u8 w[16],
net/bluetooth/smp.c
355
static int smp_h7(struct crypto_shash *tfm_cmac, const u8 w[16],
net/bluetooth/smp.c
3568
static int __init test_f4(struct crypto_shash *tfm_cmac)
net/bluetooth/smp.c
3600
static int __init test_f5(struct crypto_shash *tfm_cmac)
net/bluetooth/smp.c
3637
static int __init test_f6(struct crypto_shash *tfm_cmac)
net/bluetooth/smp.c
3670
static int __init test_g2(struct crypto_shash *tfm_cmac)
net/bluetooth/smp.c
3702
static int __init test_h6(struct crypto_shash *tfm_cmac)
net/bluetooth/smp.c
3739
static int __init run_selftests(struct crypto_shash *tfm_cmac,
net/bluetooth/smp.c
3823
struct crypto_shash *tfm_cmac;
net/bluetooth/smp.c
92
struct crypto_shash *tfm_cmac;
net/mac80211/aes_cmac.c
23
int ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad,
net/mac80211/aes_cmac.c
63
struct crypto_shash *ieee80211_aes_cmac_key_setup(const u8 key[],
net/mac80211/aes_cmac.c
66
struct crypto_shash *tfm;
net/mac80211/aes_cmac.c
81
void ieee80211_aes_cmac_key_free(struct crypto_shash *tfm)
net/mac80211/aes_cmac.h
12
struct crypto_shash *ieee80211_aes_cmac_key_setup(const u8 key[],
net/mac80211/aes_cmac.h
14
int ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad,
net/mac80211/aes_cmac.h
17
void ieee80211_aes_cmac_key_free(struct crypto_shash *tfm);
net/mac80211/fils_aead.c
149
struct crypto_shash *tfm;
net/mac80211/fils_aead.c
25
static int aes_s2v(struct crypto_shash *tfm,
net/mac80211/fils_aead.c
72
struct crypto_shash *tfm;
net/mac80211/key.h
96
struct crypto_shash *tfm;
net/rxrpc/rxgk_common.h
113
struct crypto_shash *shash,
net/rxrpc/rxgk_common.h
31
struct crypto_shash *tx_Kc; /* Transmission checksum key */
net/rxrpc/rxgk_common.h
32
struct crypto_shash *rx_Kc; /* Reception checksum key */
net/rxrpc/rxgk_kdf.c
101
struct crypto_shash *shash;
net/sunrpc/auth_gss/gss_krb5_keys.c
305
krb5_cmac_Ki(struct crypto_shash *tfm, const struct xdr_netobj *constant,
net/sunrpc/auth_gss/gss_krb5_keys.c
377
struct crypto_shash *tfm;
net/sunrpc/auth_gss/gss_krb5_keys.c
444
krb5_hmac_K1(struct crypto_shash *tfm, const struct xdr_netobj *label,
net/sunrpc/auth_gss/gss_krb5_keys.c
506
struct crypto_shash *tfm;
samples/tsm-mr/tsm_mr_sample.c
26
struct crypto_shash *tfm;
security/integrity/evm/evm_crypto.c
30
static struct crypto_shash *hmac_tfm;
security/integrity/evm/evm_crypto.c
31
static struct crypto_shash *evm_tfm[HASH_ALGO__LAST];
security/integrity/evm/evm_crypto.c
79
struct crypto_shash **tfm, *tmp_tfm;
security/integrity/ima/ima.h
54
struct crypto_shash *tfm;
security/integrity/ima/ima_crypto.c
209
static void ima_free_tfm(struct crypto_shash *tfm)
security/integrity/ima/ima_crypto.c
453
struct crypto_shash *tfm)
security/integrity/ima/ima_crypto.c
504
struct crypto_shash *tfm;
security/integrity/ima/ima_crypto.c
57
static struct crypto_shash *ima_shash_tfm;
security/integrity/ima/ima_crypto.c
717
struct crypto_shash *tfm)
security/integrity/ima/ima_crypto.c
748
struct crypto_shash *tfm;
security/integrity/ima/ima_crypto.c
796
struct crypto_shash *tfm)
security/integrity/ima/ima_crypto.c
841
struct crypto_shash *tfm;
security/integrity/ima/ima_crypto.c
86
static struct crypto_shash *ima_alloc_tfm(enum hash_algo algo)
security/integrity/ima/ima_crypto.c
88
struct crypto_shash *tfm = ima_shash_tfm;
security/keys/dh.c
138
struct crypto_shash *hash = NULL;
security/keys/dh.c
67
static int kdf_alloc(struct crypto_shash **hash, char *hashname)
security/keys/dh.c
69
struct crypto_shash *tfm;
security/keys/dh.c
88
static void kdf_dealloc(struct crypto_shash *hash)
security/keys/dh.c
94
static int keyctl_dh_compute_kdf(struct crypto_shash *hash,