Symbol: shash_desc
arch/arm/crypto/ghash-ce-glue.c
102
static int ghash_import(struct shash_desc *desc, const void *in)
arch/arm/crypto/ghash-ce-glue.c
112
static int ghash_finup(struct shash_desc *desc, const u8 *src,
arch/arm/crypto/ghash-ce-glue.c
61
static int ghash_init(struct shash_desc *desc)
arch/arm/crypto/ghash-ce-glue.c
80
static int ghash_update(struct shash_desc *desc, const u8 *src,
arch/arm/crypto/ghash-ce-glue.c
92
static int ghash_export(struct shash_desc *desc, void *out)
arch/arm64/crypto/aes-glue.c
831
static int mac_init(struct shash_desc *desc)
arch/arm64/crypto/aes-glue.c
854
static int mac_update(struct shash_desc *desc, const u8 *p, unsigned int len)
arch/arm64/crypto/aes-glue.c
865
static int cbcmac_finup(struct shash_desc *desc, const u8 *src,
arch/arm64/crypto/aes-glue.c
879
static int cmac_finup(struct shash_desc *desc, const u8 *src, unsigned int len,
arch/arm64/crypto/ghash-ce-glue.c
106
static int ghash_export(struct shash_desc *desc, void *out)
arch/arm64/crypto/ghash-ce-glue.c
116
static int ghash_import(struct shash_desc *desc, const void *in)
arch/arm64/crypto/ghash-ce-glue.c
126
static int ghash_finup(struct shash_desc *desc, const u8 *src,
arch/arm64/crypto/ghash-ce-glue.c
62
static int ghash_init(struct shash_desc *desc)
arch/arm64/crypto/ghash-ce-glue.c
85
static int ghash_update(struct shash_desc *desc, const u8 *src,
arch/arm64/crypto/sm3-ce-glue.c
24
static int sm3_ce_update(struct shash_desc *desc, const u8 *data,
arch/arm64/crypto/sm3-ce-glue.c
35
static int sm3_ce_finup(struct shash_desc *desc, const u8 *data,
arch/arm64/crypto/sm3-neon-glue.c
20
static int sm3_neon_update(struct shash_desc *desc, const u8 *data,
arch/arm64/crypto/sm3-neon-glue.c
28
static int sm3_neon_finup(struct shash_desc *desc, const u8 *data,
arch/arm64/crypto/sm4-ce-glue.c
566
static int sm4_mac_init(struct shash_desc *desc)
arch/arm64/crypto/sm4-ce-glue.c
574
static int sm4_mac_update(struct shash_desc *desc, const u8 *p,
arch/arm64/crypto/sm4-ce-glue.c
588
static int sm4_cmac_finup(struct shash_desc *desc, const u8 *src,
arch/arm64/crypto/sm4-ce-glue.c
607
static int sm4_cbcmac_finup(struct shash_desc *desc, const u8 *src,
arch/powerpc/crypto/ghash.c
118
static int p8_ghash_update(struct shash_desc *desc,
arch/powerpc/crypto/ghash.c
127
static int p8_ghash_finup(struct shash_desc *desc, const u8 *src,
arch/powerpc/crypto/ghash.c
43
static int p8_ghash_init(struct shash_desc *desc)
arch/riscv/crypto/ghash-riscv64-glue.c
49
static int riscv64_ghash_init(struct shash_desc *desc)
arch/riscv/crypto/ghash-riscv64-glue.c
79
static int riscv64_ghash_update(struct shash_desc *desc, const u8 *src,
arch/riscv/crypto/ghash-riscv64-glue.c
90
static int riscv64_ghash_finup(struct shash_desc *desc, const u8 *src,
arch/riscv/crypto/sm3-riscv64-glue.c
46
static int riscv64_sm3_update(struct shash_desc *desc, const u8 *data,
arch/riscv/crypto/sm3-riscv64-glue.c
52
static int riscv64_sm3_finup(struct shash_desc *desc, const u8 *data,
arch/s390/crypto/ghash_s390.c
29
static int ghash_init(struct shash_desc *desc)
arch/s390/crypto/ghash_s390.c
53
static int ghash_update(struct shash_desc *desc,
arch/s390/crypto/ghash_s390.c
76
static int ghash_finup(struct shash_desc *desc, const u8 *src,
arch/s390/crypto/ghash_s390.c
86
static int ghash_export(struct shash_desc *desc, void *out)
arch/s390/crypto/ghash_s390.c
94
static int ghash_import(struct shash_desc *desc, const void *in)
arch/s390/crypto/hmac_s390.c
182
static int s390_hmac_sha2_init(struct shash_desc *desc)
arch/s390/crypto/hmac_s390.c
214
static int s390_hmac_sha2_update(struct shash_desc *desc,
arch/s390/crypto/hmac_s390.c
231
static int s390_hmac_sha2_finup(struct shash_desc *desc, const u8 *src,
arch/s390/crypto/hmac_s390.c
249
static int s390_hmac_sha2_digest(struct shash_desc *desc,
arch/s390/crypto/hmac_s390.c
269
static int s390_hmac_export_zero(struct shash_desc *desc, void *out)
arch/s390/crypto/hmac_s390.c
287
static int s390_hmac_export(struct shash_desc *desc, void *out)
arch/s390/crypto/hmac_s390.c
311
static int s390_hmac_import(struct shash_desc *desc, const void *in)
arch/x86/crypto/ghash-clmulni-intel_glue.c
108
static int ghash_finup(struct shash_desc *desc, const u8 *src,
arch/x86/crypto/ghash-clmulni-intel_glue.c
31
static int ghash_init(struct shash_desc *desc)
arch/x86/crypto/ghash-clmulni-intel_glue.c
81
static int ghash_update(struct shash_desc *desc,
arch/x86/crypto/sm3_avx_glue.c
22
static int sm3_avx_update(struct shash_desc *desc, const u8 *data,
arch/x86/crypto/sm3_avx_glue.c
39
static int sm3_avx_finup(struct shash_desc *desc, const u8 *data,
crypto/ahash.c
162
static inline struct shash_desc *prepare_shash_desc(struct ahash_request *req,
crypto/ahash.c
165
struct shash_desc *desc = ahash_request_ctx(req);
crypto/ahash.c
171
int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc)
crypto/ahash.c
184
int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc)
crypto/ahash.c
205
int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc)
crypto/asymmetric_keys/pkcs7_verify.c
27
struct shash_desc *desc;
crypto/asymmetric_keys/verify_pefile.c
247
struct shash_desc *desc)
crypto/asymmetric_keys/verify_pefile.c
326
struct shash_desc *desc;
crypto/asymmetric_keys/x509_public_key.c
29
struct shash_desc *desc;
crypto/blake2b.c
31
static int crypto_blake2b_init(struct shash_desc *desc)
crypto/blake2b.c
41
static int crypto_blake2b_update(struct shash_desc *desc,
crypto/blake2b.c
48
static int crypto_blake2b_final(struct shash_desc *desc, u8 *out)
crypto/blake2b.c
54
static int crypto_blake2b_digest(struct shash_desc *desc,
crypto/ccm.c
780
static int crypto_cbcmac_digest_init(struct shash_desc *pdesc)
crypto/ccm.c
789
static int crypto_cbcmac_digest_update(struct shash_desc *pdesc, const u8 *p,
crypto/ccm.c
807
static int crypto_cbcmac_digest_finup(struct shash_desc *pdesc, const u8 *src,
crypto/cmac.c
117
static int crypto_cmac_digest_finup(struct shash_desc *pdesc, const u8 *src,
crypto/cmac.c
90
static int crypto_cmac_digest_init(struct shash_desc *pdesc)
crypto/cmac.c
99
static int crypto_cmac_digest_update(struct shash_desc *pdesc, const u8 *p,
crypto/crc32.c
47
static int crc32_init(struct shash_desc *desc)
crypto/crc32.c
57
static int crc32_update(struct shash_desc *desc, const u8 *data,
crypto/crc32.c
73
static int crc32_finup(struct shash_desc *desc, const u8 *data,
crypto/crc32.c
79
static int crc32_final(struct shash_desc *desc, u8 *out)
crypto/crc32.c
87
static int crc32_digest(struct shash_desc *desc, const u8 *data,
crypto/crc32c.c
106
static int chksum_finup(struct shash_desc *desc, const u8 *data,
crypto/crc32c.c
114
static int chksum_digest(struct shash_desc *desc, const u8 *data,
crypto/crc32c.c
57
static int chksum_init(struct shash_desc *desc)
crypto/crc32c.c
83
static int chksum_update(struct shash_desc *desc, const u8 *data,
crypto/crc32c.c
92
static int chksum_final(struct shash_desc *desc, u8 *out)
crypto/cryptd.c
1040
struct shash_desc *cryptd_shash_desc(struct ahash_request *req)
crypto/cryptd.c
505
static struct shash_desc *cryptd_hash_prepare(struct ahash_request *req,
crypto/cryptd.c
543
struct shash_desc *desc;
crypto/cryptd.c
565
struct shash_desc *desc;
crypto/cryptd.c
582
struct shash_desc *desc;
crypto/cryptd.c
599
struct shash_desc *desc;
crypto/cryptd.c
619
struct shash_desc *desc;
crypto/cryptd.c
649
struct shash_desc *desc = cryptd_shash_desc(req);
crypto/cryptd.c
87
struct shash_desc desc;
crypto/crypto_null.c
23
static int null_init(struct shash_desc *desc)
crypto/crypto_null.c
28
static int null_update(struct shash_desc *desc, const u8 *data,
crypto/crypto_null.c
34
static int null_final(struct shash_desc *desc, u8 *out)
crypto/crypto_null.c
39
static int null_digest(struct shash_desc *desc, const u8 *data,
crypto/drbg.c
1435
struct shash_desc shash;
crypto/drbg.c
1450
sdesc = kzalloc(sizeof(struct shash_desc) + crypto_shash_descsize(tfm),
crypto/ghash-generic.c
108
static int ghash_finup(struct shash_desc *desc, const u8 *src,
crypto/ghash-generic.c
46
static int ghash_init(struct shash_desc *desc)
crypto/ghash-generic.c
78
static int ghash_update(struct shash_desc *desc,
crypto/ghash-generic.c
95
static void ghash_flush(struct shash_desc *desc, const u8 *src,
crypto/hmac.c
101
struct shash_desc *desc = shash_desc_ctx(pdesc);
crypto/hmac.c
106
static int hmac_import_core(struct shash_desc *pdesc, const void *in)
crypto/hmac.c
109
struct shash_desc *desc = shash_desc_ctx(pdesc);
crypto/hmac.c
115
static int hmac_init(struct shash_desc *pdesc)
crypto/hmac.c
122
static int hmac_update(struct shash_desc *pdesc,
crypto/hmac.c
125
struct shash_desc *desc = shash_desc_ctx(pdesc);
crypto/hmac.c
130
static int hmac_finup(struct shash_desc *pdesc, const u8 *data,
crypto/hmac.c
139
struct shash_desc *desc = shash_desc_ctx(pdesc);
crypto/hmac.c
228
inst->alg.descsize = sizeof(struct shash_desc) + salg->descsize;
crypto/hmac.c
82
static int hmac_export(struct shash_desc *pdesc, void *out)
crypto/hmac.c
84
struct shash_desc *desc = shash_desc_ctx(pdesc);
crypto/hmac.c
89
static int hmac_import(struct shash_desc *pdesc, const void *in)
crypto/hmac.c
91
struct shash_desc *desc = shash_desc_ctx(pdesc);
crypto/hmac.c
99
static int hmac_export_core(struct shash_desc *pdesc, void *out)
crypto/jitterentropy-kcapi.c
108
struct shash_desc *hash_state_desc = (struct shash_desc *)hash_state;
crypto/jitterentropy-kcapi.c
176
struct shash_desc *hash_state_desc = (struct shash_desc *)hash_state;
crypto/jitterentropy-kcapi.c
199
struct shash_desc *sdesc;
crypto/jitterentropy-kcapi.c
228
struct shash_desc *sdesc;
crypto/jitterentropy-kcapi.c
241
size = sizeof(struct shash_desc) + crypto_shash_descsize(hash);
crypto/krb5/internal.h
112
crypto_roundup(sizeof(struct shash_desc) + crypto_shash_descsize(TFM))
crypto/krb5/internal.h
173
int crypto_shash_update_sg(struct shash_desc *desc, struct scatterlist *sg,
crypto/krb5/rfc3961_simplified.c
144
struct shash_desc *desc;
crypto/krb5/rfc3961_simplified.c
662
struct shash_desc *desc;
crypto/krb5/rfc3961_simplified.c
721
struct shash_desc *desc;
crypto/krb5/rfc3961_simplified.c
83
int crypto_shash_update_sg(struct shash_desc *desc, struct scatterlist *sg,
crypto/krb5/rfc6803_camellia.c
124
struct shash_desc *desc;
crypto/krb5/rfc6803_camellia.c
32
struct shash_desc *desc;
crypto/krb5/rfc8009_aes2.c
38
struct shash_desc *desc;
crypto/md4.c
139
static int md4_init(struct shash_desc *desc)
crypto/md4.c
152
static int md4_update(struct shash_desc *desc, const u8 *data, unsigned int len)
crypto/md4.c
184
static int md4_final(struct shash_desc *desc, u8 *out)
crypto/md5.c
100
static int crypto_md5_import(struct shash_desc *desc, const void *in)
crypto/md5.c
105
static int crypto_md5_export_core(struct shash_desc *desc, void *out)
crypto/md5.c
110
static int crypto_md5_import_core(struct shash_desc *desc, const void *in)
crypto/md5.c
125
static int crypto_hmac_md5_init(struct shash_desc *desc)
crypto/md5.c
131
static int crypto_hmac_md5_update(struct shash_desc *desc,
crypto/md5.c
138
static int crypto_hmac_md5_final(struct shash_desc *desc, u8 *out)
crypto/md5.c
144
static int crypto_hmac_md5_digest(struct shash_desc *desc,
crypto/md5.c
151
static int crypto_hmac_md5_export(struct shash_desc *desc, void *out)
crypto/md5.c
156
static int crypto_hmac_md5_import(struct shash_desc *desc, const void *in)
crypto/md5.c
164
static int crypto_hmac_md5_export_core(struct shash_desc *desc, void *out)
crypto/md5.c
169
static int crypto_hmac_md5_import_core(struct shash_desc *desc, const void *in)
crypto/md5.c
69
static int crypto_md5_init(struct shash_desc *desc)
crypto/md5.c
75
static int crypto_md5_update(struct shash_desc *desc,
crypto/md5.c
82
static int crypto_md5_final(struct shash_desc *desc, u8 *out)
crypto/md5.c
88
static int crypto_md5_digest(struct shash_desc *desc,
crypto/md5.c
95
static int crypto_md5_export(struct shash_desc *desc, void *out)
crypto/michael_mic.c
47
static int michael_init(struct shash_desc *desc)
crypto/michael_mic.c
59
static int michael_update(struct shash_desc *desc, const u8 *data,
crypto/michael_mic.c
97
static int michael_final(struct shash_desc *desc, u8 *out)
crypto/rmd160.c
252
static int rmd160_init(struct shash_desc *desc)
crypto/rmd160.c
267
static int rmd160_update(struct shash_desc *desc, const u8 *data,
crypto/rmd160.c
288
static int rmd160_finup(struct shash_desc *desc, const u8 *src,
crypto/sha1.c
104
static int crypto_sha1_import(struct shash_desc *desc, const void *in)
crypto/sha1.c
109
static int crypto_sha1_export_core(struct shash_desc *desc, void *out)
crypto/sha1.c
114
static int crypto_sha1_import_core(struct shash_desc *desc, const void *in)
crypto/sha1.c
129
static int crypto_hmac_sha1_init(struct shash_desc *desc)
crypto/sha1.c
135
static int crypto_hmac_sha1_update(struct shash_desc *desc,
crypto/sha1.c
142
static int crypto_hmac_sha1_final(struct shash_desc *desc, u8 *out)
crypto/sha1.c
148
static int crypto_hmac_sha1_digest(struct shash_desc *desc,
crypto/sha1.c
155
static int crypto_hmac_sha1_export(struct shash_desc *desc, void *out)
crypto/sha1.c
160
static int crypto_hmac_sha1_import(struct shash_desc *desc, const void *in)
crypto/sha1.c
168
static int crypto_hmac_sha1_export_core(struct shash_desc *desc, void *out)
crypto/sha1.c
173
static int crypto_hmac_sha1_import_core(struct shash_desc *desc, const void *in)
crypto/sha1.c
73
static int crypto_sha1_init(struct shash_desc *desc)
crypto/sha1.c
79
static int crypto_sha1_update(struct shash_desc *desc,
crypto/sha1.c
86
static int crypto_sha1_final(struct shash_desc *desc, u8 *out)
crypto/sha1.c
92
static int crypto_sha1_digest(struct shash_desc *desc,
crypto/sha1.c
99
static int crypto_sha1_export(struct shash_desc *desc, void *out)
crypto/sha256.c
104
static int crypto_sha224_export(struct shash_desc *desc, void *out)
crypto/sha256.c
109
static int crypto_sha224_import(struct shash_desc *desc, const void *in)
crypto/sha256.c
114
static int crypto_sha224_export_core(struct shash_desc *desc, void *out)
crypto/sha256.c
119
static int crypto_sha224_import_core(struct shash_desc *desc, const void *in)
crypto/sha256.c
136
static int crypto_sha256_init(struct shash_desc *desc)
crypto/sha256.c
142
static int crypto_sha256_update(struct shash_desc *desc,
crypto/sha256.c
149
static int crypto_sha256_final(struct shash_desc *desc, u8 *out)
crypto/sha256.c
155
static int crypto_sha256_digest(struct shash_desc *desc,
crypto/sha256.c
162
static int crypto_sha256_export(struct shash_desc *desc, void *out)
crypto/sha256.c
167
static int crypto_sha256_import(struct shash_desc *desc, const void *in)
crypto/sha256.c
172
static int crypto_sha256_export_core(struct shash_desc *desc, void *out)
crypto/sha256.c
177
static int crypto_sha256_import_core(struct shash_desc *desc, const void *in)
crypto/sha256.c
194
static int crypto_hmac_sha224_init(struct shash_desc *desc)
crypto/sha256.c
200
static int crypto_hmac_sha224_update(struct shash_desc *desc,
crypto/sha256.c
207
static int crypto_hmac_sha224_final(struct shash_desc *desc, u8 *out)
crypto/sha256.c
213
static int crypto_hmac_sha224_digest(struct shash_desc *desc,
crypto/sha256.c
221
static int crypto_hmac_sha224_export(struct shash_desc *desc, void *out)
crypto/sha256.c
226
static int crypto_hmac_sha224_import(struct shash_desc *desc, const void *in)
crypto/sha256.c
234
static int crypto_hmac_sha224_export_core(struct shash_desc *desc, void *out)
crypto/sha256.c
240
static int crypto_hmac_sha224_import_core(struct shash_desc *desc,
crypto/sha256.c
261
static int crypto_hmac_sha256_init(struct shash_desc *desc)
crypto/sha256.c
267
static int crypto_hmac_sha256_update(struct shash_desc *desc,
crypto/sha256.c
274
static int crypto_hmac_sha256_final(struct shash_desc *desc, u8 *out)
crypto/sha256.c
280
static int crypto_hmac_sha256_digest(struct shash_desc *desc,
crypto/sha256.c
288
static int crypto_hmac_sha256_export(struct shash_desc *desc, void *out)
crypto/sha256.c
293
static int crypto_hmac_sha256_import(struct shash_desc *desc, const void *in)
crypto/sha256.c
301
static int crypto_hmac_sha256_export_core(struct shash_desc *desc, void *out)
crypto/sha256.c
307
static int crypto_hmac_sha256_import_core(struct shash_desc *desc,
crypto/sha256.c
78
static int crypto_sha224_init(struct shash_desc *desc)
crypto/sha256.c
84
static int crypto_sha224_update(struct shash_desc *desc,
crypto/sha256.c
91
static int crypto_sha224_final(struct shash_desc *desc, u8 *out)
crypto/sha256.c
97
static int crypto_sha224_digest(struct shash_desc *desc,
crypto/sha3.c
13
static int crypto_sha3_224_init(struct shash_desc *desc)
crypto/sha3.c
19
static int crypto_sha3_256_init(struct shash_desc *desc)
crypto/sha3.c
25
static int crypto_sha3_384_init(struct shash_desc *desc)
crypto/sha3.c
31
static int crypto_sha3_512_init(struct shash_desc *desc)
crypto/sha3.c
37
static int crypto_sha3_update(struct shash_desc *desc, const u8 *data,
crypto/sha3.c
44
static int crypto_sha3_final(struct shash_desc *desc, u8 *out)
crypto/sha3.c
50
static int crypto_sha3_224_digest(struct shash_desc *desc,
crypto/sha3.c
57
static int crypto_sha3_256_digest(struct shash_desc *desc,
crypto/sha3.c
64
static int crypto_sha3_384_digest(struct shash_desc *desc,
crypto/sha3.c
71
static int crypto_sha3_512_digest(struct shash_desc *desc,
crypto/sha3.c
78
static int crypto_sha3_export_core(struct shash_desc *desc, void *out)
crypto/sha3.c
84
static int crypto_sha3_import_core(struct shash_desc *desc, const void *in)
crypto/sha512.c
106
static int crypto_sha384_export(struct shash_desc *desc, void *out)
crypto/sha512.c
111
static int crypto_sha384_import(struct shash_desc *desc, const void *in)
crypto/sha512.c
116
static int crypto_sha384_export_core(struct shash_desc *desc, void *out)
crypto/sha512.c
121
static int crypto_sha384_import_core(struct shash_desc *desc, const void *in)
crypto/sha512.c
142
static int crypto_sha512_init(struct shash_desc *desc)
crypto/sha512.c
148
static int crypto_sha512_update(struct shash_desc *desc,
crypto/sha512.c
155
static int crypto_sha512_final(struct shash_desc *desc, u8 *out)
crypto/sha512.c
161
static int crypto_sha512_digest(struct shash_desc *desc,
crypto/sha512.c
168
static int crypto_sha512_export(struct shash_desc *desc, void *out)
crypto/sha512.c
173
static int crypto_sha512_import(struct shash_desc *desc, const void *in)
crypto/sha512.c
178
static int crypto_sha512_export_core(struct shash_desc *desc, void *out)
crypto/sha512.c
183
static int crypto_sha512_import_core(struct shash_desc *desc, const void *in)
crypto/sha512.c
200
static int crypto_hmac_sha384_init(struct shash_desc *desc)
crypto/sha512.c
206
static int crypto_hmac_sha384_update(struct shash_desc *desc,
crypto/sha512.c
213
static int crypto_hmac_sha384_final(struct shash_desc *desc, u8 *out)
crypto/sha512.c
219
static int crypto_hmac_sha384_digest(struct shash_desc *desc,
crypto/sha512.c
227
static int crypto_hmac_sha384_export(struct shash_desc *desc, void *out)
crypto/sha512.c
232
static int crypto_hmac_sha384_import(struct shash_desc *desc, const void *in)
crypto/sha512.c
240
static int crypto_hmac_sha384_export_core(struct shash_desc *desc, void *out)
crypto/sha512.c
246
static int crypto_hmac_sha384_import_core(struct shash_desc *desc,
crypto/sha512.c
267
static int crypto_hmac_sha512_init(struct shash_desc *desc)
crypto/sha512.c
273
static int crypto_hmac_sha512_update(struct shash_desc *desc,
crypto/sha512.c
280
static int crypto_hmac_sha512_final(struct shash_desc *desc, u8 *out)
crypto/sha512.c
286
static int crypto_hmac_sha512_digest(struct shash_desc *desc,
crypto/sha512.c
294
static int crypto_hmac_sha512_export(struct shash_desc *desc, void *out)
crypto/sha512.c
299
static int crypto_hmac_sha512_import(struct shash_desc *desc, const void *in)
crypto/sha512.c
307
static int crypto_hmac_sha512_export_core(struct shash_desc *desc, void *out)
crypto/sha512.c
313
static int crypto_hmac_sha512_import_core(struct shash_desc *desc,
crypto/sha512.c
80
static int crypto_sha384_init(struct shash_desc *desc)
crypto/sha512.c
86
static int crypto_sha384_update(struct shash_desc *desc,
crypto/sha512.c
93
static int crypto_sha384_final(struct shash_desc *desc, u8 *out)
crypto/sha512.c
99
static int crypto_sha384_digest(struct shash_desc *desc,
crypto/shash.c
101
struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out)
crypto/shash.c
110
int crypto_shash_finup(struct shash_desc *restrict desc, const u8 *data,
crypto/shash.c
176
static int shash_default_digest(struct shash_desc *desc, const u8 *data,
crypto/shash.c
183
int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
crypto/shash.c
206
static int __crypto_shash_export(struct shash_desc *desc, void *out,
crypto/shash.c
207
int (*export)(struct shash_desc *desc,
crypto/shash.c
226
int crypto_shash_export_core(struct shash_desc *desc, void *out)
crypto/shash.c
233
int crypto_shash_export(struct shash_desc *desc, void *out)
crypto/shash.c
249
static int __crypto_shash_import(struct shash_desc *desc, const void *in,
crypto/shash.c
250
int (*import)(struct shash_desc *desc,
crypto/shash.c
275
int crypto_shash_import_core(struct shash_desc *desc, const void *in)
crypto/shash.c
282
int crypto_shash_import(struct shash_desc *desc, const void *in)
crypto/shash.c
451
static int shash_default_export_core(struct shash_desc *desc, void *out)
crypto/shash.c
456
static int shash_default_import_core(struct shash_desc *desc, const void *in)
crypto/shash.c
514
base->cra_reqsize = sizeof(struct shash_desc) + alg->descsize;
crypto/shash.c
67
static int __crypto_shash_init(struct shash_desc *desc)
crypto/shash.c
81
int crypto_shash_init(struct shash_desc *desc)
crypto/shash.c
89
static int shash_default_finup(struct shash_desc *desc, const u8 *data,
crypto/shash.c
99
int (*op)(struct shash_desc *desc, const u8 *data,
crypto/sm3_generic.c
25
static int crypto_sm3_update(struct shash_desc *desc, const u8 *data,
crypto/sm3_generic.c
31
static int crypto_sm3_finup(struct shash_desc *desc, const u8 *data,
crypto/streebog_generic.c
1013
static int streebog_finup(struct shash_desc *desc, const u8 *src,
crypto/streebog_generic.c
909
static int streebog_init(struct shash_desc *desc)
crypto/streebog_generic.c
999
static int streebog_update(struct shash_desc *desc, const u8 *data,
crypto/testmgr.c
1291
struct shash_desc *desc,
crypto/testmgr.c
1640
struct shash_desc *desc,
crypto/testmgr.c
1663
struct ahash_request *req, struct shash_desc *desc,
crypto/testmgr.c
1750
struct shash_desc *desc,
crypto/testmgr.c
1867
struct shash_desc **desc_ret)
crypto/testmgr.c
1870
struct shash_desc *desc;
crypto/testmgr.c
1906
struct shash_desc *desc = NULL;
crypto/wp512.c
1011
static int wp512_update(struct shash_desc *desc, const u8 *source,
crypto/wp512.c
1029
static int wp512_finup(struct shash_desc *desc, const u8 *src,
crypto/wp512.c
1062
static int wp384_finup(struct shash_desc *desc, const u8 *src,
crypto/wp512.c
1074
static int wp256_finup(struct shash_desc *desc, const u8 *src,
crypto/wp512.c
986
static int wp512_init(struct shash_desc *desc) {
crypto/xcbc.c
58
static int crypto_xcbc_digest_init(struct shash_desc *pdesc)
crypto/xcbc.c
67
static int crypto_xcbc_digest_update(struct shash_desc *pdesc, const u8 *p,
crypto/xcbc.c
85
static int crypto_xcbc_digest_finup(struct shash_desc *pdesc, const u8 *src,
crypto/xxhash_generic.c
31
static int xxhash64_init(struct shash_desc *desc)
crypto/xxhash_generic.c
41
static int xxhash64_update(struct shash_desc *desc, const u8 *data,
crypto/xxhash_generic.c
51
static int xxhash64_final(struct shash_desc *desc, u8 *out)
crypto/xxhash_generic.c
60
static int xxhash64_digest(struct shash_desc *desc, const u8 *data,
drivers/block/drbd/drbd_receiver.c
5178
struct shash_desc *desc;
drivers/block/drbd/drbd_receiver.c
5191
desc = kmalloc(sizeof(struct shash_desc) +
drivers/crypto/bcm/cipher.h
236
struct shash_desc *shash;
drivers/crypto/bcm/util.c
189
struct shash_desc shash;
drivers/crypto/bcm/util.c
227
size = sizeof(struct shash_desc) + crypto_shash_descsize(hash);
drivers/crypto/inside-secure/safexcel_hash.c
36
struct shash_desc *shdesc;
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
694
size = sizeof(struct shash_desc) + crypto_shash_descsize(alg);
drivers/crypto/marvell/octeontx/otx_cptvf_algs.h
166
struct shash_desc shash;
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
784
size = sizeof(struct shash_desc) + crypto_shash_descsize(alg);
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.h
159
struct shash_desc shash;
drivers/crypto/nx/nx-aes-xcbc.c
155
static int nx_xcbc_init(struct shash_desc *desc)
drivers/crypto/nx/nx-aes-xcbc.c
164
static int nx_xcbc_update(struct shash_desc *desc,
drivers/crypto/nx/nx-aes-xcbc.c
244
static int nx_xcbc_finup(struct shash_desc *desc, const u8 *src,
drivers/crypto/nx/nx-aes-xcbc.c
58
static int nx_xcbc_empty(struct shash_desc *desc, u8 *out)
drivers/crypto/nx/nx-sha256.c
141
static int nx_sha256_finup(struct shash_desc *desc, const u8 *src,
drivers/crypto/nx/nx-sha256.c
206
static int nx_sha256_export(struct shash_desc *desc, void *out)
drivers/crypto/nx/nx-sha256.c
223
static int nx_sha256_import(struct shash_desc *desc, const void *in)
drivers/crypto/nx/nx-sha256.c
45
static int nx_sha256_init(struct shash_desc *desc)
drivers/crypto/nx/nx-sha256.c
62
static int nx_sha256_update(struct shash_desc *desc, const u8 *data,
drivers/crypto/nx/nx-sha512.c
144
static int nx_sha512_finup(struct shash_desc *desc, const u8 *src,
drivers/crypto/nx/nx-sha512.c
211
static int nx_sha512_export(struct shash_desc *desc, void *out)
drivers/crypto/nx/nx-sha512.c
228
static int nx_sha512_import(struct shash_desc *desc, const void *in)
drivers/crypto/nx/nx-sha512.c
45
static int nx_sha512_init(struct shash_desc *desc)
drivers/crypto/nx/nx-sha512.c
63
static int nx_sha512_update(struct shash_desc *desc, const u8 *data,
drivers/crypto/padlock-sha.c
102
static int padlock_sha_finup(struct shash_desc *desc, const u8 *in,
drivers/crypto/padlock-sha.c
114
static int padlock_sha1_finup(struct shash_desc *desc, const u8 *in,
drivers/crypto/padlock-sha.c
136
static int padlock_sha256_finup(struct shash_desc *desc, const u8 *in,
drivers/crypto/padlock-sha.c
243
static int padlock_sha1_update_nano(struct shash_desc *desc,
drivers/crypto/padlock-sha.c
261
static int padlock_sha256_update_nano(struct shash_desc *desc, const u8 *src,
drivers/crypto/padlock-sha.c
27
static inline void *padlock_shash_desc_ctx(struct shash_desc *desc)
drivers/crypto/padlock-sha.c
32
static int padlock_sha1_init(struct shash_desc *desc)
drivers/crypto/padlock-sha.c
43
static int padlock_sha256_init(struct shash_desc *desc)
drivers/crypto/padlock-sha.c
51
static int padlock_sha_update(struct shash_desc *desc,
drivers/crypto/padlock-sha.c
74
static int padlock_sha_export(struct shash_desc *desc, void *out)
drivers/crypto/padlock-sha.c
81
static int padlock_sha_import(struct shash_desc *desc, const void *in)
drivers/crypto/sa2ul.c
408
static void sa_export_shash(void *state, struct shash_desc *hash,
drivers/crypto/xilinx/zynqmp-sha.c
112
static int zynqmp_sha_finup(struct shash_desc *desc, const u8 *data, unsigned int length, u8 *out)
drivers/crypto/xilinx/zynqmp-sha.c
123
static int __zynqmp_sha_digest(struct shash_desc *desc, const u8 *data,
drivers/crypto/xilinx/zynqmp-sha.c
159
static int zynqmp_sha_digest(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out)
drivers/crypto/xilinx/zynqmp-sha.c
79
static int zynqmp_sha_continue(struct shash_desc *desc,
drivers/crypto/xilinx/zynqmp-sha.c
80
struct shash_desc *fbdesc, int err)
drivers/crypto/xilinx/zynqmp-sha.c
87
static int zynqmp_sha_init(struct shash_desc *desc)
drivers/crypto/xilinx/zynqmp-sha.c
99
static int zynqmp_sha_update(struct shash_desc *desc, const u8 *data, unsigned int length)
drivers/md/dm-verity-target.c
121
struct shash_desc *desc;
drivers/md/dm-verity.h
133
struct shash_desc shash;
drivers/nvme/target/auth.c
403
struct shash_desc *shash;
drivers/target/iscsi/iscsi_target_auth.c
261
struct shash_desc *desc = NULL;
fs/smb/client/cifsglob.h
226
struct shash_desc *aes_cmac; /* block-cipher based MAC function, for SMB3 signatures */
fs/smb/client/cifsglob.h
2326
struct shash_desc *shash;
fs/smb/client/cifsproto.h
353
int cifs_alloc_hash(const char *name, struct shash_desc **sdesc);
fs/smb/client/cifsproto.h
354
void cifs_free_hash(struct shash_desc **sdesc);
fs/smb/client/misc.c
797
cifs_alloc_hash(const char *name, struct shash_desc **sdesc)
fs/smb/client/misc.c
813
*sdesc = kmalloc(sizeof(struct shash_desc) + crypto_shash_descsize(alg), GFP_KERNEL);
fs/smb/client/misc.c
831
cifs_free_hash(struct shash_desc **sdesc)
fs/smb/client/smb2transport.c
477
struct shash_desc *shash = NULL;
fs/smb/server/crypto_ctx.c
31
static void free_shash(struct shash_desc *shash)
fs/smb/server/crypto_ctx.c
63
static struct shash_desc *alloc_shash_desc(int id)
fs/smb/server/crypto_ctx.c
66
struct shash_desc *shash;
fs/smb/server/crypto_ctx.h
31
struct shash_desc *desc[CRYPTO_SHASH_MAX];
fs/ubifs/auth.c
120
struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c)
fs/ubifs/auth.c
474
int __ubifs_shash_copy_state(const struct ubifs_info *c, struct shash_desc *src,
fs/ubifs/auth.c
475
struct shash_desc *target)
fs/ubifs/auth.c
63
struct shash_desc *inhash)
fs/ubifs/auth.c
89
static struct shash_desc *ubifs_get_desc(const struct ubifs_info *c,
fs/ubifs/auth.c
92
struct shash_desc *desc;
fs/ubifs/journal.c
226
int len, struct shash_desc *hash)
fs/ubifs/lpt.c
1657
struct shash_desc *desc;
fs/ubifs/lpt.c
609
struct shash_desc *desc;
fs/ubifs/replay.c
567
struct shash_desc *log_hash, u8 *hash)
fs/ubifs/replay.c
594
struct shash_desc *log_hash, int is_last)
fs/ubifs/ubifs.h
1495
struct shash_desc *log_hash;
fs/ubifs/ubifs.h
1535
struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c);
fs/ubifs/ubifs.h
1536
static inline struct shash_desc *ubifs_hash_get_desc(const struct ubifs_info *c)
fs/ubifs/ubifs.h
1542
struct shash_desc *desc)
fs/ubifs/ubifs.h
1551
struct shash_desc *desc, const void *buf,
fs/ubifs/ubifs.h
1566
struct shash_desc *desc, u8 *out)
fs/ubifs/ubifs.h
1583
struct shash_desc *inhash);
fs/ubifs/ubifs.h
1714
int __ubifs_shash_copy_state(const struct ubifs_info *c, struct shash_desc *src,
fs/ubifs/ubifs.h
1715
struct shash_desc *target);
fs/ubifs/ubifs.h
1717
struct shash_desc *src,
fs/ubifs/ubifs.h
1718
struct shash_desc *target)
fs/ubifs/ubifs.h
718
struct shash_desc *log_hash;
fs/ubifs/ubifs.h
734
struct shash_desc *log_hash;
include/crypto/cryptd.h
48
struct shash_desc *cryptd_shash_desc(struct ahash_request *req);
include/crypto/hash.h
1003
static inline int crypto_shash_update(struct shash_desc *desc, const u8 *data,
include/crypto/hash.h
1023
static inline int crypto_shash_final(struct shash_desc *desc, u8 *out)
include/crypto/hash.h
1028
static inline void shash_desc_zero(struct shash_desc *desc)
include/crypto/hash.h
198
#define HASH_MAX_DESCSIZE (sizeof(struct shash_desc) + \
include/crypto/hash.h
204
char __##shash##_desc[sizeof(struct shash_desc) + HASH_MAX_DESCSIZE] \
include/crypto/hash.h
205
__aligned(__alignof__(struct shash_desc)); \
include/crypto/hash.h
206
struct shash_desc *shash = (struct shash_desc *)__##shash##_desc
include/crypto/hash.h
250
int (*init)(struct shash_desc *desc);
include/crypto/hash.h
251
int (*update)(struct shash_desc *desc, const u8 *data,
include/crypto/hash.h
253
int (*final)(struct shash_desc *desc, u8 *out);
include/crypto/hash.h
254
int (*finup)(struct shash_desc *desc, const u8 *data,
include/crypto/hash.h
256
int (*digest)(struct shash_desc *desc, const u8 *data,
include/crypto/hash.h
258
int (*export)(struct shash_desc *desc, void *out);
include/crypto/hash.h
259
int (*import)(struct shash_desc *desc, const void *in);
include/crypto/hash.h
260
int (*export_core)(struct shash_desc *desc, void *out);
include/crypto/hash.h
261
int (*import_core)(struct shash_desc *desc, const void *in);
include/crypto/hash.h
870
static inline void *shash_desc_ctx(struct shash_desc *desc)
include/crypto/hash.h
906
int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
include/crypto/hash.h
943
int crypto_shash_export(struct shash_desc *desc, void *out);
include/crypto/hash.h
957
int crypto_shash_import(struct shash_desc *desc, const void *in);
include/crypto/hash.h
971
int crypto_shash_init(struct shash_desc *desc);
include/crypto/hash.h
988
int crypto_shash_finup(struct shash_desc *desc, const u8 *data,
include/crypto/internal/hash.h
161
int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc);
include/crypto/internal/hash.h
162
int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc);
include/crypto/internal/hash.h
163
int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc);
include/crypto/internal/hash.h
390
int crypto_shash_export_core(struct shash_desc *desc, void *out);
include/crypto/internal/hash.h
402
int crypto_shash_import_core(struct shash_desc *desc, const void *in);
include/crypto/sm3_base.h
22
static inline int sm3_base_init(struct shash_desc *desc)
include/crypto/sm3_base.h
28
static inline int sm3_base_do_update_blocks(struct shash_desc *desc,
include/crypto/sm3_base.h
40
static inline int sm3_base_do_finup(struct shash_desc *desc,
include/crypto/sm3_base.h
71
static inline int sm3_base_finish(struct shash_desc *desc, u8 *out)
security/integrity/evm/evm_crypto.c
143
static void hmac_add_misc(struct shash_desc *desc, struct inode *inode,
security/integrity/evm/evm_crypto.c
230
struct shash_desc *desc;
security/integrity/evm/evm_crypto.c
403
struct shash_desc *desc;
security/integrity/evm/evm_crypto.c
75
static struct shash_desc *init_desc(char type, uint8_t hash_algo)
security/integrity/evm/evm_crypto.c
80
struct shash_desc *desc;