Symbol: shash_desc
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/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)
crypto/aes.c
105
static int __maybe_unused crypto_aes_cbcmac_update(struct shash_desc *desc,
crypto/aes.c
113
static int __maybe_unused crypto_aes_cbcmac_final(struct shash_desc *desc,
crypto/aes.c
120
static int __maybe_unused crypto_aes_cbcmac_digest(struct shash_desc *desc,
crypto/aes.c
59
static int __maybe_unused crypto_aes_cmac_init(struct shash_desc *desc)
crypto/aes.c
65
static int __maybe_unused crypto_aes_cmac_update(struct shash_desc *desc,
crypto/aes.c
73
static int __maybe_unused crypto_aes_cmac_final(struct shash_desc *desc,
crypto/aes.c
80
static int __maybe_unused crypto_aes_cmac_digest(struct shash_desc *desc,
crypto/aes.c
99
static int __maybe_unused crypto_aes_cbcmac_init(struct shash_desc *desc)
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
328
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
40
static int chksum_init(struct shash_desc *desc)
crypto/crc32c.c
66
static int chksum_update(struct shash_desc *desc, const u8 *data,
crypto/crc32c.c
75
static int chksum_final(struct shash_desc *desc, u8 *out)
crypto/crc32c.c
89
static int chksum_finup(struct shash_desc *desc, const u8 *data,
crypto/crc32c.c
97
static int chksum_digest(struct shash_desc *desc, const u8 *data,
crypto/cryptd.c
490
static struct shash_desc *cryptd_hash_prepare(struct ahash_request *req,
crypto/cryptd.c
528
struct shash_desc *desc;
crypto/cryptd.c
550
struct shash_desc *desc;
crypto/cryptd.c
567
struct shash_desc *desc;
crypto/cryptd.c
584
struct shash_desc *desc;
crypto/cryptd.c
604
struct shash_desc *desc;
crypto/cryptd.c
635
struct shash_desc *desc = &rctx->desc;
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/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
214
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/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/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
412
static int shash_default_export_core(struct shash_desc *desc, void *out)
crypto/shash.c
417
static int shash_default_import_core(struct shash_desc *desc, const void *in)
crypto/shash.c
475
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.c
19
static int crypto_sm3_init(struct shash_desc *desc)
crypto/sm3.c
25
static int crypto_sm3_update(struct shash_desc *desc,
crypto/sm3.c
32
static int crypto_sm3_final(struct shash_desc *desc, u8 *out)
crypto/sm3.c
38
static int crypto_sm3_digest(struct shash_desc *desc,
crypto/sm3.c
45
static int crypto_sm3_export_core(struct shash_desc *desc, void *out)
crypto/sm3.c
51
static int crypto_sm3_import_core(struct shash_desc *desc, const void *in)
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
1290
struct shash_desc *desc,
crypto/testmgr.c
1639
struct shash_desc *desc,
crypto/testmgr.c
1662
struct ahash_request *req, struct shash_desc *desc,
crypto/testmgr.c
1749
struct shash_desc *desc,
crypto/testmgr.c
1866
struct shash_desc **desc_ret)
crypto/testmgr.c
1869
struct shash_desc *desc;
crypto/testmgr.c
1905
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
5183
struct shash_desc *desc;
drivers/block/drbd/drbd_receiver.c
5196
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/target/iscsi/iscsi_target_auth.c
262
struct shash_desc *desc = NULL;
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
566
struct shash_desc *log_hash, u8 *hash)
fs/ubifs/replay.c
593
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/hash.h
1015
static inline int crypto_shash_final(struct shash_desc *desc, u8 *out)
include/crypto/hash.h
1020
static inline void shash_desc_zero(struct shash_desc *desc)
include/crypto/hash.h
196
#define HASH_MAX_DESCSIZE (sizeof(struct shash_desc) + \
include/crypto/hash.h
202
char __##shash##_desc[sizeof(struct shash_desc) + HASH_MAX_DESCSIZE] \
include/crypto/hash.h
203
__aligned(__alignof__(struct shash_desc)); \
include/crypto/hash.h
204
struct shash_desc *shash = (struct shash_desc *)__##shash##_desc
include/crypto/hash.h
247
int (*init)(struct shash_desc *desc);
include/crypto/hash.h
248
int (*update)(struct shash_desc *desc, const u8 *data,
include/crypto/hash.h
250
int (*final)(struct shash_desc *desc, u8 *out);
include/crypto/hash.h
251
int (*finup)(struct shash_desc *desc, const u8 *data,
include/crypto/hash.h
253
int (*digest)(struct shash_desc *desc, const u8 *data,
include/crypto/hash.h
255
int (*export)(struct shash_desc *desc, void *out);
include/crypto/hash.h
256
int (*import)(struct shash_desc *desc, const void *in);
include/crypto/hash.h
257
int (*export_core)(struct shash_desc *desc, void *out);
include/crypto/hash.h
258
int (*import_core)(struct shash_desc *desc, const void *in);
include/crypto/hash.h
862
static inline void *shash_desc_ctx(struct shash_desc *desc)
include/crypto/hash.h
898
int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
include/crypto/hash.h
935
int crypto_shash_export(struct shash_desc *desc, void *out);
include/crypto/hash.h
949
int crypto_shash_import(struct shash_desc *desc, const void *in);
include/crypto/hash.h
963
int crypto_shash_init(struct shash_desc *desc);
include/crypto/hash.h
980
int crypto_shash_finup(struct shash_desc *desc, const u8 *data,
include/crypto/hash.h
995
static inline int crypto_shash_update(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);
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
236
struct shash_desc *desc;
security/integrity/evm/evm_crypto.c
409
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;