Symbol: crypto_shash
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/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;
crypto/aes.c
42
static int __maybe_unused crypto_aes_cmac_setkey(struct crypto_shash *tfm,
crypto/aes.c
49
static int __maybe_unused crypto_aes_xcbc_setkey(struct crypto_shash *tfm,
crypto/aes.c
92
static int __maybe_unused crypto_aes_cbcmac_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/asymmetric_keys/pkcs7_verify.c
26
struct crypto_shash *tfm;
crypto/asymmetric_keys/verify_pefile.c
327
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 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
55
static int chksum_setkey(struct crypto_shash *tfm, const u8 *key,
crypto/cryptd.c
442
struct crypto_shash *hash;
crypto/cryptd.c
466
struct crypto_shash *child = ctx->child;
crypto/cryptd.c
527
struct crypto_shash *child = ctx->child;
crypto/cryptd.c
603
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/essiv.c
272
struct crypto_shash *hash;
crypto/essiv.c
56
struct crypto_shash *hash;
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 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/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
277
struct crypto_shash *krb5_prepare_checksum(const struct krb5_enctype *krb5,
crypto/krb5/krb5_api.c
281
struct crypto_shash *ci = NULL;
crypto/krb5/krb5_api.c
316
struct crypto_shash *crypto_krb5_prepare_checksum(const struct krb5_enctype *krb5,
crypto/krb5/krb5_api.c
320
struct crypto_shash *ci = NULL;
crypto/krb5/krb5_api.c
438
struct crypto_shash *shash,
crypto/krb5/krb5_api.c
475
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/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
370
.tfmsize = offsetof(struct crypto_shash, base),
crypto/shash.c
383
struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type,
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
1294
struct crypto_shash *tfm = desc->tfm;
crypto/testmgr.c
1865
struct crypto_shash **tfm_ret,
crypto/testmgr.c
1868
struct crypto_shash *tfm;
crypto/testmgr.c
1904
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
1442
extern void drbd_csum_bio(struct crypto_shash *, struct bio *, void *);
drivers/block/drbd/drbd_int.h
1443
extern void drbd_csum_ee(struct crypto_shash *, struct drbd_peer_request *,
drivers/block/drbd/drbd_int.h
653
struct crypto_shash *cram_hmac_tfm;
drivers/block/drbd/drbd_int.h
654
struct crypto_shash *integrity_tfm; /* checksums we compute, updates protected by connection->data->mutex */
drivers/block/drbd/drbd_int.h
655
struct crypto_shash *peer_integrity_tfm; /* checksums we verify, only accessed from receiver thread */
drivers/block/drbd/drbd_int.h
656
struct crypto_shash *csums_tfm;
drivers/block/drbd/drbd_int.h
657
struct crypto_shash *verify_tfm;
drivers/block/drbd/drbd_nl.c
2374
struct crypto_shash *verify_tfm;
drivers/block/drbd/drbd_nl.c
2375
struct crypto_shash *csums_tfm;
drivers/block/drbd/drbd_nl.c
2376
struct crypto_shash *cram_hmac_tfm;
drivers/block/drbd/drbd_nl.c
2377
struct crypto_shash *integrity_tfm;
drivers/block/drbd/drbd_nl.c
2381
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
3457
struct crypto_shash *peer_integrity_tfm = NULL;
drivers/block/drbd/drbd_receiver.c
3603
static struct crypto_shash *drbd_crypto_alloc_digest_safe(
drivers/block/drbd/drbd_receiver.c
3607
struct crypto_shash *tfm;
drivers/block/drbd/drbd_receiver.c
3665
struct crypto_shash *verify_tfm = NULL;
drivers/block/drbd/drbd_receiver.c
3666
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
2396
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
58
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
743
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
162
struct crypto_shash *shash;
drivers/crypto/omap-sham.c
171
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
1486
struct crypto_shash *xtfm;
drivers/crypto/tegra/tegra-se-aes.c
77
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-integrity.c
200
struct crypto_shash *journal_mac;
drivers/md/dm-integrity.c
227
struct crypto_shash *internal_shash;
drivers/md/dm-integrity.c
4356
static int get_mac(struct crypto_shash **shash, struct crypto_ahash **ahash,
drivers/md/dm-verity-target.c
1312
struct crypto_shash *shash;
drivers/md/dm-verity.h
43
struct crypto_shash *shash_tfm;
drivers/target/iscsi/iscsi_target_auth.c
261
struct crypto_shash *tfm = NULL;
drivers/target/iscsi/iscsi_target_auth.c
77
struct crypto_shash *tfm;
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/hash.h
172
struct crypto_shash *tfm;
include/crypto/hash.h
259
int (*setkey)(struct crypto_shash *tfm, const u8 *key,
include/crypto/hash.h
261
int (*init_tfm)(struct crypto_shash *tfm);
include/crypto/hash.h
262
void (*exit_tfm)(struct crypto_shash *tfm);
include/crypto/hash.h
753
struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type,
include/crypto/hash.h
758
static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm)
include/crypto/hash.h
769
static inline void crypto_free_shash(struct crypto_shash *tfm)
include/crypto/hash.h
774
static inline const char *crypto_shash_alg_name(struct crypto_shash *tfm)
include/crypto/hash.h
779
static inline const char *crypto_shash_driver_name(struct crypto_shash *tfm)
include/crypto/hash.h
793
static inline unsigned int crypto_shash_blocksize(struct crypto_shash *tfm)
include/crypto/hash.h
803
static inline struct shash_alg *crypto_shash_alg(struct crypto_shash *tfm)
include/crypto/hash.h
817
static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm)
include/crypto/hash.h
822
static inline unsigned int crypto_shash_statesize(struct crypto_shash *tfm)
include/crypto/hash.h
827
static inline u32 crypto_shash_get_flags(struct crypto_shash *tfm)
include/crypto/hash.h
832
static inline void crypto_shash_set_flags(struct crypto_shash *tfm, u32 flags)
include/crypto/hash.h
837
static inline void crypto_shash_clear_flags(struct crypto_shash *tfm, u32 flags)
include/crypto/hash.h
857
static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm)
include/crypto/hash.h
880
int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
include/crypto/hash.h
917
int crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data,
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
133
struct crypto_shash *crypto_krb5_prepare_checksum(const struct krb5_enctype *krb5,
include/crypto/krb5.h
147
struct crypto_shash *shash,
include/crypto/krb5.h
15
struct crypto_shash;
include/crypto/krb5.h
153
struct crypto_shash *shash,
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_internal.h
26
struct crypto_shash *initiator_sign_shash;
net/sunrpc/auth_gss/gss_krb5_internal.h
27
struct crypto_shash *acceptor_sign_shash;
net/sunrpc/auth_gss/gss_krb5_seal.c
109
struct crypto_shash *shash = ctx->initiate ?
net/sunrpc/auth_gss/gss_krb5_unseal.c
77
struct crypto_shash *shash = ctx->initiate ?
security/integrity/digsig_asymmetric.c
181
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
63
struct crypto_shash *tfm;
security/integrity/ima/ima_crypto.c
179
static void ima_free_tfm(struct crypto_shash *tfm)
security/integrity/ima/ima_crypto.c
195
struct crypto_shash *tfm)
security/integrity/ima/ima_crypto.c
22
static struct crypto_shash *ima_shash_tfm;
security/integrity/ima/ima_crypto.c
252
struct crypto_shash *tfm;
security/integrity/ima/ima_crypto.c
373
struct crypto_shash *tfm)
security/integrity/ima/ima_crypto.c
404
struct crypto_shash *tfm;
security/integrity/ima/ima_crypto.c
438
struct crypto_shash *tfm)
security/integrity/ima/ima_crypto.c
483
struct crypto_shash *tfm;
security/integrity/ima/ima_crypto.c
50
static struct crypto_shash *ima_alloc_tfm(enum hash_algo algo)
security/integrity/ima/ima_crypto.c
52
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,