| /linux/drivers/crypto/allwinner/sun8i-ce/ |
| A D | sun8i-ce-hash.c | 84 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 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()
|
| A D | sun8i-ce.h | 262 struct skcipher_request fallback_req; // keep at the end member 299 struct ahash_request fallback_req; member
|
| /linux/drivers/crypto/rockchip/ |
| A D | rk3288_crypto_ahash.c | 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() 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 D | sun8i-ss-hash.c | 84 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 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()
|
| A D | sun8i-ss.h | 189 struct skcipher_request fallback_req; // keep at the end member 245 struct ahash_request fallback_req; member
|
| /linux/drivers/crypto/ |
| A D | img-hash.c | 105 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 D | n2_core.c | 308 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 D | sahara.c | 155 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 D | sa2ul.c | 1548 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 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()
|
| A 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()
|
| A D | ixp4xx_crypto.c | 155 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 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()
|
| /linux/drivers/crypto/qce/ |
| 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()
|
| 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()
|
| A D | cipher.h | 45 struct skcipher_request fallback_req; // keep at the end member
|
| A D | aead.h | 44 struct aead_request fallback_req; member
|
| /linux/drivers/crypto/gemini/ |
| A D | sl3516-ce-cipher.c | 111 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 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()
|
| A D | amlogic-gxl.h | 112 struct skcipher_request fallback_req; // keep at the end member
|
| /linux/drivers/crypto/allwinner/sun4i-ss/ |
| A D | sun4i-ss-cipher.c | 165 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 D | sun4i-ss.h | 186 struct skcipher_request fallback_req; // keep at the end member
|
| /linux/drivers/crypto/caam/ |
| A D | caamalg_qi2.h | 190 struct skcipher_request fallback_req; member
|