Home
last modified time | relevance | path

Searched refs:crypto_ahash (Results 1 - 25 of 140) sorted by relevance

123456

/kernel/linux/linux-6.6/include/crypto/
H A Dhash.h15 struct crypto_ahash;
166 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
168 int (*init_tfm)(struct crypto_ahash *tfm);
169 void (*exit_tfm)(struct crypto_ahash *tfm);
170 int (*clone_tfm)(struct crypto_ahash *dst, struct crypto_ahash *src);
252 struct crypto_ahash { struct
260 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
283 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast()
285 return container_of(tfm, struct crypto_ahash, bas in __crypto_ahash_cast()
[all...]
/kernel/linux/linux-5.10/include/crypto/
H A Dhash.h14 struct crypto_ahash;
142 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
144 int (*init_tfm)(struct crypto_ahash *tfm);
145 void (*exit_tfm)(struct crypto_ahash *tfm);
224 struct crypto_ahash { struct
232 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
254 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast()
256 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast()
267 * crypto_ahash is the cipher handle that is required for any subsequent
273 struct crypto_ahash *crypto_alloc_ahas
[all...]
H A Dcryptd.h34 struct crypto_ahash base;
38 struct crypto_ahash *tfm) in __cryptd_ahash_cast()
/kernel/linux/linux-6.6/include/crypto/internal/
H A Dhash.h136 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx()
141 static inline void *crypto_ahash_ctx_dma(struct crypto_ahash *tfm) in crypto_ahash_ctx_dma()
152 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) in crypto_ahash_alg()
158 static inline void crypto_ahash_set_statesize(struct crypto_ahash *tfm, in crypto_ahash_set_statesize()
164 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize()
170 static inline void crypto_ahash_set_reqsize_dma(struct crypto_ahash *ahash, in crypto_ahash_set_reqsize_dma()
190 struct crypto_ahash *ahash) in ahash_alg_instance()
220 static inline struct crypto_ahash *crypto_spawn_ahash( in crypto_spawn_ahash()
/kernel/linux/linux-6.6/crypto/
H A Dahash.c130 static int ahash_setkey_unaligned(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey_unaligned()
150 static int ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, in ahash_nosetkey()
156 static void ahash_set_needkey(struct crypto_ahash *tfm) in ahash_set_needkey()
165 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in crypto_ahash_setkey()
189 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_save_req()
290 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_op()
304 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_final()
316 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_finup()
332 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_digest()
400 struct crypto_ahash *tf in ahash_def_finup()
[all...]
H A Dhash.h35 struct crypto_ahash *crypto_clone_shash_ops_async(struct crypto_ahash *nhash,
36 struct crypto_ahash *hash);
H A Dauthencesn.c32 struct crypto_ahash *auth;
62 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey()
92 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv_tail()
124 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv()
226 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt_tail()
274 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt()
324 struct crypto_ahash *auth; in crypto_authenc_esn_init_tfm()
/kernel/linux/linux-6.6/drivers/crypto/starfive/
H A Djh7110-hash.c273 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_init()
291 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_update()
308 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_final()
325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_finup()
342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_digest_fb()
357 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_digest()
381 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_export()
395 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_import()
406 static int starfive_hash_init_tfm(struct crypto_ahash *hash, in starfive_hash_init_tfm()
434 static void starfive_hash_exit_tfm(struct crypto_ahash *has
[all...]
/kernel/linux/linux-5.10/crypto/
H A Dahash.c35 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) in crypto_ahash_alg()
137 static int ahash_setkey_unaligned(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey_unaligned()
157 static int ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, in ahash_nosetkey()
163 static void ahash_set_needkey(struct crypto_ahash *tfm) in ahash_set_needkey()
172 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in crypto_ahash_setkey()
201 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_save_req()
331 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_op()
342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_final()
356 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_finup()
370 struct crypto_ahash *tf in crypto_ahash_digest()
[all...]
H A Dauthencesn.c32 struct crypto_ahash *auth;
62 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey()
92 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv_tail()
125 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv()
228 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt_tail()
277 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt()
327 struct crypto_ahash *auth; in crypto_authenc_esn_init_tfm()
/kernel/linux/linux-5.10/drivers/crypto/rockchip/
H A Drk3288_crypto_ahash.c40 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_ahash_digest_fb()
56 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process()
79 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_reg_init()
114 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init()
127 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update()
142 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final()
156 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup()
173 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import()
186 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export()
221 struct crypto_ahash *tf in rk_hash_prepare()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/rockchip/
H A Drk3288_crypto_ahash.c47 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_ahash_digest_fb()
67 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process()
123 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init()
136 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update()
151 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final()
165 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup()
182 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import()
195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export()
261 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_hash_run()
344 static int rk_hash_init_tfm(struct crypto_ahash *tf
[all...]
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/
H A Dgss_krb5_internal.h71 struct crypto_ahash *acceptor_sign;
72 struct crypto_ahash *initiator_sign;
73 struct crypto_ahash *initiator_integ;
74 struct crypto_ahash *acceptor_integ;
162 u32 gss_krb5_checksum(struct crypto_ahash *tfm, char *header, int hdrlen,
205 struct crypto_ahash *tfm, const struct xdr_buf *body,
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-hash.c26 int sun8i_ce_hash_init_tfm(struct crypto_ahash *tfm) in sun8i_ce_hash_init_tfm()
64 void sun8i_ce_hash_exit_tfm(struct crypto_ahash *tfm) in sun8i_ce_hash_exit_tfm()
75 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init()
89 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export()
101 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import()
113 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_final()
138 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_update()
153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_finup()
181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest_fb()
208 struct crypto_ahash *tf in sun8i_ce_hash_need_fallback()
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dah.h7 struct crypto_ahash;
13 struct crypto_ahash *ahash;
/kernel/linux/linux-6.6/include/net/
H A Dah.h7 struct crypto_ahash;
13 struct crypto_ahash *ahash;
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-hash.c76 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init()
90 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export()
102 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import()
114 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_final()
137 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_update()
152 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_finup()
177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest_fb()
219 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest()
253 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_run()
/kernel/linux/linux-5.10/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c162 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init()
176 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update()
194 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final()
234 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest()
253 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey()
257 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init()
195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update()
213 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final()
253 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest()
272 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey()
276 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c64 int sun8i_ss_hmac_setkey(struct crypto_ahash *ahash, const u8 *key, in sun8i_ss_hmac_setkey()
112 int sun8i_ss_hash_init_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_init_tfm()
150 void sun8i_ss_hash_exit_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_exit_tfm()
164 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init()
178 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export()
190 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import()
202 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_final()
228 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_update()
243 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_finup()
272 struct crypto_ahash *tf in sun8i_ss_hash_digest_fb()
[all...]
H A Dsun8i-ss.h232 struct crypto_ahash *fallback_tfm;
307 int sun8i_ss_hash_init_tfm(struct crypto_ahash *tfm);
308 void sun8i_ss_hash_exit_tfm(struct crypto_ahash *tfm);
317 int sun8i_ss_hmac_setkey(struct crypto_ahash *ahash, const u8 *key,
/kernel/linux/linux-6.6/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c34 struct crypto_ahash *fback;
233 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_handle_req_result()
524 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_handle_inv_result()
1121 struct crypto_ahash *tfm; in __safexcel_hmac_setkey()
1190 static int safexcel_hmac_alg_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_alg_setkey()
1199 static int safexcel_hmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha1_setkey()
1352 static int safexcel_hmac_sha224_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha224_setkey()
1424 static int safexcel_hmac_sha256_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha256_setkey()
1610 static int safexcel_hmac_sha512_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha512_setkey()
1682 static int safexcel_hmac_sha384_setkey(struct crypto_ahash *tf
[all...]
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c76 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init()
90 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export()
102 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import()
114 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_final()
137 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_update()
152 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_finup()
177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest_fb()
284 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest()
321 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_run()
/kernel/linux/linux-5.10/include/crypto/internal/
H A Dhash.h132 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx()
143 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize()
162 struct crypto_ahash *ahash) in ahash_alg_instance()
182 static inline struct crypto_ahash *crypto_spawn_ahash( in crypto_spawn_ahash()
/kernel/linux/linux-5.10/arch/arm/crypto/
H A Dghash-ce-glue.c201 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init()
215 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update()
233 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final()
250 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest()
272 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_import()
289 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey()
293 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()

Completed in 21 milliseconds

123456