Home
last modified time | relevance | path

Searched refs:fallback_req (Results 1 – 14 of 14) 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 …]
/linux/drivers/crypto/tegra/
H A Dtegra-se-hash.c46 struct ahash_request fallback_req; member
120 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in tegra_sha_fallback_init()
121 ahash_request_set_callback(&rctx->fallback_req, in tegra_sha_fallback_init()
125 return crypto_ahash_init(&rctx->fallback_req); in tegra_sha_fallback_init()
134 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in tegra_sha_fallback_update()
135 ahash_request_set_callback(&rctx->fallback_req, in tegra_sha_fallback_update()
138 ahash_request_set_crypt(&rctx->fallback_req, req->src, NULL, req->nbytes); in tegra_sha_fallback_update()
140 return crypto_ahash_update(&rctx->fallback_req); in tegra_sha_fallback_update()
149 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in tegra_sha_fallback_final()
150 ahash_request_set_callback(&rctx->fallback_req, in tegra_sha_fallback_final()
[all …]
/linux/drivers/crypto/
H A Dimg-hash.c104 struct ahash_request fallback_req; member
492 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init()
493 ahash_request_set_callback(&rctx->fallback_req, in img_hash_init()
497 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init()
557 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
558 ahash_request_set_callback(&rctx->fallback_req, in img_hash_update()
561 ahash_request_set_crypt(&rctx->fallback_req, req->src, NULL, req->nbytes); in img_hash_update()
563 return crypto_ahash_update(&rctx->fallback_req); in img_hash_update()
572 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
573 ahash_request_set_callback(&rctx->fallback_req, in img_hash_final()
[all …]
H A Dsa2ul.h333 struct ahash_request fallback_req; member
H A Datmel-aes.c146 struct skcipher_request fallback_req; member
1046 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in atmel_aes_xts_fallback()
1047 skcipher_request_set_callback(&rctx->fallback_req, req->base.flags, in atmel_aes_xts_fallback()
1049 skcipher_request_set_crypt(&rctx->fallback_req, req->src, req->dst, in atmel_aes_xts_fallback()
1052 return enc ? crypto_skcipher_encrypt(&rctx->fallback_req) : in atmel_aes_xts_fallback()
1053 crypto_skcipher_decrypt(&rctx->fallback_req); in atmel_aes_xts_fallback()
/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/rockchip/
H A Drk3288_crypto.h238 struct ahash_request fallback_req; member
255 struct skcipher_request fallback_req; // keep at the end member
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()
/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()
/linux/drivers/crypto/gemini/
H A Dsl3516-ce.h289 struct skcipher_request fallback_req; // keep at the end member
/linux/drivers/crypto/ccp/
H A Dccp-crypto.h126 struct skcipher_request fallback_req; // keep at the end member