Home
last modified time | relevance | path

Searched refs:shash_desc (Results 1 - 25 of 351) sorted by relevance

12345678910>>...15

/kernel/linux/linux-5.10/arch/x86/crypto/
H A Dsha1_ssse3_glue.c29 static int sha1_update(struct shash_desc *desc, const u8 *data, in sha1_update()
51 static int sha1_finup(struct shash_desc *desc, const u8 *data, in sha1_finup()
69 static int sha1_ssse3_update(struct shash_desc *desc, const u8 *data, in sha1_ssse3_update()
75 static int sha1_ssse3_finup(struct shash_desc *desc, const u8 *data, in sha1_ssse3_finup()
82 static int sha1_ssse3_final(struct shash_desc *desc, u8 *out) in sha1_ssse3_final()
119 static int sha1_avx_update(struct shash_desc *desc, const u8 *data, in sha1_avx_update()
125 static int sha1_avx_finup(struct shash_desc *desc, const u8 *data, in sha1_avx_finup()
131 static int sha1_avx_final(struct shash_desc *desc, u8 *out) in sha1_avx_final()
201 static int sha1_avx2_update(struct shash_desc *desc, const u8 *data, in sha1_avx2_update()
207 static int sha1_avx2_finup(struct shash_desc *des
[all...]
H A Dsha512_ssse3_glue.c44 static int sha512_update(struct shash_desc *desc, const u8 *data, in sha512_update()
66 static int sha512_finup(struct shash_desc *desc, const u8 *data, in sha512_finup()
81 static int sha512_ssse3_update(struct shash_desc *desc, const u8 *data, in sha512_ssse3_update()
87 static int sha512_ssse3_finup(struct shash_desc *desc, const u8 *data, in sha512_ssse3_finup()
94 static int sha512_ssse3_final(struct shash_desc *desc, u8 *out) in sha512_ssse3_final()
157 static int sha512_avx_update(struct shash_desc *desc, const u8 *data, in sha512_avx_update()
163 static int sha512_avx_finup(struct shash_desc *desc, const u8 *data, in sha512_avx_finup()
170 static int sha512_avx_final(struct shash_desc *desc, u8 *out) in sha512_avx_final()
223 static int sha512_avx2_update(struct shash_desc *desc, const u8 *data, in sha512_avx2_update()
229 static int sha512_avx2_finup(struct shash_desc *des
[all...]
H A Dsha256_ssse3_glue.c46 static int _sha256_update(struct shash_desc *desc, const u8 *data, in _sha256_update()
68 static int sha256_finup(struct shash_desc *desc, const u8 *data, in sha256_finup()
83 static int sha256_ssse3_update(struct shash_desc *desc, const u8 *data, in sha256_ssse3_update()
89 static int sha256_ssse3_finup(struct shash_desc *desc, const u8 *data, in sha256_ssse3_finup()
96 static int sha256_ssse3_final(struct shash_desc *desc, u8 *out) in sha256_ssse3_final()
149 static int sha256_avx_update(struct shash_desc *desc, const u8 *data, in sha256_avx_update()
155 static int sha256_avx_finup(struct shash_desc *desc, const u8 *data, in sha256_avx_finup()
161 static int sha256_avx_final(struct shash_desc *desc, u8 *out) in sha256_avx_final()
225 static int sha256_avx2_update(struct shash_desc *desc, const u8 *data, in sha256_avx2_update()
231 static int sha256_avx2_finup(struct shash_desc *des
[all...]
H A Dcrc32c-intel_glue.c94 static int crc32c_intel_init(struct shash_desc *desc) in crc32c_intel_init()
104 static int crc32c_intel_update(struct shash_desc *desc, const u8 *data, in crc32c_intel_update()
120 static int crc32c_intel_finup(struct shash_desc *desc, const u8 *data, in crc32c_intel_finup()
126 static int crc32c_intel_final(struct shash_desc *desc, u8 *out) in crc32c_intel_final()
134 static int crc32c_intel_digest(struct shash_desc *desc, const u8 *data, in crc32c_intel_digest()
151 static int crc32c_pcl_intel_update(struct shash_desc *desc, const u8 *data, in crc32c_pcl_intel_update()
182 static int crc32c_pcl_intel_finup(struct shash_desc *desc, const u8 *data, in crc32c_pcl_intel_finup()
188 static int crc32c_pcl_intel_digest(struct shash_desc *desc, const u8 *data, in crc32c_pcl_intel_digest()
/kernel/linux/linux-5.10/include/crypto/
H A Dhash.h150 struct shash_desc { struct
158 * Worst case is hmac(sha3-224-generic). Its context is a nested 'shash_desc'
161 #define HASH_MAX_DESCSIZE (sizeof(struct shash_desc) + 360)
166 char __##shash##_desc[sizeof(struct shash_desc) + HASH_MAX_DESCSIZE] \
167 __aligned(__alignof__(struct shash_desc)); \
168 struct shash_desc *shash = (struct shash_desc *)__##shash##_desc
195 * shash_desc.__ctx
199 int (*init)(struct shash_desc *desc);
200 int (*update)(struct shash_desc *des
[all...]
H A Dnhpoly1305.h64 int crypto_nhpoly1305_init(struct shash_desc *desc);
65 int crypto_nhpoly1305_update(struct shash_desc *desc,
67 int crypto_nhpoly1305_update_helper(struct shash_desc *desc,
70 int crypto_nhpoly1305_final(struct shash_desc *desc, u8 *dst);
71 int crypto_nhpoly1305_final_helper(struct shash_desc *desc, u8 *dst,
H A Dsm3.h33 struct shash_desc;
35 extern int crypto_sm3_update(struct shash_desc *desc, const u8 *data,
38 extern int crypto_sm3_final(struct shash_desc *desc, u8 *out);
40 extern int crypto_sm3_finup(struct shash_desc *desc, const u8 *data,
H A Dsha.h96 struct shash_desc;
98 extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data,
101 extern int crypto_sha1_finup(struct shash_desc *desc, const u8 *data,
104 extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data,
107 extern int crypto_sha256_finup(struct shash_desc *desc, const u8 *data,
110 extern int crypto_sha512_update(struct shash_desc *desc, const u8 *data,
113 extern int crypto_sha512_finup(struct shash_desc *desc, const u8 *data,
/kernel/linux/linux-6.6/include/crypto/
H A Dhash.h175 struct shash_desc { struct
183 * Worst case is hmac(sha3-224-generic). Its context is a nested 'shash_desc'
186 #define HASH_MAX_DESCSIZE (sizeof(struct shash_desc) + 360)
189 char __##shash##_desc[sizeof(struct shash_desc) + HASH_MAX_DESCSIZE] \
190 __aligned(__alignof__(struct shash_desc)); \
191 struct shash_desc *shash = (struct shash_desc *)__##shash##_desc
219 * shash_desc.__ctx
226 int (*init)(struct shash_desc *desc);
227 int (*update)(struct shash_desc *des
[all...]
H A Dnhpoly1305.h64 int crypto_nhpoly1305_init(struct shash_desc *desc);
65 int crypto_nhpoly1305_update(struct shash_desc *desc,
67 int crypto_nhpoly1305_update_helper(struct shash_desc *desc,
70 int crypto_nhpoly1305_final(struct shash_desc *desc, u8 *dst);
71 int crypto_nhpoly1305_final_helper(struct shash_desc *desc, u8 *dst,
H A Dsm2.h14 struct shash_desc;
17 int sm2_compute_z_digest(struct shash_desc *desc,
20 static inline int sm2_compute_z_digest(struct shash_desc *desc, in sm2_compute_z_digest()
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Dsha512_ssse3_glue.c45 static int sha512_update(struct shash_desc *desc, const u8 *data, in sha512_update()
67 static int sha512_finup(struct shash_desc *desc, const u8 *data, in sha512_finup()
82 static int sha512_ssse3_update(struct shash_desc *desc, const u8 *data, in sha512_ssse3_update()
88 static int sha512_ssse3_finup(struct shash_desc *desc, const u8 *data, in sha512_ssse3_finup()
95 static int sha512_ssse3_final(struct shash_desc *desc, u8 *out) in sha512_ssse3_final()
158 static int sha512_avx_update(struct shash_desc *desc, const u8 *data, in sha512_avx_update()
164 static int sha512_avx_finup(struct shash_desc *desc, const u8 *data, in sha512_avx_finup()
171 static int sha512_avx_final(struct shash_desc *desc, u8 *out) in sha512_avx_final()
224 static int sha512_avx2_update(struct shash_desc *desc, const u8 *data, in sha512_avx2_update()
230 static int sha512_avx2_finup(struct shash_desc *des
[all...]
H A Dsha1_ssse3_glue.c38 static int sha1_update(struct shash_desc *desc, const u8 *data, in sha1_update()
60 static int sha1_finup(struct shash_desc *desc, const u8 *data, in sha1_finup()
78 static int sha1_ssse3_update(struct shash_desc *desc, const u8 *data, in sha1_ssse3_update()
84 static int sha1_ssse3_finup(struct shash_desc *desc, const u8 *data, in sha1_ssse3_finup()
91 static int sha1_ssse3_final(struct shash_desc *desc, u8 *out) in sha1_ssse3_final()
128 static int sha1_avx_update(struct shash_desc *desc, const u8 *data, in sha1_avx_update()
134 static int sha1_avx_finup(struct shash_desc *desc, const u8 *data, in sha1_avx_finup()
140 static int sha1_avx_final(struct shash_desc *desc, u8 *out) in sha1_avx_final()
210 static int sha1_avx2_update(struct shash_desc *desc, const u8 *data, in sha1_avx2_update()
216 static int sha1_avx2_finup(struct shash_desc *des
[all...]
H A Dsha256_ssse3_glue.c55 static int _sha256_update(struct shash_desc *desc, const u8 *data, in _sha256_update()
77 static int sha256_finup(struct shash_desc *desc, const u8 *data, in sha256_finup()
92 static int sha256_ssse3_update(struct shash_desc *desc, const u8 *data, in sha256_ssse3_update()
98 static int sha256_ssse3_finup(struct shash_desc *desc, const u8 *data, in sha256_ssse3_finup()
105 static int sha256_ssse3_final(struct shash_desc *desc, u8 *out) in sha256_ssse3_final()
158 static int sha256_avx_update(struct shash_desc *desc, const u8 *data, in sha256_avx_update()
164 static int sha256_avx_finup(struct shash_desc *desc, const u8 *data, in sha256_avx_finup()
170 static int sha256_avx_final(struct shash_desc *desc, u8 *out) in sha256_avx_final()
234 static int sha256_avx2_update(struct shash_desc *desc, const u8 *data, in sha256_avx2_update()
240 static int sha256_avx2_finup(struct shash_desc *des
[all...]
H A Dcrc32c-intel_glue.c94 static int crc32c_intel_init(struct shash_desc *desc) in crc32c_intel_init()
104 static int crc32c_intel_update(struct shash_desc *desc, const u8 *data, in crc32c_intel_update()
120 static int crc32c_intel_finup(struct shash_desc *desc, const u8 *data, in crc32c_intel_finup()
126 static int crc32c_intel_final(struct shash_desc *desc, u8 *out) in crc32c_intel_final()
134 static int crc32c_intel_digest(struct shash_desc *desc, const u8 *data, in crc32c_intel_digest()
151 static int crc32c_pcl_intel_update(struct shash_desc *desc, const u8 *data, in crc32c_pcl_intel_update()
182 static int crc32c_pcl_intel_finup(struct shash_desc *desc, const u8 *data, in crc32c_pcl_intel_finup()
188 static int crc32c_pcl_intel_digest(struct shash_desc *desc, const u8 *data, in crc32c_pcl_intel_digest()
/kernel/linux/linux-5.10/drivers/crypto/
H A Dpadlock-sha.c24 struct shash_desc fallback;
31 static int padlock_sha_init(struct shash_desc *desc) in padlock_sha_init()
40 static int padlock_sha_update(struct shash_desc *desc, in padlock_sha_update()
48 static int padlock_sha_export(struct shash_desc *desc, void *out) in padlock_sha_export()
55 static int padlock_sha_import(struct shash_desc *desc, const void *in) in padlock_sha_import()
71 static int padlock_sha1_finup(struct shash_desc *desc, const u8 *in, in padlock_sha1_finup()
125 static int padlock_sha1_final(struct shash_desc *desc, u8 *out) in padlock_sha1_final()
132 static int padlock_sha256_finup(struct shash_desc *desc, const u8 *in, in padlock_sha256_finup()
186 static int padlock_sha256_final(struct shash_desc *desc, u8 *out) in padlock_sha256_final()
268 static int padlock_sha1_init_nano(struct shash_desc *des
[all...]
/kernel/linux/linux-6.6/drivers/crypto/
H A Dpadlock-sha.c25 struct shash_desc fallback;
32 static int padlock_sha_init(struct shash_desc *desc) in padlock_sha_init()
41 static int padlock_sha_update(struct shash_desc *desc, in padlock_sha_update()
49 static int padlock_sha_export(struct shash_desc *desc, void *out) in padlock_sha_export()
56 static int padlock_sha_import(struct shash_desc *desc, const void *in) in padlock_sha_import()
72 static int padlock_sha1_finup(struct shash_desc *desc, const u8 *in, in padlock_sha1_finup()
126 static int padlock_sha1_final(struct shash_desc *desc, u8 *out) in padlock_sha1_final()
133 static int padlock_sha256_finup(struct shash_desc *desc, const u8 *in, in padlock_sha256_finup()
187 static int padlock_sha256_final(struct shash_desc *desc, u8 *out) in padlock_sha256_final()
269 static int padlock_sha1_init_nano(struct shash_desc *des
[all...]
/kernel/linux/linux-5.10/crypto/
H A Dhmac.c83 static int hmac_export(struct shash_desc *pdesc, void *out) in hmac_export()
85 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_export()
90 static int hmac_import(struct shash_desc *pdesc, const void *in) in hmac_import()
92 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_import()
100 static int hmac_init(struct shash_desc *pdesc) in hmac_init()
105 static int hmac_update(struct shash_desc *pdesc, in hmac_update()
108 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_update()
113 static int hmac_final(struct shash_desc *pdesc, u8 *out) in hmac_final()
119 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_final()
126 static int hmac_finup(struct shash_desc *pdes
[all...]
H A Dcrct10dif_generic.c42 static int chksum_init(struct shash_desc *desc) in chksum_init()
51 static int chksum_update(struct shash_desc *desc, const u8 *data, in chksum_update()
60 static int chksum_final(struct shash_desc *desc, u8 *out) in chksum_final()
74 static int chksum_finup(struct shash_desc *desc, const u8 *data, in chksum_finup()
82 static int chksum_digest(struct shash_desc *desc, const u8 *data, in chksum_digest()
H A Dshash.c91 static int shash_update_unaligned(struct shash_desc *desc, const u8 *data, in shash_update_unaligned()
121 int crypto_shash_update(struct shash_desc *desc, const u8 *data, in crypto_shash_update()
135 static int shash_final_unaligned(struct shash_desc *desc, u8 *out) in shash_final_unaligned()
163 int crypto_shash_final(struct shash_desc *desc, u8 *out) in crypto_shash_final()
176 static int shash_finup_unaligned(struct shash_desc *desc, const u8 *data, in shash_finup_unaligned()
183 int crypto_shash_finup(struct shash_desc *desc, const u8 *data, in crypto_shash_finup()
197 static int shash_digest_unaligned(struct shash_desc *desc, const u8 *data, in shash_digest_unaligned()
204 int crypto_shash_digest(struct shash_desc *desc, const u8 *data, in crypto_shash_digest()
237 static int shash_default_export(struct shash_desc *desc, void *out) in shash_default_export()
243 static int shash_default_import(struct shash_desc *des
[all...]
/kernel/linux/linux-6.6/crypto/
H A Dhmac.c87 static int hmac_export(struct shash_desc *pdesc, void *out) in hmac_export()
89 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_export()
94 static int hmac_import(struct shash_desc *pdesc, const void *in) in hmac_import()
96 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_import()
104 static int hmac_init(struct shash_desc *pdesc) in hmac_init()
109 static int hmac_update(struct shash_desc *pdesc, in hmac_update()
112 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_update()
117 static int hmac_final(struct shash_desc *pdesc, u8 *out) in hmac_final()
123 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_final()
130 static int hmac_finup(struct shash_desc *pdes
[all...]
H A Dcrct10dif_generic.c42 static int chksum_init(struct shash_desc *desc) in chksum_init()
51 static int chksum_update(struct shash_desc *desc, const u8 *data, in chksum_update()
60 static int chksum_final(struct shash_desc *desc, u8 *out) in chksum_final()
74 static int chksum_finup(struct shash_desc *desc, const u8 *data, in chksum_finup()
82 static int chksum_digest(struct shash_desc *desc, const u8 *data, in chksum_digest()
H A Dcrc64_rocksoft_generic.c8 static int chksum_init(struct shash_desc *desc) in chksum_init()
17 static int chksum_update(struct shash_desc *desc, const u8 *data, in chksum_update()
27 static int chksum_final(struct shash_desc *desc, u8 *out) in chksum_final()
42 static int chksum_finup(struct shash_desc *desc, const u8 *data, in chksum_finup()
50 static int chksum_digest(struct shash_desc *desc, const u8 *data, in chksum_digest()
H A Dshash.c90 static int shash_update_unaligned(struct shash_desc *desc, const u8 *data, in shash_update_unaligned()
120 int crypto_shash_update(struct shash_desc *desc, const u8 *data, in crypto_shash_update()
140 static int shash_final_unaligned(struct shash_desc *desc, u8 *out) in shash_final_unaligned()
168 int crypto_shash_final(struct shash_desc *desc, u8 *out) in crypto_shash_final()
187 static int shash_finup_unaligned(struct shash_desc *desc, const u8 *data, in shash_finup_unaligned()
194 int crypto_shash_finup(struct shash_desc *desc, const u8 *data, in crypto_shash_finup()
219 static int shash_digest_unaligned(struct shash_desc *desc, const u8 *data, in shash_digest_unaligned()
227 int crypto_shash_digest(struct shash_desc *desc, const u8 *data, in crypto_shash_digest()
269 static int shash_default_export(struct shash_desc *desc, void *out) in shash_default_export()
275 static int shash_default_import(struct shash_desc *des
[all...]
/kernel/linux/linux-6.6/drivers/crypto/xilinx/
H A Dzynqmp-sha.c40 struct shash_desc fbk_req;
81 static int zynqmp_sha_init(struct shash_desc *desc) in zynqmp_sha_init()
90 static int zynqmp_sha_update(struct shash_desc *desc, const u8 *data, unsigned int length) in zynqmp_sha_update()
97 static int zynqmp_sha_final(struct shash_desc *desc, u8 *out) in zynqmp_sha_final()
104 static int zynqmp_sha_finup(struct shash_desc *desc, const u8 *data, unsigned int length, u8 *out) in zynqmp_sha_finup()
111 static int zynqmp_sha_import(struct shash_desc *desc, const void *in) in zynqmp_sha_import()
120 static int zynqmp_sha_export(struct shash_desc *desc, void *out) in zynqmp_sha_export()
127 static int zynqmp_sha_digest(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) in zynqmp_sha_digest()

Completed in 13 milliseconds

12345678910>>...15