/linux/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/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/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() 828 int blocksize = crypto_ahash_blocksize(ahash); in ahash_update_ctx() 1204 int blocksize = crypto_ahash_blocksize(ahash); in ahash_update_no_ctx() [all …]
|
H A D | caamalg_qi2.c | 3141 int digestsize = crypto_ahash_digestsize(ahash); in ahash_set_sh_desc() 3359 ret = ahash_set_sh_desc(ahash); in ahash_setkey() 3407 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done() 3459 crypto_ahash_digestsize(ahash), 1); in ahash_done_bi() 3472 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_ctx_src() 3524 crypto_ahash_digestsize(ahash), 1); in ahash_done_ctx_dst() 3660 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_ctx() 3732 int digestsize = crypto_ahash_digestsize(ahash); in ahash_finup_ctx() 3823 int digestsize = crypto_ahash_digestsize(ahash); in ahash_digest() 3920 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_no_ctx() [all …]
|
/linux/drivers/crypto/tegra/ |
H A D | tegra-se-hash.c | 659 .alg.ahash.base = { 684 .alg.ahash.base = { 709 .alg.ahash.base = { 734 .alg.ahash.base = { 759 .alg.ahash.base = { 784 .alg.ahash.base = { 809 .alg.ahash.base = { 834 .alg.ahash.base = { 859 .alg.ahash.base = { 885 .alg.ahash.base = { [all …]
|
/linux/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/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/net/sunrpc/auth_gss/ |
H A D | gss_krb5_crypto.c | 788 struct crypto_ahash *ahash; in gss_krb5_aes_encrypt() local 795 ahash = kctx->initiator_integ; in gss_krb5_aes_encrypt() 799 ahash = kctx->acceptor_integ; in gss_krb5_aes_encrypt() 861 struct crypto_ahash *ahash; in gss_krb5_aes_decrypt() local 871 ahash = kctx->acceptor_integ; in gss_krb5_aes_decrypt() 875 ahash = kctx->initiator_integ; in gss_krb5_aes_decrypt() 1016 struct crypto_ahash *ahash; in krb5_etm_encrypt() local 1025 ahash = kctx->initiator_integ; in krb5_etm_encrypt() 1029 ahash = kctx->acceptor_integ; in krb5_etm_encrypt() 1107 struct crypto_ahash *ahash; in krb5_etm_decrypt() local [all …]
|
/linux/drivers/crypto/ |
H A D | n2_core.c | 1344 struct ahash_alg *ahash; in __n2_register_one_hmac() local 1355 ahash = &p->derived.alg; in __n2_register_one_hmac() 1359 base = &ahash->halg.base; in __n2_register_one_hmac() 1372 err = crypto_register_ahash(ahash); in __n2_register_one_hmac() 1389 struct ahash_alg *ahash; in __n2_register_one_ahash() local 1402 ahash = &p->alg; in __n2_register_one_ahash() 1403 ahash->init = n2_hash_async_init; in __n2_register_one_ahash() 1405 ahash->final = n2_hash_async_final; in __n2_register_one_ahash() 1406 ahash->finup = n2_hash_async_finup; in __n2_register_one_ahash() 1411 halg = &ahash->halg; in __n2_register_one_ahash() [all …]
|
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/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/include/crypto/internal/ |
H A D | hash.h | 166 static inline void crypto_ahash_set_reqsize_dma(struct crypto_ahash *ahash, in crypto_ahash_set_reqsize_dma() argument 170 ahash->reqsize = reqsize; in crypto_ahash_set_reqsize_dma() 186 struct crypto_ahash *ahash) in ahash_alg_instance() argument 188 return ahash_instance(crypto_tfm_alg_instance(&ahash->base)); in ahash_alg_instance()
|
/linux/include/net/ |
H A D | ah.h | 13 struct crypto_ahash *ahash; member
|
/linux/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()
|
H A D | sun8i-ss.h | 317 int sun8i_ss_hmac_setkey(struct crypto_ahash *ahash, const u8 *key,
|
/linux/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/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()
|
H A D | ccp-crypto-aes-cmac.c | 338 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_aes_cmac_cra_init() local 343 crypto_ahash_set_reqsize_dma(ahash, in ccp_aes_cmac_cra_init()
|
/linux/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/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()
|
/linux/crypto/ |
H A D | ahash.c | 498 struct ahash_instance *ahash = ahash_instance(inst); in crypto_ahash_free_instance() local 500 ahash->free(ahash); in crypto_ahash_free_instance()
|