Home
last modified time | relevance | path

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

123

/Linux-v4.19/include/crypto/
Dhash.h19 struct crypto_ahash;
141 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
200 struct crypto_ahash { struct
208 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, argument
230 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() argument
232 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast()
249 struct crypto_ahash *crypto_alloc_ahash(const char *alg_name, u32 type,
252 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm()
261 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash()
278 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm) in crypto_ahash_alg_name()
[all …]
Dmcryptd.h19 struct crypto_ahash base;
23 struct crypto_ahash *tfm) in __mcryptd_ahash_cast()
44 struct crypto_ahash *child;
69 struct crypto_ahash *mcryptd_ahash_child(struct mcryptd_ahash *tfm);
Dcryptd.h50 struct crypto_ahash base;
54 struct crypto_ahash *tfm) in __cryptd_ahash_cast()
/Linux-v4.19/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c23 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process()
85 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init()
98 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update()
113 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final()
127 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup()
144 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import()
157 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export()
199 struct crypto_ahash *tfm; in rk_ahash_start()
236 struct crypto_ahash *tfm; in rk_ahash_crypto_rx()
/Linux-v4.19/arch/arm/crypto/
Dghash-ce-glue.c164 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init()
179 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update()
197 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final()
214 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest()
237 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_import()
255 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey()
259 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
/Linux-v4.19/crypto/
Dahash.c39 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) in crypto_ahash_alg()
173 static int ahash_setkey_unaligned(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey_unaligned()
193 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in crypto_ahash_setkey()
212 static int ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, in ahash_nosetkey()
226 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_save_req()
356 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_op()
379 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_digest()
436 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_def_finup()
452 struct crypto_ahash *hash = __crypto_ahash_cast(tfm); in crypto_ahash_init_tfm()
532 .tfmsize = offsetof(struct crypto_ahash, base),
[all …]
Dmcryptd.c278 struct crypto_ahash *hash; in mcryptd_hash_init_tfm()
298 static int mcryptd_hash_setkey(struct crypto_ahash *parent, in mcryptd_hash_setkey()
302 struct crypto_ahash *child = ctx->child; in mcryptd_hash_setkey()
320 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in mcryptd_hash_enqueue()
335 struct crypto_ahash *child = ctx->child; in mcryptd_hash_init()
445 struct crypto_ahash *child = ctx->child; in mcryptd_hash_digest()
598 struct crypto_ahash *tfm; in mcryptd_alloc_ahash()
615 struct crypto_ahash *mcryptd_ahash_child(struct mcryptd_ahash *tfm) in mcryptd_ahash_child()
Dauthencesn.c37 struct crypto_ahash *auth;
67 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey()
107 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv_tail()
140 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv()
243 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt_tail()
292 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt()
342 struct crypto_ahash *auth; in crypto_authenc_esn_init_tfm()
Dauthenc.c34 struct crypto_ahash *auth;
85 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_setkey()
145 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_genicv()
292 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_decrypt()
319 struct crypto_ahash *auth; in crypto_authenc_init_tfm()
/Linux-v4.19/include/net/
Dah.h7 struct crypto_ahash;
13 struct crypto_ahash *ahash;
/Linux-v4.19/arch/x86/crypto/
Dghash-clmulni-intel_glue.c166 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init()
181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update()
199 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final()
239 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest()
259 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey()
263 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
/Linux-v4.19/include/crypto/internal/
Dhash.h131 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx()
142 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize()
186 static inline struct crypto_ahash *crypto_spawn_ahash( in crypto_spawn_ahash()
205 struct crypto_ahash *tfm) in ahash_tfm_in_queue()
/Linux-v4.19/security/integrity/ima/
Dima_crypto.c63 static struct crypto_ahash *ima_ahash_tfm;
168 static struct crypto_ahash *ima_alloc_atfm(enum hash_algo algo) in ima_alloc_atfm()
170 struct crypto_ahash *tfm = ima_ahash_tfm; in ima_alloc_atfm()
190 static void ima_free_atfm(struct crypto_ahash *tfm) in ima_free_atfm()
209 struct crypto_ahash *tfm) in ima_calc_file_hash_atfm()
319 struct crypto_ahash *tfm; in ima_calc_file_ahash()
516 struct crypto_ahash *tfm) in calc_buffer_ahash_atfm()
557 struct crypto_ahash *tfm; in calc_buffer_ahash()
/Linux-v4.19/net/ipv4/
Dah4.c24 static void *ah_alloc_tmp(struct crypto_ahash *ahash, int nfrags, in ah_alloc_tmp()
48 static inline u8 *ah_tmp_icv(struct crypto_ahash *ahash, void *tmp, in ah_tmp_icv()
54 static inline struct ahash_request *ah_tmp_req(struct crypto_ahash *ahash, in ah_tmp_req()
67 static inline struct scatterlist *ah_req_sg(struct crypto_ahash *ahash, in ah_req_sg()
153 struct crypto_ahash *ahash; in ah_output()
311 struct crypto_ahash *ahash; in ah_input()
476 struct crypto_ahash *ahash; in ah_init_state()
/Linux-v4.19/drivers/crypto/qce/
Dsha.c41 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_ahash_done()
149 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_ahash_export()
180 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_import_common()
236 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in qce_ahash_update()
352 static int qce_ahash_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, in qce_ahash_hmac_setkey()
361 struct crypto_ahash *ahash_tfm; in qce_ahash_hmac_setkey()
420 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in qce_ahash_cra_init()
/Linux-v4.19/net/ipv6/
Dah6.c61 static void *ah_alloc_tmp(struct crypto_ahash *ahash, int nfrags, in ah_alloc_tmp()
90 static inline u8 *ah_tmp_icv(struct crypto_ahash *ahash, void *tmp, in ah_tmp_icv()
96 static inline struct ahash_request *ah_tmp_req(struct crypto_ahash *ahash, in ah_tmp_req()
109 static inline struct scatterlist *ah_req_sg(struct crypto_ahash *ahash, in ah_req_sg()
343 struct crypto_ahash *ahash; in ah6_output()
529 struct crypto_ahash *ahash; in ah6_input()
687 struct crypto_ahash *ahash; in ah6_init_state()
/Linux-v4.19/drivers/crypto/inside-secure/
Dsafexcel_hash.c154 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_handle_req_result()
205 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_ahash_send_req()
382 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_handle_inv_result()
525 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_ahash_cache()
601 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_ahash_update()
678 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_ahash_export()
697 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in safexcel_ahash_import()
936 struct crypto_ahash *tfm; in safexcel_hmac_setkey()
982 static int safexcel_hmac_alg_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_alg_setkey()
1011 static int safexcel_hmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, in safexcel_hmac_sha1_setkey()
[all …]
/Linux-v4.19/arch/x86/crypto/sha1-mb/
Dsha1_mb.c764 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_init()
778 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_update()
791 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_finup()
804 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_final()
815 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_digest()
828 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_export()
840 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_import()
843 struct crypto_ahash *child = mcryptd_ahash_child(mcryptd_tfm); in sha1_mb_async_import()
/Linux-v4.19/arch/x86/crypto/sha256-mb/
Dsha256_mb.c763 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha256_mb_async_init()
777 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha256_mb_async_update()
790 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha256_mb_async_finup()
803 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha256_mb_async_final()
814 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha256_mb_async_digest()
827 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha256_mb_async_export()
839 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha256_mb_async_import()
842 struct crypto_ahash *child = mcryptd_ahash_child(mcryptd_tfm); in sha256_mb_async_import()
/Linux-v4.19/arch/x86/crypto/sha512-mb/
Dsha512_mb.c796 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha512_mb_async_init()
810 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha512_mb_async_update()
823 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha512_mb_async_finup()
836 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha512_mb_async_final()
847 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha512_mb_async_digest()
860 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha512_mb_async_export()
872 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha512_mb_async_import()
875 struct crypto_ahash *child = mcryptd_ahash_child(mcryptd_tfm); in sha512_mb_async_import()
/Linux-v4.19/drivers/crypto/ccree/
Dcc_hash.c272 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_update_complete()
286 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_digest_complete()
302 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_complete()
318 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_result()
342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_fin_hmac()
395 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_digest()
532 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_update()
608 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_do_finup()
688 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cc_hash_init()
699 static int cc_hash_setkey(struct crypto_ahash *ahash, const u8 *key, in cc_hash_setkey()
[all …]
/Linux-v4.19/drivers/crypto/caam/
Dcaamhash.c292 static int ahash_set_sh_desc(struct crypto_ahash *ahash) in ahash_set_sh_desc()
430 static int ahash_setkey(struct crypto_ahash *ahash, in ahash_setkey()
530 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_unmap_ctx()
546 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done()
580 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_bi()
615 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_ctx_src()
649 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_ctx_dst()
741 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_ctx()
871 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_ctx()
946 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_finup_ctx()
[all …]
/Linux-v4.19/drivers/net/wireless/intersil/orinoco/
Dmic.h15 struct crypto_ahash;
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-sha.c31 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_complete()
62 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_sha_update()
185 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_init()
273 static int ccp_sha_setkey(struct crypto_ahash *tfm, const u8 *key, in ccp_sha_setkey()
327 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_sha_cra_init()
/Linux-v4.19/drivers/crypto/
Dimg-hash.c115 struct crypto_ahash *fallback;
486 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_init()
551 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_update()
566 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_final()
580 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_finup()
596 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_import()
609 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_export()
621 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_digest()

123