Home
last modified time | relevance | path

Searched refs:crypto_ahash (Results 1 – 25 of 73) sorted by relevance

123

/linux-6.3-rc2/include/crypto/
A Dhash.h14 struct crypto_ahash;
144 int (*init_tfm)(struct crypto_ahash *tfm);
145 void (*exit_tfm)(struct crypto_ahash *tfm);
224 struct crypto_ahash { struct
256 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast()
315 struct crypto_ahash *tfm) in crypto_ahash_alignmask()
341 struct crypto_ahash *tfm) in crypto_hash_alg_common()
509 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_import()
530 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_init()
582 struct crypto_ahash *tfm) in ahash_request_set_tfm()
[all …]
A Dcryptd.h35 struct crypto_ahash base;
39 struct crypto_ahash *tfm) in __cryptd_ahash_cast()
/linux-6.3-rc2/crypto/
A Dahash.c163 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()
196 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_save_req()
297 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_op()
308 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_final()
322 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_finup()
336 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_digest()
402 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_def_finup()
418 struct crypto_ahash *hash = __crypto_ahash_cast(tfm); in crypto_ahash_exit_tfm()
426 struct crypto_ahash *hash = __crypto_ahash_cast(tfm); in crypto_ahash_init_tfm()
[all …]
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()
A Dauthenc.c29 struct crypto_ahash *auth;
88 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_setkey()
138 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_genicv()
283 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_decrypt()
310 struct crypto_ahash *auth; in crypto_authenc_init_tfm()
/linux-6.3-rc2/include/crypto/internal/
A Dhash.h138 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx()
143 static inline void *crypto_ahash_ctx_dma(struct crypto_ahash *tfm) in crypto_ahash_ctx_dma()
154 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize()
160 static inline void crypto_ahash_set_reqsize_dma(struct crypto_ahash *ahash, in crypto_ahash_set_reqsize_dma()
180 struct crypto_ahash *ahash) in ahash_alg_instance()
210 static inline struct crypto_ahash *crypto_spawn_ahash( in crypto_spawn_ahash()
/linux-6.3-rc2/drivers/crypto/rockchip/
A Drk3288_crypto_ahash.c41 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_ahash_digest_fb()
61 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process()
117 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init()
130 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update()
145 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final()
159 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup()
176 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import()
189 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export()
256 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in rk_hash_run()
/linux-6.3-rc2/net/sunrpc/auth_gss/
A Dgss_krb5_internal.h72 struct crypto_ahash *acceptor_sign;
73 struct crypto_ahash *initiator_sign;
74 struct crypto_ahash *initiator_integ;
75 struct crypto_ahash *acceptor_integ;
185 u32 gss_krb5_checksum(struct crypto_ahash *tfm, char *header, int hdrlen,
228 struct crypto_ahash *tfm, const struct xdr_buf *body,
/linux-6.3-rc2/include/net/
A Dah.h7 struct crypto_ahash;
13 struct crypto_ahash *ahash;
/linux-6.3-rc2/drivers/crypto/allwinner/sun8i-ce/
A Dsun8i-ce-hash.c77 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init()
91 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export()
103 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import()
115 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()
178 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest_fb()
202 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_need_fallback()
235 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest()
327 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_run()
/linux-6.3-rc2/arch/x86/crypto/
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()
/linux-6.3-rc2/drivers/crypto/allwinner/sun8i-ss/
A Dsun8i-ss-hash.c59 int sun8i_ss_hmac_setkey(struct crypto_ahash *ahash, const u8 *key, in sun8i_ss_hmac_setkey()
167 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init()
181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export()
193 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import()
205 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()
268 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest_fb()
351 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_need_fallback()
400 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest()
[all …]
A Dsun8i-ss.h240 struct crypto_ahash *fallback_tfm;
326 int sun8i_ss_hmac_setkey(struct crypto_ahash *ahash, const u8 *key,
/linux-6.3-rc2/drivers/crypto/inside-secure/
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()
2375 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_fbcheck()
2412 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_update()
2422 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_final()
2432 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_finup()
2447 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_digest_fallback()
2467 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in safexcel_sha3_export()
[all …]
/linux-6.3-rc2/security/integrity/ima/
A Dima_crypto.c58 static struct crypto_ahash *ima_ahash_tfm;
290 static struct crypto_ahash *ima_alloc_atfm(enum hash_algo algo) in ima_alloc_atfm()
292 struct crypto_ahash *tfm = ima_ahash_tfm; in ima_alloc_atfm()
312 static void ima_free_atfm(struct crypto_ahash *tfm) in ima_free_atfm()
331 struct crypto_ahash *tfm) in ima_calc_file_hash_atfm()
442 struct crypto_ahash *tfm; in ima_calc_file_ahash()
665 struct crypto_ahash *tfm) in calc_buffer_ahash_atfm()
706 struct crypto_ahash *tfm; in calc_buffer_ahash()
/linux-6.3-rc2/net/ipv4/
A Dah4.c25 static void *ah_alloc_tmp(struct crypto_ahash *ahash, int nfrags, in ah_alloc_tmp()
49 static inline u8 *ah_tmp_icv(struct crypto_ahash *ahash, void *tmp, in ah_tmp_icv()
55 static inline struct ahash_request *ah_tmp_req(struct crypto_ahash *ahash, in ah_tmp_req()
68 static inline struct scatterlist *ah_req_sg(struct crypto_ahash *ahash, in ah_req_sg()
154 struct crypto_ahash *ahash; in ah_output()
312 struct crypto_ahash *ahash; in ah_input()
478 struct crypto_ahash *ahash; in ah_init_state()
/linux-6.3-rc2/net/ipv6/
A Dah6.c49 static void *ah_alloc_tmp(struct crypto_ahash *ahash, int nfrags, in ah_alloc_tmp()
78 static inline u8 *ah_tmp_icv(struct crypto_ahash *ahash, void *tmp, in ah_tmp_icv()
84 static inline struct ahash_request *ah_tmp_req(struct crypto_ahash *ahash, in ah_tmp_req()
97 static inline struct scatterlist *ah_req_sg(struct crypto_ahash *ahash, in ah_req_sg()
328 struct crypto_ahash *ahash; in ah6_output()
514 struct crypto_ahash *ahash; in ah6_input()
673 struct crypto_ahash *ahash; in ah6_init_state()
/linux-6.3-rc2/drivers/crypto/caam/
A Dcaamhash.c202 static int ahash_set_sh_desc(struct crypto_ahash *ahash) in ahash_set_sh_desc()
258 static int axcbc_set_sh_desc(struct crypto_ahash *ahash) in axcbc_set_sh_desc()
310 static int acmac_set_sh_desc(struct crypto_ahash *ahash) in acmac_set_sh_desc()
423 static int ahash_setkey(struct crypto_ahash *ahash, in ahash_setkey()
589 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_cpy()
640 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_switch()
705 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_edesc_alloc()
825 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_ctx()
950 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_ctx()
1011 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_finup_ctx()
[all …]
/linux-6.3-rc2/arch/arm/crypto/
A Dghash-ce-glue.c218 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init()
232 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update()
250 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final()
267 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest()
289 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_import()
306 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey()
310 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
/linux-6.3-rc2/drivers/crypto/
A Dn2_core.c287 struct crypto_ahash *fallback_tfm;
314 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_init()
326 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_update()
340 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_final()
353 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_finup()
378 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in n2_hash_cra_init()
380 struct crypto_ahash *fallback_tfm; in n2_hash_cra_init()
416 struct crypto_ahash *fallback_tfm; in n2_hmac_cra_init()
465 struct crypto_ahash *fallback_tfm; in n2_hmac_async_setkey()
524 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_do_async_digest()
[all …]
/linux-6.3-rc2/drivers/crypto/ccp/
A Dccp-crypto-sha.c30 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_complete()
61 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_sha_update()
184 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_init()
272 static int ccp_sha_setkey(struct crypto_ahash *tfm, const u8 *key, in ccp_sha_setkey()
316 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_sha_cra_init()
A Dccp-crypto-aes-cmac.c27 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_aes_cmac_complete()
58 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_cmac_update()
256 static int ccp_aes_cmac_setkey(struct crypto_ahash *tfm, const u8 *key, in ccp_aes_cmac_setkey()
338 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_aes_cmac_cra_init()
/linux-6.3-rc2/drivers/crypto/ccree/
A Dcc_hash.c287 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_update_complete()
305 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_digest_complete()
325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_complete()
345 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_result()
368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_hmac()
421 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_digest()
559 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_update()
635 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_do_finup()
715 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_init()
921 static int cc_xcbc_setkey(struct crypto_ahash *ahash, in cc_xcbc_setkey()
[all …]
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/
A Dmic.h15 struct crypto_ahash;
/linux-6.3-rc2/drivers/crypto/qce/
A Dsha.c40 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_ahash_done()
185 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in qce_ahash_update()
329 static int qce_ahash_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, in qce_ahash_hmac_setkey()
338 struct crypto_ahash *ahash_tfm; in qce_ahash_hmac_setkey()
395 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in qce_ahash_cra_init()

Completed in 47 milliseconds

123