/openbmc/linux/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_ahash.c | 58 rctx->fallback_req.nbytes = areq->nbytes; in rk_ahash_digest_fb() 59 rctx->fallback_req.src = areq->src; in rk_ahash_digest_fb() 60 rctx->fallback_req.result = areq->result; in rk_ahash_digest_fb() 62 return crypto_ahash_digest(&rctx->fallback_req); in rk_ahash_digest_fb() 130 return crypto_ahash_init(&rctx->fallback_req); in rk_ahash_init() 142 rctx->fallback_req.nbytes = req->nbytes; in rk_ahash_update() 143 rctx->fallback_req.src = req->src; in rk_ahash_update() 157 rctx->fallback_req.result = req->result; in rk_ahash_final() 172 rctx->fallback_req.nbytes = req->nbytes; in rk_ahash_finup() 173 rctx->fallback_req.src = req->src; in rk_ahash_finup() [all …]
|
H A D | rk3288_crypto.h | 238 struct ahash_request fallback_req; member 255 struct skcipher_request fallback_req; // keep at the end member
|
H A D | rk3288_crypto_skcipher.c | 79 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()
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-hash.c | 83 return crypto_ahash_init(&rctx->fallback_req); in sun8i_ce_hash_init() 119 rctx->fallback_req.result = areq->result; in sun8i_ce_hash_final() 132 return crypto_ahash_final(&rctx->fallback_req); in sun8i_ce_hash_final() 144 rctx->fallback_req.nbytes = areq->nbytes; in sun8i_ce_hash_update() 145 rctx->fallback_req.src = areq->src; in sun8i_ce_hash_update() 160 rctx->fallback_req.nbytes = areq->nbytes; in sun8i_ce_hash_finup() 161 rctx->fallback_req.src = areq->src; in sun8i_ce_hash_finup() 162 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 …]
|
H A D | sun8i-ce-cipher.c | 108 skcipher_request_set_tfm(&rctx->fallback_req, op->fallback_tfm); in sun8i_ce_cipher_fallback() 109 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags, in sun8i_ce_cipher_fallback() 111 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in sun8i_ce_cipher_fallback() 114 err = crypto_skcipher_decrypt(&rctx->fallback_req); in sun8i_ce_cipher_fallback() 116 err = crypto_skcipher_encrypt(&rctx->fallback_req); in sun8i_ce_cipher_fallback()
|
H A D | sun8i-ce.h | 263 struct skcipher_request fallback_req; // keep at the end member 296 struct ahash_request fallback_req; member
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-hash.c | 172 return crypto_ahash_init(&rctx->fallback_req); in sun8i_ss_hash_init() 208 rctx->fallback_req.result = areq->result; in sun8i_ss_hash_final() 222 return crypto_ahash_final(&rctx->fallback_req); in sun8i_ss_hash_final() 234 rctx->fallback_req.nbytes = areq->nbytes; in sun8i_ss_hash_update() 235 rctx->fallback_req.src = areq->src; in sun8i_ss_hash_update() 250 rctx->fallback_req.nbytes = areq->nbytes; in sun8i_ss_hash_finup() 251 rctx->fallback_req.src = areq->src; in sun8i_ss_hash_finup() 252 rctx->fallback_req.result = areq->result; in sun8i_ss_hash_finup() 279 rctx->fallback_req.nbytes = areq->nbytes; in sun8i_ss_hash_digest_fb() 280 rctx->fallback_req.src = areq->src; in sun8i_ss_hash_digest_fb() [all …]
|
H A D | sun8i-ss.h | 199 struct skcipher_request fallback_req; // keep at the end member 251 struct ahash_request fallback_req; member
|
H A D | sun8i-ss-cipher.c | 108 skcipher_request_set_tfm(&rctx->fallback_req, op->fallback_tfm); in sun8i_ss_cipher_fallback() 109 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags, in sun8i_ss_cipher_fallback() 111 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in sun8i_ss_cipher_fallback() 114 err = crypto_skcipher_decrypt(&rctx->fallback_req); in sun8i_ss_cipher_fallback() 116 err = crypto_skcipher_encrypt(&rctx->fallback_req); in sun8i_ss_cipher_fallback()
|
/openbmc/linux/drivers/crypto/ |
H A D | img-hash.c | 105 struct ahash_request fallback_req; member 494 rctx->fallback_req.base.flags = req->base.flags in img_hash_init() 497 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init() 558 rctx->fallback_req.base.flags = req->base.flags in img_hash_update() 560 rctx->fallback_req.nbytes = req->nbytes; in img_hash_update() 561 rctx->fallback_req.src = req->src; in img_hash_update() 573 rctx->fallback_req.base.flags = req->base.flags in img_hash_final() 575 rctx->fallback_req.result = req->result; in img_hash_final() 589 rctx->fallback_req.nbytes = req->nbytes; in img_hash_finup() 590 rctx->fallback_req.src = req->src; in img_hash_finup() [all …]
|
H A D | n2_core.c | 309 struct ahash_request fallback_req; member 332 rctx->fallback_req.nbytes = req->nbytes; in n2_hash_async_update() 333 rctx->fallback_req.src = req->src; in n2_hash_async_update() 346 rctx->fallback_req.result = req->result; in n2_hash_async_final() 359 rctx->fallback_req.nbytes = req->nbytes; in n2_hash_async_finup() 360 rctx->fallback_req.src = req->src; in n2_hash_async_finup() 361 rctx->fallback_req.result = req->result; in n2_hash_async_finup() 541 rctx->fallback_req.base.flags = in n2_do_async_digest() 544 rctx->fallback_req.src = req->src; in n2_do_async_digest() 642 rctx->fallback_req.base.flags = in n2_hmac_async_digest() [all …]
|
H A D | sa2ul.c | 1549 rctx->fallback_req.base.flags = in sa_sha_init() 1552 return crypto_ahash_init(&rctx->fallback_req); in sa_sha_init() 1562 rctx->fallback_req.base.flags = in sa_sha_update() 1564 rctx->fallback_req.nbytes = req->nbytes; in sa_sha_update() 1565 rctx->fallback_req.src = req->src; in sa_sha_update() 1577 rctx->fallback_req.base.flags = in sa_sha_final() 1579 rctx->fallback_req.result = req->result; in sa_sha_final() 1591 rctx->fallback_req.base.flags = in sa_sha_finup() 1594 rctx->fallback_req.nbytes = req->nbytes; in sa_sha_finup() 1595 rctx->fallback_req.src = req->src; in sa_sha_finup() [all …]
|
H A D | mxs-dcp.c | 109 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()
|
/openbmc/linux/drivers/crypto/ccp/ |
H A 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()
|
/openbmc/linux/drivers/crypto/amlogic/ |
H A 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()
|
H A D | amlogic-gxl.h | 112 struct skcipher_request fallback_req; // keep at the end member
|
/openbmc/linux/drivers/crypto/gemini/ |
H A D | sl3516-ce-cipher.c | 115 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()
|
/openbmc/linux/drivers/crypto/qce/ |
H A D | skcipher.c | 295 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()
|
H A D | cipher.h | 45 struct skcipher_request fallback_req; // keep at the end member
|
H A D | aead.h | 44 struct aead_request fallback_req; member
|
H A D | aead.c | 529 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()
|
/openbmc/linux/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-cipher.c | 162 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()
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caamalg_qi2.h | 188 struct skcipher_request fallback_req; member
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | tlb.c | 291 unsigned int req, unsigned int fallback_req, in make_xfence_request() argument 319 actual_req = fallback_req; in make_xfence_request()
|
/openbmc/linux/drivers/crypto/aspeed/ |
H A D | aspeed-hace-crypto.c | 34 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in aspeed_crypto_do_fallback() 35 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags, in aspeed_crypto_do_fallback() 37 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in aspeed_crypto_do_fallback() 41 err = crypto_skcipher_encrypt(&rctx->fallback_req); in aspeed_crypto_do_fallback() 43 err = crypto_skcipher_decrypt(&rctx->fallback_req); in aspeed_crypto_do_fallback()
|