Home
last modified time | relevance | path

Searched refs:ahash (Results 1 – 25 of 33) sorted by relevance

12

/linux/net/ipv4/
A Dah4.c154 struct crypto_ahash *ahash; in ah_output() local
166 ahash = ahp->ahash; in ah_output()
186 req = ah_tmp_req(ahash, icv); in ah_output()
187 sg = ah_req_sg(ahash, req); in ah_output()
312 struct crypto_ahash *ahash; in ah_input() local
329 ahash = ahp->ahash; in ah_input()
378 req = ah_tmp_req(ahash, icv); in ah_input()
379 sg = ah_req_sg(ahash, req); in ah_input()
478 struct crypto_ahash *ahash; in ah_init_state() local
491 if (IS_ERR(ahash)) in ah_init_state()
[all …]
/linux/net/ipv6/
A Dah6.c331 struct crypto_ahash *ahash; in ah6_output() local
344 ahash = ahp->ahash; in ah6_output()
369 req = ah_tmp_req(ahash, icv); in ah6_output()
370 sg = ah_req_sg(ahash, req); in ah6_output()
517 struct crypto_ahash *ahash; in ah6_input() local
546 ahash = ahp->ahash; in ah6_input()
583 req = ah_tmp_req(ahash, icv); in ah6_input()
584 sg = ah_req_sg(ahash, req); in ah6_input()
676 struct crypto_ahash *ahash; in ah6_init_state() local
689 if (IS_ERR(ahash)) in ah6_init_state()
[all …]
/linux/drivers/crypto/caam/
A Dcaamhash.c203 int digestsize = crypto_ahash_digestsize(ahash); in ahash_set_sh_desc()
259 int digestsize = crypto_ahash_digestsize(ahash); in axcbc_set_sh_desc()
311 int digestsize = crypto_ahash_digestsize(ahash); in acmac_set_sh_desc()
427 int digestsize = crypto_ahash_digestsize(ahash); in ahash_setkey()
478 return ahash_set_sh_desc(ahash); in ahash_setkey()
501 return axcbc_set_sh_desc(ahash); in axcbc_setkey()
521 return acmac_set_sh_desc(ahash); in acmac_setkey()
582 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_cpy()
821 int blocksize = crypto_ahash_blocksize(ahash); in ahash_update_ctx()
1197 int blocksize = crypto_ahash_blocksize(ahash); in ahash_update_no_ctx()
[all …]
A Dcaamalg_qi2.c3136 int digestsize = crypto_ahash_digestsize(ahash); in ahash_set_sh_desc()
3348 ret = ahash_set_sh_desc(ahash); in ahash_setkey()
3396 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done()
3448 crypto_ahash_digestsize(ahash), 1); in ahash_done_bi()
3461 int digestsize = crypto_ahash_digestsize(ahash); in ahash_done_ctx_src()
3513 crypto_ahash_digestsize(ahash), 1); in ahash_done_ctx_dst()
3649 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_ctx()
3721 int digestsize = crypto_ahash_digestsize(ahash); in ahash_finup_ctx()
3812 int digestsize = crypto_ahash_digestsize(ahash); in ahash_digest()
3909 int digestsize = crypto_ahash_digestsize(ahash); in ahash_final_no_ctx()
[all …]
/linux/drivers/crypto/qce/
A Dsha.h63 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()
A Dsha.c40 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()
283 tmpl->alg.ahash.halg.digestsize); in qce_ahash_final()
320 tmpl->alg.ahash.halg.digestsize); in qce_ahash_digest()
393 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in qce_ahash_cra_init() local
396 crypto_ahash_set_reqsize(ahash, sizeof(struct qce_sha_reqctx)); in qce_ahash_cra_init()
464 alg = &tmpl->alg.ahash; in qce_ahash_register_one()
516 crypto_unregister_ahash(&tmpl->alg.ahash); in qce_ahash_unregister()
A Dcommon.h91 struct ahash_alg ahash; member
A Dcommon.c149 struct crypto_ahash *ahash = __crypto_ahash_cast(async_req->tfm); in qce_setup_regs_ahash() local
153 unsigned int digestsize = crypto_ahash_digestsize(ahash); in qce_setup_regs_ahash()
/linux/drivers/crypto/
A Dn2_core.c1363 struct ahash_alg *ahash; in __n2_register_one_hmac() local
1374 ahash = &p->derived.alg; in __n2_register_one_hmac()
1378 base = &ahash->halg.base; in __n2_register_one_hmac()
1387 err = crypto_register_ahash(ahash); in __n2_register_one_hmac()
1403 struct ahash_alg *ahash; in __n2_register_one_ahash() local
1416 ahash = &p->alg; in __n2_register_one_ahash()
1417 ahash->init = n2_hash_async_init; in __n2_register_one_ahash()
1419 ahash->final = n2_hash_async_final; in __n2_register_one_ahash()
1420 ahash->finup = n2_hash_async_finup; in __n2_register_one_ahash()
1425 halg = &ahash->halg; in __n2_register_one_ahash()
[all …]
A Dsa2ul.c158 struct ahash_alg ahash; member
1512 ctx->fallback.ahash = in sa_sha_cra_init_alg()
1515 if (IS_ERR(ctx->fallback.ahash)) { in sa_sha_cra_init_alg()
1518 return PTR_ERR(ctx->fallback.ahash); in sa_sha_cra_init_alg()
1528 crypto_ahash_reqsize(ctx->fallback.ahash)); in sa_sha_cra_init_alg()
1620 ahash_request_set_tfm(subreq, ctx->fallback.ahash); in sa_sha_export()
1687 crypto_free_ahash(ctx->fallback.ahash); in sa_sha_cra_exit()
2064 .alg.ahash = {
2093 .alg.ahash = {
2122 .alg.ahash = {
[all …]
A Dsa2ul.h318 struct crypto_ahash *ahash; member
/linux/drivers/crypto/inside-secure/
A Dsafexcel_hash.c984 .alg.ahash = {
1235 .alg.ahash = {
1293 .alg.ahash = {
1350 .alg.ahash = {
1421 .alg.ahash = {
1493 .alg.ahash = {
1551 .alg.ahash = {
1608 .alg.ahash = {
1679 .alg.ahash = {
1751 .alg.ahash = {
[all …]
/linux/include/crypto/internal/
A Dhash.h162 struct crypto_ahash *ahash) in ahash_alg_instance() argument
164 return ahash_instance(crypto_tfm_alg_instance(&ahash->base)); in ahash_alg_instance()
/linux/include/net/
A Dah.h13 struct crypto_ahash *ahash; member
/linux/drivers/crypto/amcc/
A Dcrypto4xx_alg.c683 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in crypto4xx_hash_update() local
686 unsigned int ds = crypto_ahash_digestsize(ahash); in crypto4xx_hash_update()
702 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in crypto4xx_hash_digest() local
705 unsigned int ds = crypto_ahash_digestsize(ahash); in crypto4xx_hash_digest()
/linux/drivers/crypto/ccree/
A Dcc_hash.c739 ctx = crypto_ahash_ctx(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(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(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(ahash); in cc_hash_export()
1527 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in cc_hash_import() local
[all …]
/linux/crypto/
A Dbuilt-in.a14 ahash.o/
A Dahash.c494 struct ahash_instance *ahash = ahash_instance(inst); in crypto_ahash_free_instance() local
496 ahash->free(ahash); in crypto_ahash_free_instance()
A D.built-in.a.cmd1 …o crypto/aead.o crypto/geniv.o crypto/skcipher.o crypto/echainiv.o crypto/ahash.o crypto/shash.o c…
A D.ahash.o.cmd1ahash.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aa…
3 source_crypto/ahash.o := crypto/ahash.c
5 deps_crypto/ahash.o := \
1209 crypto/ahash.o: $(deps_crypto/ahash.o)
1211 $(deps_crypto/ahash.o):
/linux/drivers/crypto/marvell/cesa/
A Dhash.c843 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/drivers/crypto/bcm/
A Dcipher.c658 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in handle_ahash_req() local
659 struct crypto_tfm *tfm = crypto_ahash_tfm(ahash); in handle_ahash_req()
900 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in spu_hmac_outer_hash() local
902 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in spu_hmac_outer_hash()
999 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in handle_ahash_resp() local
1001 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in handle_ahash_resp()
2255 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
2258 __func__, ahash, key, keylen); in ahash_setkey()
2319 struct iproc_ctx_s *ctx = crypto_ahash_ctx(ahash); in ahash_hmac_setkey()
2321 crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in ahash_hmac_setkey()
[all …]
/linux/drivers/crypto/ccp/
A Dccp-crypto-aes-cmac.c338 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_aes_cmac_cra_init() local
343 crypto_ahash_set_reqsize(ahash, sizeof(struct ccp_aes_cmac_req_ctx)); in ccp_aes_cmac_cra_init()
A Dccp-crypto-sha.c317 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_sha_cra_init() local
322 crypto_ahash_set_reqsize(ahash, sizeof(struct ccp_sha_req_ctx)); in ccp_sha_cra_init()
/linux/Documentation/crypto/
A Darchitecture.rst152 - ahash for asynchronous message digest
304 | skcipher | | ahash |
388 | ahash |

Completed in 64 milliseconds

12