/Linux-v5.10/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-hash.c | 80 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_init() 81 rctx->fallback_req.base.flags = areq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in sun8i_ce_hash_init() 83 return crypto_ahash_init(&rctx->fallback_req); in sun8i_ce_hash_init() 92 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_export() 93 rctx->fallback_req.base.flags = areq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in sun8i_ce_hash_export() 95 return crypto_ahash_export(&rctx->fallback_req, out); in sun8i_ce_hash_export() 104 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_import() 105 rctx->fallback_req.base.flags = areq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in sun8i_ce_hash_import() 107 return crypto_ahash_import(&rctx->fallback_req, in); in sun8i_ce_hash_import() 120 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_final() [all …]
|
D | sun8i-ce-cipher.c | 66 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()
|
D | sun8i-ce.h | 261 struct skcipher_request fallback_req; // keep at the end member 298 struct ahash_request fallback_req; member
|
/Linux-v5.10/drivers/crypto/rockchip/ |
D | rk3288_crypto_ahash.c | 86 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_init() 87 rctx->fallback_req.base.flags = req->base.flags & in rk_ahash_init() 90 return crypto_ahash_init(&rctx->fallback_req); in rk_ahash_init() 99 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_update() 100 rctx->fallback_req.base.flags = req->base.flags & in rk_ahash_update() 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() 114 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_final() 115 rctx->fallback_req.base.flags = req->base.flags & in rk_ahash_final() [all …]
|
D | rk3288_crypto.h | 241 struct ahash_request fallback_req; member
|
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-hash.c | 80 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_init() 81 rctx->fallback_req.base.flags = areq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in sun8i_ss_hash_init() 83 return crypto_ahash_init(&rctx->fallback_req); in sun8i_ss_hash_init() 92 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_export() 93 rctx->fallback_req.base.flags = areq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in sun8i_ss_hash_export() 95 return crypto_ahash_export(&rctx->fallback_req, out); in sun8i_ss_hash_export() 104 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_import() 105 rctx->fallback_req.base.flags = areq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in sun8i_ss_hash_import() 107 return crypto_ahash_import(&rctx->fallback_req, in); in sun8i_ss_hash_import() 120 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_final() [all …]
|
D | sun8i-ss-cipher.c | 83 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()
|
D | sun8i-ss.h | 188 struct skcipher_request fallback_req; // keep at the end member 244 struct ahash_request fallback_req; member
|
/Linux-v5.10/drivers/crypto/ |
D | img-hash.c | 104 struct ahash_request fallback_req; member 488 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init() 489 rctx->fallback_req.base.flags = req->base.flags in img_hash_init() 492 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init() 552 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update() 553 rctx->fallback_req.base.flags = req->base.flags in img_hash_update() 555 rctx->fallback_req.nbytes = req->nbytes; in img_hash_update() 556 rctx->fallback_req.src = req->src; in img_hash_update() 558 return crypto_ahash_update(&rctx->fallback_req); in img_hash_update() 567 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final() [all …]
|
D | n2_core.c | 307 struct ahash_request fallback_req; member 316 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_init() 317 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in n2_hash_async_init() 319 return crypto_ahash_init(&rctx->fallback_req); in n2_hash_async_init() 328 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_update() 329 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in n2_hash_async_update() 330 rctx->fallback_req.nbytes = req->nbytes; in n2_hash_async_update() 331 rctx->fallback_req.src = req->src; in n2_hash_async_update() 333 return crypto_ahash_update(&rctx->fallback_req); in n2_hash_async_update() 342 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_final() [all …]
|
D | sahara.c | 154 struct skcipher_request fallback_req; // keep at the end member 660 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in sahara_aes_ecb_encrypt() 661 skcipher_request_set_callback(&rctx->fallback_req, in sahara_aes_ecb_encrypt() 665 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in sahara_aes_ecb_encrypt() 667 return crypto_skcipher_encrypt(&rctx->fallback_req); in sahara_aes_ecb_encrypt() 680 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in sahara_aes_ecb_decrypt() 681 skcipher_request_set_callback(&rctx->fallback_req, in sahara_aes_ecb_decrypt() 685 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in sahara_aes_ecb_decrypt() 687 return crypto_skcipher_decrypt(&rctx->fallback_req); in sahara_aes_ecb_decrypt() 700 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in sahara_aes_cbc_encrypt() [all …]
|
D | sa2ul.c | 1390 struct ahash_request *subreq = &rctx->fallback_req; in sa_sha_run() 1520 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback.ahash); in sa_sha_init() 1521 rctx->fallback_req.base.flags = in sa_sha_init() 1524 return crypto_ahash_init(&rctx->fallback_req); in sa_sha_init() 1533 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback.ahash); in sa_sha_update() 1534 rctx->fallback_req.base.flags = in sa_sha_update() 1536 rctx->fallback_req.nbytes = req->nbytes; in sa_sha_update() 1537 rctx->fallback_req.src = req->src; in sa_sha_update() 1539 return crypto_ahash_update(&rctx->fallback_req); in sa_sha_update() 1548 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback.ahash); in sa_sha_final() [all …]
|
D | mxs-dcp.c | 108 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()
|
D | omap-aes.c | 551 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()
|
D | picoxcell_crypto.c | 89 struct skcipher_request fallback_req; // keep at the end member 912 skcipher_request_set_tfm(&dev_req->fallback_req, ctx->sw_cipher); in spacc_ablk_do_fallback() 913 skcipher_request_set_callback(&dev_req->fallback_req, req->base.flags, in spacc_ablk_do_fallback() 915 skcipher_request_set_crypt(&dev_req->fallback_req, req->src, req->dst, in spacc_ablk_do_fallback() 917 err = is_encrypt ? crypto_skcipher_encrypt(&dev_req->fallback_req) : in spacc_ablk_do_fallback() 918 crypto_skcipher_decrypt(&dev_req->fallback_req); in spacc_ablk_do_fallback() 1023 fallback_req)); in spacc_ablk_init_tfm()
|
D | sa2ul.h | 329 struct ahash_request fallback_req; member
|
/Linux-v5.10/drivers/crypto/ccp/ |
D | ccp-crypto-aes-xts.c | 151 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()
|
D | ccp-crypto.h | 125 struct skcipher_request fallback_req; // keep at the end member
|
/Linux-v5.10/drivers/crypto/qce/ |
D | skcipher.c | 239 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in qce_skcipher_crypt() 240 skcipher_request_set_callback(&rctx->fallback_req, in qce_skcipher_crypt() 244 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in qce_skcipher_crypt() 246 ret = encrypt ? crypto_skcipher_encrypt(&rctx->fallback_req) : in qce_skcipher_crypt() 247 crypto_skcipher_decrypt(&rctx->fallback_req); in qce_skcipher_crypt() 268 fallback_req)); in qce_skcipher_init()
|
D | cipher.h | 46 struct skcipher_request fallback_req; // keep at the end member
|
/Linux-v5.10/drivers/crypto/amlogic/ |
D | amlogic-gxl-cipher.c | 71 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()
|
D | amlogic-gxl.h | 112 struct skcipher_request fallback_req; // keep at the end member
|
/Linux-v5.10/drivers/crypto/allwinner/sun4i-ss/ |
D | sun4i-ss-cipher.c | 127 skcipher_request_set_tfm(&ctx->fallback_req, op->fallback_tfm); in sun4i_ss_cipher_poll_fallback() 128 skcipher_request_set_callback(&ctx->fallback_req, areq->base.flags, in sun4i_ss_cipher_poll_fallback() 130 skcipher_request_set_crypt(&ctx->fallback_req, areq->src, areq->dst, in sun4i_ss_cipher_poll_fallback() 133 err = crypto_skcipher_decrypt(&ctx->fallback_req); in sun4i_ss_cipher_poll_fallback() 135 err = crypto_skcipher_encrypt(&ctx->fallback_req); in sun4i_ss_cipher_poll_fallback()
|
D | sun4i-ss.h | 178 struct skcipher_request fallback_req; // keep at the end member
|
/Linux-v5.10/drivers/crypto/caam/ |
D | caamalg_qi2.h | 190 struct skcipher_request fallback_req; member
|