| /linux-6.15/include/crypto/ |
| H A D | hash.h | 19 struct crypto_ahash; 150 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, 152 int (*init_tfm)(struct crypto_ahash *tfm); 153 void (*exit_tfm)(struct crypto_ahash *tfm); 154 int (*clone_tfm)(struct crypto_ahash *dst, struct crypto_ahash *src); 233 struct crypto_ahash { struct 257 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast() 277 struct crypto_ahash *crypto_clone_ahash(struct crypto_ahash *tfm); 338 struct crypto_ahash *tfm) in crypto_hash_alg_common() 549 struct crypto_ahash *tfm) in ahash_request_set_tfm() [all …]
|
| H A D | cryptd.h | 35 struct crypto_ahash base; 39 struct crypto_ahash *tfm) in __cryptd_ahash_cast()
|
| /linux-6.15/include/crypto/internal/ |
| H A D | hash.h | 109 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() 114 static inline void *crypto_ahash_ctx_dma(struct crypto_ahash *tfm) in crypto_ahash_ctx_dma() 125 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) in crypto_ahash_alg() 131 static inline void crypto_ahash_set_statesize(struct crypto_ahash *tfm, in crypto_ahash_set_statesize() 137 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize() 143 static inline void crypto_ahash_set_reqsize_dma(struct crypto_ahash *ahash, in crypto_ahash_set_reqsize_dma() 163 struct crypto_ahash *ahash) in ahash_alg_instance() 193 static inline struct crypto_ahash *crypto_spawn_ahash( in crypto_spawn_ahash() 260 static inline bool crypto_ahash_req_chain(struct crypto_ahash *tfm) in crypto_ahash_req_chain()
|
| /linux-6.15/crypto/ |
| H A D | ahash.c | 159 struct crypto_ahash *tfm) in prepare_shash_desc() 250 struct crypto_ahash *crt = __crypto_ahash_cast(tfm); in crypto_init_ahash_using_shash() 369 struct crypto_ahash *tfm; in ahash_reqchain_finish() 462 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_do_req_chain() 537 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_init() 582 struct crypto_ahash *tfm; in ahash_restore_req() 649 struct crypto_ahash *tfm; in ahash_def_digest_finish() 741 struct crypto_ahash *tfm; in ahash_def_finup_finish1() 899 .tfmsize = offsetof(struct crypto_ahash, base), 934 struct crypto_ahash *crypto_clone_ahash(struct crypto_ahash *hash) in crypto_clone_ahash() [all …]
|
| H A D | authencesn.c | 32 struct crypto_ahash *auth; 62 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey() 121 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv() 222 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt_tail() 269 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt() 318 struct crypto_ahash *auth; in crypto_authenc_esn_init_tfm()
|
| H A D | cryptd.c | 430 static int cryptd_hash_init_tfm(struct crypto_ahash *tfm) in cryptd_hash_init_tfm() 449 static int cryptd_hash_clone_tfm(struct crypto_ahash *ntfm, in cryptd_hash_clone_tfm() 450 struct crypto_ahash *tfm) in cryptd_hash_clone_tfm() 464 static void cryptd_hash_exit_tfm(struct crypto_ahash *tfm) in cryptd_hash_exit_tfm() 471 static int cryptd_hash_setkey(struct crypto_ahash *parent, in cryptd_hash_setkey() 487 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_enqueue() 516 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_complete() 534 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_init() 610 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_digest() 641 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_import() [all …]
|
| H A D | authenc.c | 29 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() 280 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_decrypt() 304 struct crypto_ahash *auth; in crypto_authenc_init_tfm()
|
| H A D | krb5enc.c | 32 struct crypto_ahash *auth; 105 struct crypto_ahash *auth = ctx->auth; in krb5enc_setkey() 211 struct crypto_ahash *auth = ctx->auth; in krb5enc_dispatch_encrypt_hash() 285 struct crypto_ahash *auth = ctx->auth; in krb5enc_dispatch_decrypt_hash() 349 struct crypto_ahash *auth; in krb5enc_init_tfm()
|
| /linux-6.15/drivers/crypto/starfive/ |
| H A D | jh7110-hash.c | 257 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_init() 275 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_update() 292 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_final() 309 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_finup() 325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_digest() 346 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_export() 360 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in starfive_hash_import() 371 static int starfive_hash_init_tfm(struct crypto_ahash *hash, in starfive_hash_init_tfm() 414 struct crypto_ahash *ahash_tfm; in starfive_hash_long_setkey() 453 static int starfive_hash_setkey(struct crypto_ahash *hash, in starfive_hash_setkey() [all …]
|
| /linux-6.15/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto_ahash.c | 47 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 *tfm) in rk_hash_init_tfm() [all …]
|
| /linux-6.15/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_internal.h | 71 struct crypto_ahash *acceptor_sign; 72 struct crypto_ahash *initiator_sign; 73 struct crypto_ahash *initiator_integ; 74 struct crypto_ahash *acceptor_integ; 158 u32 gss_krb5_checksum(struct crypto_ahash *tfm, char *header, int hdrlen, 191 struct crypto_ahash *tfm, const struct xdr_buf *body,
|
| /linux-6.15/drivers/crypto/allwinner/sun8i-ce/ |
| H A D | sun8i-ce-hash.c | 26 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 *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_need_fallback() [all …]
|
| H A D | sun8i-ce.h | 302 struct crypto_ahash *fallback_tfm; 375 int sun8i_ce_hash_init_tfm(struct crypto_ahash *tfm); 376 void sun8i_ce_hash_exit_tfm(struct crypto_ahash *tfm);
|
| /linux-6.15/arch/x86/crypto/ |
| H A D | ghash-clmulni-intel_glue.c | 181 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_init_cryptd_req() 209 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 226 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() 265 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() 283 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() 287 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
|
| /linux-6.15/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 29 struct crypto_ahash *fallback_tfm; 116 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_init() 129 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_update() 144 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_final() 158 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_finup() 175 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_digest() 192 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_import() 205 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_fallback_export() 352 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_do_init() 465 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in tegra_sha_do_final() [all …]
|
| /linux-6.15/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss-hash.c | 95 int sun8i_ss_hash_init_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_init_tfm() 133 void sun8i_ss_hash_exit_tfm(struct crypto_ahash *tfm) in sun8i_ss_hash_exit_tfm() 147 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_init() 161 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_export() 173 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_import() 185 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_final() 211 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_update() 226 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_finup() 255 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_digest_fb() 342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ss_hash_need_fallback() [all …]
|
| H A D | sun8i-ss.h | 232 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,
|
| /linux-6.15/include/net/ |
| H A D | ah.h | 7 struct crypto_ahash; 13 struct crypto_ahash *ahash;
|
| /linux-6.15/net/ipv4/ |
| H A D | tcp_sigpool.c | 23 struct crypto_ahash *hash; 108 static int __cpool_try_clone(struct crypto_ahash *hash) in __cpool_try_clone() 110 struct crypto_ahash *tmp; in __cpool_try_clone() 122 struct crypto_ahash *cpu0_hash; in __cpool_alloc_ahash() 262 struct crypto_ahash *hash; in tcp_sigpool_start() 295 struct crypto_ahash *hash = crypto_ahash_reqtfm(c->req); in tcp_sigpool_end()
|
| H A D | ah4.c | 25 static void *ah_alloc_tmp(struct crypto_ahash *ahash, int nfrags, in ah_alloc_tmp() 52 static inline struct ahash_request *ah_tmp_req(struct crypto_ahash *ahash, in ah_tmp_req() 65 static inline struct scatterlist *ah_req_sg(struct crypto_ahash *ahash, in ah_req_sg() 151 struct crypto_ahash *ahash; in ah_output() 309 struct crypto_ahash *ahash; in ah_input() 475 struct crypto_ahash *ahash; in ah_init_state()
|
| /linux-6.15/drivers/crypto/inside-secure/ |
| H A D | safexcel_hash.c | 34 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.15/drivers/crypto/inside-secure/eip93/ |
| H A D | eip93-hash.c | 24 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in eip93_hash_free_data_blocks() 46 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in eip93_hash_free_sa_record() 62 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in eip93_hash_handle_result() 153 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in __eip93_hash_init() 205 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in eip93_send_hash_req() 281 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in eip93_hash_init() 384 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in eip93_hash_update() 432 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in __eip93_hash_final() 514 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in eip93_hash_finup() 553 static int eip93_hash_hmac_setkey(struct crypto_ahash *ahash, const u8 *key, in eip93_hash_hmac_setkey()
|
| /linux-6.15/security/integrity/ima/ |
| H A D | ima_crypto.c | 58 static struct crypto_ahash *ima_ahash_tfm; 285 static struct crypto_ahash *ima_alloc_atfm(enum hash_algo algo) in ima_alloc_atfm() 287 struct crypto_ahash *tfm = ima_ahash_tfm; in ima_alloc_atfm() 307 static void ima_free_atfm(struct crypto_ahash *tfm) in ima_free_atfm() 326 struct crypto_ahash *tfm) in ima_calc_file_hash_atfm() 437 struct crypto_ahash *tfm; in ima_calc_file_ahash() 660 struct crypto_ahash *tfm) in calc_buffer_ahash_atfm() 701 struct crypto_ahash *tfm; in calc_buffer_ahash()
|
| /linux-6.15/drivers/crypto/caam/ |
| H A D | caamhash.c | 205 static int ahash_set_sh_desc(struct crypto_ahash *ahash) in ahash_set_sh_desc() 261 static int axcbc_set_sh_desc(struct crypto_ahash *ahash) in axcbc_set_sh_desc() 313 static int acmac_set_sh_desc(struct crypto_ahash *ahash) in acmac_set_sh_desc() 424 static int ahash_setkey(struct crypto_ahash *ahash, in ahash_setkey() 590 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_cpy() 641 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_switch() 822 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_ctx() 947 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_ctx() 1008 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_finup_ctx() 1082 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_digest() [all …]
|
| /linux-6.15/net/ipv6/ |
| H A D | ah6.c | 49 static void *ah_alloc_tmp(struct crypto_ahash *ahash, int nfrags, in ah_alloc_tmp() 81 static inline struct ahash_request *ah_tmp_req(struct crypto_ahash *ahash, in ah_tmp_req() 94 static inline struct scatterlist *ah_req_sg(struct crypto_ahash *ahash, in ah_req_sg() 325 struct crypto_ahash *ahash; in ah6_output() 511 struct crypto_ahash *ahash; in ah6_input() 670 struct crypto_ahash *ahash; in ah6_init_state()
|