Home
last modified time | relevance | path

Searched refs:fallback_req (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/crypto/allwinner/sun8i-ce/
A Dsun8i-ce-hash.c84 return crypto_ahash_init(&rctx->fallback_req); in sun8i_ce_hash_init()
124 rctx->fallback_req.result = areq->result; in sun8i_ce_hash_final()
131 return crypto_ahash_final(&rctx->fallback_req); in sun8i_ce_hash_final()
143 rctx->fallback_req.nbytes = areq->nbytes; in sun8i_ce_hash_update()
144 rctx->fallback_req.src = areq->src; in sun8i_ce_hash_update()
163 rctx->fallback_req.nbytes = areq->nbytes; in sun8i_ce_hash_finup()
164 rctx->fallback_req.src = areq->src; in sun8i_ce_hash_finup()
165 rctx->fallback_req.result = areq->result; in sun8i_ce_hash_finup()
188 rctx->fallback_req.nbytes = areq->nbytes; in sun8i_ce_hash_digest_fb()
189 rctx->fallback_req.src = areq->src; in sun8i_ce_hash_digest_fb()
[all …]
A Dsun8i-ce-cipher.c66 skcipher_request_set_tfm(&rctx->fallback_req, op->fallback_tfm); in sun8i_ce_cipher_fallback()
67 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags, in sun8i_ce_cipher_fallback()
69 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in sun8i_ce_cipher_fallback()
72 err = crypto_skcipher_decrypt(&rctx->fallback_req); in sun8i_ce_cipher_fallback()
74 err = crypto_skcipher_encrypt(&rctx->fallback_req); in sun8i_ce_cipher_fallback()
A Dsun8i-ce.h262 struct skcipher_request fallback_req; // keep at the end member
299 struct ahash_request fallback_req; member
/linux/drivers/crypto/rockchip/
A Drk3288_crypto_ahash.c87 rctx->fallback_req.base.flags = req->base.flags & in rk_ahash_init()
90 return crypto_ahash_init(&rctx->fallback_req); in rk_ahash_init()
102 rctx->fallback_req.nbytes = req->nbytes; in rk_ahash_update()
103 rctx->fallback_req.src = req->src; in rk_ahash_update()
105 return crypto_ahash_update(&rctx->fallback_req); in rk_ahash_update()
117 rctx->fallback_req.result = req->result; in rk_ahash_final()
119 return crypto_ahash_final(&rctx->fallback_req); in rk_ahash_final()
132 rctx->fallback_req.nbytes = req->nbytes; in rk_ahash_finup()
133 rctx->fallback_req.src = req->src; in rk_ahash_finup()
134 rctx->fallback_req.result = req->result; in rk_ahash_finup()
[all …]
/linux/drivers/crypto/allwinner/sun8i-ss/
A Dsun8i-ss-hash.c84 return crypto_ahash_init(&rctx->fallback_req); in sun8i_ss_hash_init()
124 rctx->fallback_req.result = areq->result; in sun8i_ss_hash_final()
131 return crypto_ahash_final(&rctx->fallback_req); in sun8i_ss_hash_final()
143 rctx->fallback_req.nbytes = areq->nbytes; in sun8i_ss_hash_update()
144 rctx->fallback_req.src = areq->src; in sun8i_ss_hash_update()
163 rctx->fallback_req.nbytes = areq->nbytes; in sun8i_ss_hash_finup()
164 rctx->fallback_req.src = areq->src; in sun8i_ss_hash_finup()
165 rctx->fallback_req.result = areq->result; in sun8i_ss_hash_finup()
188 rctx->fallback_req.nbytes = areq->nbytes; in sun8i_ss_hash_digest_fb()
189 rctx->fallback_req.src = areq->src; in sun8i_ss_hash_digest_fb()
[all …]
A Dsun8i-ss-cipher.c83 skcipher_request_set_tfm(&rctx->fallback_req, op->fallback_tfm); in sun8i_ss_cipher_fallback()
84 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags, in sun8i_ss_cipher_fallback()
86 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in sun8i_ss_cipher_fallback()
89 err = crypto_skcipher_decrypt(&rctx->fallback_req); in sun8i_ss_cipher_fallback()
91 err = crypto_skcipher_encrypt(&rctx->fallback_req); in sun8i_ss_cipher_fallback()
A Dsun8i-ss.h189 struct skcipher_request fallback_req; // keep at the end member
245 struct ahash_request fallback_req; member
/linux/drivers/crypto/
A Dimg-hash.c105 struct ahash_request fallback_req; member
490 rctx->fallback_req.base.flags = req->base.flags in img_hash_init()
493 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init()
554 rctx->fallback_req.base.flags = req->base.flags in img_hash_update()
556 rctx->fallback_req.nbytes = req->nbytes; in img_hash_update()
557 rctx->fallback_req.src = req->src; in img_hash_update()
569 rctx->fallback_req.base.flags = req->base.flags in img_hash_final()
571 rctx->fallback_req.result = req->result; in img_hash_final()
585 rctx->fallback_req.nbytes = req->nbytes; in img_hash_finup()
586 rctx->fallback_req.src = req->src; in img_hash_finup()
[all …]
A Dn2_core.c308 struct ahash_request fallback_req; member
331 rctx->fallback_req.nbytes = req->nbytes; in n2_hash_async_update()
332 rctx->fallback_req.src = req->src; in n2_hash_async_update()
345 rctx->fallback_req.result = req->result; in n2_hash_async_final()
358 rctx->fallback_req.nbytes = req->nbytes; in n2_hash_async_finup()
359 rctx->fallback_req.src = req->src; in n2_hash_async_finup()
360 rctx->fallback_req.result = req->result; in n2_hash_async_finup()
540 rctx->fallback_req.base.flags = in n2_do_async_digest()
543 rctx->fallback_req.src = req->src; in n2_do_async_digest()
641 rctx->fallback_req.base.flags = in n2_hmac_async_digest()
[all …]
A Dsahara.c155 struct skcipher_request fallback_req; // keep at the end member
662 skcipher_request_set_callback(&rctx->fallback_req, in sahara_aes_ecb_encrypt()
666 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in sahara_aes_ecb_encrypt()
668 return crypto_skcipher_encrypt(&rctx->fallback_req); in sahara_aes_ecb_encrypt()
682 skcipher_request_set_callback(&rctx->fallback_req, in sahara_aes_ecb_decrypt()
686 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in sahara_aes_ecb_decrypt()
688 return crypto_skcipher_decrypt(&rctx->fallback_req); in sahara_aes_ecb_decrypt()
702 skcipher_request_set_callback(&rctx->fallback_req, in sahara_aes_cbc_encrypt()
708 return crypto_skcipher_encrypt(&rctx->fallback_req); in sahara_aes_cbc_encrypt()
722 skcipher_request_set_callback(&rctx->fallback_req, in sahara_aes_cbc_decrypt()
[all …]
A Dsa2ul.c1548 rctx->fallback_req.base.flags = in sa_sha_init()
1551 return crypto_ahash_init(&rctx->fallback_req); in sa_sha_init()
1561 rctx->fallback_req.base.flags = in sa_sha_update()
1563 rctx->fallback_req.nbytes = req->nbytes; in sa_sha_update()
1564 rctx->fallback_req.src = req->src; in sa_sha_update()
1576 rctx->fallback_req.base.flags = in sa_sha_final()
1578 rctx->fallback_req.result = req->result; in sa_sha_final()
1590 rctx->fallback_req.base.flags = in sa_sha_finup()
1593 rctx->fallback_req.nbytes = req->nbytes; in sa_sha_finup()
1594 rctx->fallback_req.src = req->src; in sa_sha_finup()
[all …]
A Dmxs-dcp.c109 struct skcipher_request fallback_req; // keep at the end member
434 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in mxs_dcp_block_fallback()
435 skcipher_request_set_callback(&rctx->fallback_req, req->base.flags, in mxs_dcp_block_fallback()
437 skcipher_request_set_crypt(&rctx->fallback_req, req->src, req->dst, in mxs_dcp_block_fallback()
441 ret = crypto_skcipher_encrypt(&rctx->fallback_req); in mxs_dcp_block_fallback()
443 ret = crypto_skcipher_decrypt(&rctx->fallback_req); in mxs_dcp_block_fallback()
A Domap-aes.c551 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in omap_aes_crypt()
552 skcipher_request_set_callback(&rctx->fallback_req, in omap_aes_crypt()
556 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in omap_aes_crypt()
560 ret = crypto_skcipher_encrypt(&rctx->fallback_req); in omap_aes_crypt()
562 ret = crypto_skcipher_decrypt(&rctx->fallback_req); in omap_aes_crypt()
A Dixp4xx_crypto.c155 struct skcipher_request fallback_req; // keep at the end member
960 skcipher_request_set_tfm(&rctx->fallback_req, op->fallback_tfm); in ixp4xx_cipher_fallback()
961 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags, in ixp4xx_cipher_fallback()
963 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in ixp4xx_cipher_fallback()
966 err = crypto_skcipher_encrypt(&rctx->fallback_req); in ixp4xx_cipher_fallback()
968 err = crypto_skcipher_decrypt(&rctx->fallback_req); in ixp4xx_cipher_fallback()
/linux/drivers/crypto/ccp/
A Dccp-crypto-aes-xts.c151 skcipher_request_set_tfm(&rctx->fallback_req, in ccp_aes_xts_crypt()
153 skcipher_request_set_callback(&rctx->fallback_req, in ccp_aes_xts_crypt()
157 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in ccp_aes_xts_crypt()
159 ret = encrypt ? crypto_skcipher_encrypt(&rctx->fallback_req) : in ccp_aes_xts_crypt()
160 crypto_skcipher_decrypt(&rctx->fallback_req); in ccp_aes_xts_crypt()
/linux/drivers/crypto/qce/
A Dskcipher.c295 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in qce_skcipher_crypt()
296 skcipher_request_set_callback(&rctx->fallback_req, in qce_skcipher_crypt()
300 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in qce_skcipher_crypt()
302 ret = encrypt ? crypto_skcipher_encrypt(&rctx->fallback_req) : in qce_skcipher_crypt()
303 crypto_skcipher_decrypt(&rctx->fallback_req); in qce_skcipher_crypt()
324 fallback_req)); in qce_skcipher_init()
A Daead.c529 aead_request_set_tfm(&rctx->fallback_req, ctx->fallback); in qce_aead_crypt()
530 aead_request_set_callback(&rctx->fallback_req, req->base.flags, in qce_aead_crypt()
532 aead_request_set_crypt(&rctx->fallback_req, req->src, in qce_aead_crypt()
534 aead_request_set_ad(&rctx->fallback_req, req->assoclen); in qce_aead_crypt()
536 return encrypt ? crypto_aead_encrypt(&rctx->fallback_req) : in qce_aead_crypt()
537 crypto_aead_decrypt(&rctx->fallback_req); in qce_aead_crypt()
A Dcipher.h45 struct skcipher_request fallback_req; // keep at the end member
A Daead.h44 struct aead_request fallback_req; member
/linux/drivers/crypto/gemini/
A Dsl3516-ce-cipher.c111 skcipher_request_set_tfm(&rctx->fallback_req, op->fallback_tfm); in sl3516_ce_cipher_fallback()
112 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags, in sl3516_ce_cipher_fallback()
114 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in sl3516_ce_cipher_fallback()
117 err = crypto_skcipher_decrypt(&rctx->fallback_req); in sl3516_ce_cipher_fallback()
119 err = crypto_skcipher_encrypt(&rctx->fallback_req); in sl3516_ce_cipher_fallback()
/linux/drivers/crypto/amlogic/
A Damlogic-gxl-cipher.c71 skcipher_request_set_tfm(&rctx->fallback_req, op->fallback_tfm); in meson_cipher_do_fallback()
72 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags, in meson_cipher_do_fallback()
74 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in meson_cipher_do_fallback()
78 err = crypto_skcipher_decrypt(&rctx->fallback_req); in meson_cipher_do_fallback()
80 err = crypto_skcipher_encrypt(&rctx->fallback_req); in meson_cipher_do_fallback()
A Damlogic-gxl.h112 struct skcipher_request fallback_req; // keep at the end member
/linux/drivers/crypto/allwinner/sun4i-ss/
A Dsun4i-ss-cipher.c165 skcipher_request_set_tfm(&ctx->fallback_req, op->fallback_tfm); in sun4i_ss_cipher_poll_fallback()
166 skcipher_request_set_callback(&ctx->fallback_req, areq->base.flags, in sun4i_ss_cipher_poll_fallback()
168 skcipher_request_set_crypt(&ctx->fallback_req, areq->src, areq->dst, in sun4i_ss_cipher_poll_fallback()
171 err = crypto_skcipher_decrypt(&ctx->fallback_req); in sun4i_ss_cipher_poll_fallback()
173 err = crypto_skcipher_encrypt(&ctx->fallback_req); in sun4i_ss_cipher_poll_fallback()
A Dsun4i-ss.h186 struct skcipher_request fallback_req; // keep at the end member
/linux/drivers/crypto/caam/
A Dcaamalg_qi2.h190 struct skcipher_request fallback_req; member

Completed in 66 milliseconds

12