Home
last modified time | relevance | path

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

/linux/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c152 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_init()
153 ahash_request_set_callback(&rctx->fallback_req, in sun8i_ss_hash_init()
157 return crypto_ahash_init(&rctx->fallback_req); in sun8i_ss_hash_init()
166 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_export()
167 ahash_request_set_callback(&rctx->fallback_req, in sun8i_ss_hash_export()
171 return crypto_ahash_export(&rctx->fallback_req, out); in sun8i_ss_hash_export()
180 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_import()
181 ahash_request_set_callback(&rctx->fallback_req, in sun8i_ss_hash_import()
185 return crypto_ahash_import(&rctx->fallback_req, in); in sun8i_ss_hash_import()
194 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_final()
[all …]
H A Dsun8i-ss.h199 struct skcipher_request fallback_req; // keep at the end member
251 struct ahash_request fallback_req; member
/linux/drivers/crypto/
H A Dimg-hash.c105 struct ahash_request fallback_req; member
493 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init()
494 ahash_request_set_callback(&rctx->fallback_req, in img_hash_init()
498 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init()
558 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
559 ahash_request_set_callback(&rctx->fallback_req, in img_hash_update()
562 ahash_request_set_crypt(&rctx->fallback_req, req->src, NULL, req->nbytes); in img_hash_update()
564 return crypto_ahash_update(&rctx->fallback_req); in img_hash_update()
573 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
574 ahash_request_set_callback(&rctx->fallback_req, in img_hash_final()
[all …]
H A Dsa2ul.h333 struct ahash_request fallback_req; member
/linux/drivers/crypto/ccp/
H 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()
H A Dccp-crypto.h126 struct skcipher_request fallback_req; // keep at the end member
/linux/drivers/crypto/amlogic/
H 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()
H A Damlogic-gxl.h112 struct skcipher_request fallback_req; // keep at the end member
/linux/drivers/crypto/gemini/
H A Dsl3516-ce-cipher.c115 skcipher_request_set_tfm(&rctx->fallback_req, op->fallback_tfm); in sl3516_ce_cipher_fallback()
116 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags, in sl3516_ce_cipher_fallback()
118 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in sl3516_ce_cipher_fallback()
121 err = crypto_skcipher_decrypt(&rctx->fallback_req); in sl3516_ce_cipher_fallback()
123 err = crypto_skcipher_encrypt(&rctx->fallback_req); in sl3516_ce_cipher_fallback()
H A Dsl3516-ce.h289 struct skcipher_request fallback_req; // keep at the end member
/linux/drivers/crypto/rockchip/
H A Drk3288_crypto_skcipher.c79 skcipher_request_set_tfm(&rctx->fallback_req, op->fallback_tfm); in rk_cipher_fallback()
80 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags, in rk_cipher_fallback()
82 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in rk_cipher_fallback()
85 err = crypto_skcipher_decrypt(&rctx->fallback_req); in rk_cipher_fallback()
87 err = crypto_skcipher_encrypt(&rctx->fallback_req); in rk_cipher_fallback()
H A Drk3288_crypto.h238 struct ahash_request fallback_req; member
255 struct skcipher_request fallback_req; // keep at the end member
/linux/drivers/crypto/qce/
H A Dcipher.h45 struct skcipher_request fallback_req; // keep at the end member
H A Daead.h44 struct aead_request fallback_req; member
/linux/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-cipher.c162 skcipher_request_set_tfm(&ctx->fallback_req, op->fallback_tfm); in sun4i_ss_cipher_poll_fallback()
163 skcipher_request_set_callback(&ctx->fallback_req, areq->base.flags, in sun4i_ss_cipher_poll_fallback()
165 skcipher_request_set_crypt(&ctx->fallback_req, areq->src, areq->dst, in sun4i_ss_cipher_poll_fallback()
168 err = crypto_skcipher_decrypt(&ctx->fallback_req); in sun4i_ss_cipher_poll_fallback()
170 err = crypto_skcipher_encrypt(&ctx->fallback_req); in sun4i_ss_cipher_poll_fallback()
H A Dsun4i-ss.h187 struct skcipher_request fallback_req; // keep at the end member
/linux/drivers/crypto/caam/
H A Dcaamalg_qi2.h188 struct skcipher_request fallback_req; member
H A Dcaamalg_qi.c82 struct skcipher_request fallback_req; member
1440 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in skcipher_crypt()
1441 skcipher_request_set_callback(&rctx->fallback_req, in skcipher_crypt()
1445 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in skcipher_crypt()
1448 return encrypt ? crypto_skcipher_encrypt(&rctx->fallback_req) : in skcipher_crypt()
1449 crypto_skcipher_decrypt(&rctx->fallback_req); in skcipher_crypt()
H A Dcaamalg.c139 struct skcipher_request fallback_req; member
1914 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in skcipher_crypt()
1915 skcipher_request_set_callback(&rctx->fallback_req, in skcipher_crypt()
1919 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in skcipher_crypt()
1922 return encrypt ? crypto_skcipher_encrypt(&rctx->fallback_req) : in skcipher_crypt()
1923 crypto_skcipher_decrypt(&rctx->fallback_req); in skcipher_crypt()
/linux/arch/riscv/kvm/
H A Dtlb.c330 unsigned int req, unsigned int fallback_req, in make_xfence_request() argument
358 actual_req = fallback_req; in make_xfence_request()