| /linux-6.15/net/ipv4/ |
| H A D | ah4.c | 151 struct crypto_ahash *ahash; in ah_output() local 163 ahash = ahp->ahash; in ah_output() 183 req = ah_tmp_req(ahash, icv); in ah_output() 184 sg = ah_req_sg(ahash, req); in ah_output() 309 struct crypto_ahash *ahash; in ah_input() local 326 ahash = ahp->ahash; in ah_input() 375 req = ah_tmp_req(ahash, icv); in ah_input() 376 sg = ah_req_sg(ahash, req); in ah_input() 475 struct crypto_ahash *ahash; in ah_init_state() local 492 if (IS_ERR(ahash)) { in ah_init_state() [all …]
|
| /linux-6.15/net/ipv6/ |
| H A D | ah6.c | 325 struct crypto_ahash *ahash; in ah6_output() local 338 ahash = ahp->ahash; in ah6_output() 363 req = ah_tmp_req(ahash, icv); in ah6_output() 364 sg = ah_req_sg(ahash, req); in ah6_output() 511 struct crypto_ahash *ahash; in ah6_input() local 540 ahash = ahp->ahash; in ah6_input() 577 req = ah_tmp_req(ahash, icv); in ah6_input() 578 sg = ah_req_sg(ahash, req); in ah6_input() 670 struct crypto_ahash *ahash; in ah6_init_state() local 687 if (IS_ERR(ahash)) { in ah6_init_state() [all …]
|
| /linux-6.15/drivers/crypto/inside-secure/eip93/ |
| H A D | eip93-hash.c | 25 struct eip93_hash_ctx *ctx = crypto_ahash_ctx(ahash); in eip93_hash_free_data_blocks() 64 int digestsize = crypto_ahash_digestsize(ahash); in eip93_hash_handle_result() 158 digestsize = crypto_ahash_digestsize(ahash); in __eip93_hash_init() 628 .alg.ahash = { 658 .alg.ahash = { 688 .alg.ahash = { 718 .alg.ahash = { 748 .alg.ahash = { 779 .alg.ahash = { 810 .alg.ahash = { [all …]
|
| H A D | eip93-main.h | 147 struct ahash_alg ahash; member
|
| H A D | eip93-main.c | 93 crypto_unregister_ahash(&eip93_algs[i]->alg.ahash); in eip93_unregister_algs() 160 ret = crypto_register_ahash(&eip93_algs[i]->alg.ahash); in eip93_register_algs()
|
| /linux-6.15/drivers/crypto/caam/ |
| H A D | caamhash.c | 208 int digestsize = crypto_ahash_digestsize(ahash); in ahash_set_sh_desc() 264 int digestsize = crypto_ahash_digestsize(ahash); in axcbc_set_sh_desc() 316 int digestsize = crypto_ahash_digestsize(ahash); in acmac_set_sh_desc() 430 int digestsize = crypto_ahash_digestsize(ahash); in ahash_setkey() 487 return ahash_set_sh_desc(ahash); in ahash_setkey() 510 return axcbc_set_sh_desc(ahash); in axcbc_setkey() 530 return acmac_set_sh_desc(ahash); in acmac_setkey() 591 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_cpy() 829 int blocksize = crypto_ahash_blocksize(ahash); in ahash_update_ctx() 1205 int blocksize = crypto_ahash_blocksize(ahash); in ahash_update_no_ctx() [all …]
|
| H A D | caamalg_qi2.c | 3142 int digestsize = crypto_ahash_digestsize(ahash); in ahash_set_sh_desc() 3360 ret = ahash_set_sh_desc(ahash); in ahash_setkey() 3408 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done() 3460 crypto_ahash_digestsize(ahash), 1); in ahash_done_bi() 3473 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_ctx_src() 3525 crypto_ahash_digestsize(ahash), 1); in ahash_done_ctx_dst() 3661 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_ctx() 3733 int digestsize = crypto_ahash_digestsize(ahash); in ahash_finup_ctx() 3824 int digestsize = crypto_ahash_digestsize(ahash); in ahash_digest() 3921 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_no_ctx() [all …]
|
| /linux-6.15/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 747 .alg.ahash.base = { 772 .alg.ahash.base = { 797 .alg.ahash.base = { 822 .alg.ahash.base = { 847 .alg.ahash.base = { 872 .alg.ahash.base = { 897 .alg.ahash.base = { 922 .alg.ahash.base = { 947 .alg.ahash.base = { 973 .alg.ahash.base = { [all …]
|
| /linux-6.15/drivers/crypto/aspeed/ |
| H A D | aspeed-hace-hash.c | 853 .alg.ahash.base = { 880 .alg.ahash.op = { 912 .alg.ahash.op = { 944 .alg.ahash.op = { 979 .alg.ahash.op = { 1014 .alg.ahash.op = { 1049 .alg.ahash.op = { 1084 .alg.ahash.op = { 1116 .alg.ahash.op = { 1151 .alg.ahash.op = { [all …]
|
| H A D | aspeed-hace.h | 265 struct ahash_engine_alg ahash; member
|
| /linux-6.15/drivers/crypto/qce/ |
| H A D | sha.h | 63 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in to_ahash_tmpl() local 64 struct ahash_alg *alg = container_of(crypto_hash_alg_common(ahash), in to_ahash_tmpl() 67 return container_of(alg, struct qce_alg_template, alg.ahash); in to_ahash_tmpl()
|
| H A D | sha.c | 40 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_ahash_done() local 45 unsigned int digestsize = crypto_ahash_digestsize(ahash); in qce_ahash_done() 285 tmpl->alg.ahash.halg.digestsize); in qce_ahash_final() 322 tmpl->alg.ahash.halg.digestsize); in qce_ahash_digest() 395 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in qce_ahash_cra_init() local 398 crypto_ahash_set_reqsize_dma(ahash, sizeof(struct qce_sha_reqctx)); in qce_ahash_cra_init() 466 alg = &tmpl->alg.ahash; in qce_ahash_register_one() 518 crypto_unregister_ahash(&tmpl->alg.ahash); in qce_ahash_unregister()
|
| H A D | common.h | 91 struct ahash_alg ahash; member
|
| /linux-6.15/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_crypto.c | 589 struct crypto_ahash *ahash; in gss_krb5_aes_encrypt() local 596 ahash = kctx->initiator_integ; in gss_krb5_aes_encrypt() 600 ahash = kctx->acceptor_integ; in gss_krb5_aes_encrypt() 662 struct crypto_ahash *ahash; in gss_krb5_aes_decrypt() local 672 ahash = kctx->acceptor_integ; in gss_krb5_aes_decrypt() 676 ahash = kctx->initiator_integ; in gss_krb5_aes_decrypt() 817 struct crypto_ahash *ahash; in krb5_etm_encrypt() local 826 ahash = kctx->initiator_integ; in krb5_etm_encrypt() 830 ahash = kctx->acceptor_integ; in krb5_etm_encrypt() 908 struct crypto_ahash *ahash; in krb5_etm_decrypt() local [all …]
|
| /linux-6.15/drivers/crypto/inside-secure/ |
| H A D | safexcel_hash.c | 984 .alg.ahash = { 1209 .alg.ahash = { 1267 .alg.ahash = { 1324 .alg.ahash = { 1395 .alg.ahash = { 1467 .alg.ahash = { 1525 .alg.ahash = { 1582 .alg.ahash = { 1653 .alg.ahash = { 1725 .alg.ahash = { [all …]
|
| /linux-6.15/include/crypto/internal/ |
| H A D | hash.h | 143 static inline void crypto_ahash_set_reqsize_dma(struct crypto_ahash *ahash, in crypto_ahash_set_reqsize_dma() argument 147 ahash->reqsize = reqsize; in crypto_ahash_set_reqsize_dma() 163 struct crypto_ahash *ahash) in ahash_alg_instance() argument 165 return ahash_instance(crypto_tfm_alg_instance(&ahash->base)); in ahash_alg_instance()
|
| /linux-6.15/drivers/crypto/ |
| H A D | sa2ul.c | 159 struct ahash_alg ahash; member 1513 ctx->fallback.ahash = in sa_sha_cra_init_alg() 1516 if (IS_ERR(ctx->fallback.ahash)) { in sa_sha_cra_init_alg() 1519 return PTR_ERR(ctx->fallback.ahash); in sa_sha_cra_init_alg() 1529 crypto_ahash_reqsize(ctx->fallback.ahash)); in sa_sha_cra_init_alg() 1621 ahash_request_set_tfm(subreq, ctx->fallback.ahash); in sa_sha_export() 1688 crypto_free_ahash(ctx->fallback.ahash); in sa_sha_cra_exit() 2064 .alg.ahash = { 2093 .alg.ahash = { 2122 .alg.ahash = { [all …]
|
| H A D | sa2ul.h | 319 struct crypto_ahash *ahash; member
|
| /linux-6.15/include/net/ |
| H A D | ah.h | 13 struct crypto_ahash *ahash; member
|
| /linux-6.15/drivers/md/ |
| H A D | dm-verity-target.c | 1318 struct crypto_ahash *ahash; in verity_setup_hash_alg() local 1337 ahash = crypto_alloc_ahash(alg_name, 0, in verity_setup_hash_alg() 1339 if (IS_ERR(ahash)) { in verity_setup_hash_alg() 1341 return PTR_ERR(ahash); in verity_setup_hash_alg() 1343 driver_name = crypto_ahash_driver_name(ahash); in verity_setup_hash_alg() 1357 crypto_free_ahash(ahash); in verity_setup_hash_alg() 1358 ahash = NULL; in verity_setup_hash_alg() 1365 v->ahash_tfm = ahash; in verity_setup_hash_alg() 1367 v->digest_size = crypto_ahash_digestsize(ahash); in verity_setup_hash_alg() 1369 crypto_ahash_reqsize(ahash); in verity_setup_hash_alg()
|
| /linux-6.15/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss-hash.c | 47 int sun8i_ss_hmac_setkey(struct crypto_ahash *ahash, const u8 *key, in sun8i_ss_hmac_setkey() argument 50 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(ahash); in sun8i_ss_hmac_setkey() 52 int bs = crypto_ahash_blocksize(ahash); in sun8i_ss_hmac_setkey() 55 digestsize = crypto_ahash_digestsize(ahash); in sun8i_ss_hmac_setkey()
|
| /linux-6.15/drivers/crypto/amcc/ |
| H A D | crypto4xx_alg.c | 669 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in crypto4xx_hash_update() local 672 unsigned int ds = crypto_ahash_digestsize(ahash); in crypto4xx_hash_update() 688 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in crypto4xx_hash_digest() local 691 unsigned int ds = crypto_ahash_digestsize(ahash); in crypto4xx_hash_digest()
|
| /linux-6.15/drivers/crypto/ccp/ |
| H A D | ccp-crypto-sha.c | 316 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_sha_cra_init() local 317 struct ccp_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ccp_sha_cra_init() 322 crypto_ahash_set_reqsize_dma(ahash, sizeof(struct ccp_sha_req_ctx)); in ccp_sha_cra_init()
|
| /linux-6.15/drivers/crypto/ccree/ |
| H A D | cc_hash.c | 739 ctx = crypto_ahash_ctx_dma(ahash); in cc_hash_setkey() 743 blocksize = crypto_tfm_alg_blocksize(&ahash->base); in cc_hash_setkey() 744 digestsize = crypto_ahash_digestsize(ahash); in cc_hash_setkey() 921 static int cc_xcbc_setkey(struct crypto_ahash *ahash, in cc_xcbc_setkey() argument 925 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in cc_xcbc_setkey() 1007 static int cc_cmac_setkey(struct crypto_ahash *ahash, in cc_cmac_setkey() argument 1010 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in cc_cmac_setkey() 1501 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in cc_hash_export() local 1502 struct cc_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in cc_hash_export() 1527 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in cc_hash_import() local [all …]
|
| /linux-6.15/drivers/crypto/marvell/cesa/ |
| H A D | hash.c | 843 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in mv_cesa_ahash_export() local 845 unsigned int digsize = crypto_ahash_digestsize(ahash); in mv_cesa_ahash_export() 848 blocksize = crypto_ahash_blocksize(ahash); in mv_cesa_ahash_export() 861 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in mv_cesa_ahash_import() local 863 unsigned int digsize = crypto_ahash_digestsize(ahash); in mv_cesa_ahash_import() 872 blocksize = crypto_ahash_blocksize(ahash); in mv_cesa_ahash_import()
|