| /linux/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto_ahash.c | 54 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in rk_ahash_digest_fb() 55 ahash_request_set_callback(&rctx->fallback_req, in rk_ahash_digest_fb() 58 ahash_request_set_crypt(&rctx->fallback_req, areq->src, areq->result, in rk_ahash_digest_fb() 61 return crypto_ahash_digest(&rctx->fallback_req); in rk_ahash_digest_fb() 125 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_init() 126 ahash_request_set_callback(&rctx->fallback_req, in rk_ahash_init() 130 return crypto_ahash_init(&rctx->fallback_req); in rk_ahash_init() 139 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_update() 140 ahash_request_set_callback(&rctx->fallback_req, in rk_ahash_update() 143 ahash_request_set_crypt(&rctx->fallback_req, req->src, NULL, req->nbytes); in rk_ahash_update() [all …]
|
| 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()
|
| H A D | rk3288_crypto.h | 238 struct ahash_request fallback_req; member 255 struct skcipher_request fallback_req; // keep at the end member
|
| /linux/drivers/crypto/allwinner/sun8i-ce/ |
| H A D | sun8i-ce-hash.c | 94 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_init() 95 ahash_request_set_callback(&rctx->fallback_req, in sun8i_ce_hash_init() 99 return crypto_ahash_init(&rctx->fallback_req); in sun8i_ce_hash_init() 108 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_export() 109 ahash_request_set_callback(&rctx->fallback_req, in sun8i_ce_hash_export() 113 return crypto_ahash_export(&rctx->fallback_req, out); in sun8i_ce_hash_export() 122 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_import() 123 ahash_request_set_callback(&rctx->fallback_req, in sun8i_ce_hash_import() 127 return crypto_ahash_import(&rctx->fallback_req, in); in sun8i_ce_hash_import() 138 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_final() [all …]
|
| H A D | sun8i-ce-cipher.c | 122 skcipher_request_set_tfm(&rctx->fallback_req, op->fallback_tfm); in sun8i_ce_cipher_fallback() 123 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags, in sun8i_ce_cipher_fallback() 125 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst, in sun8i_ce_cipher_fallback() 128 err = crypto_skcipher_decrypt(&rctx->fallback_req); in sun8i_ce_cipher_fallback() 130 err = crypto_skcipher_encrypt(&rctx->fallback_req); in sun8i_ce_cipher_fallback()
|
| H A D | sun8i-ce.h | 279 struct skcipher_request fallback_req; // keep at the end member 327 struct ahash_request fallback_req; // keep at the end member
|
| /linux/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss-hash.c | 152 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 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()
|
| H A D | sun8i-ss.h | 199 struct skcipher_request fallback_req; // keep at the end member 255 struct ahash_request fallback_req; member
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 45 struct ahash_request fallback_req; member 119 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in tegra_sha_fallback_init() 120 ahash_request_set_callback(&rctx->fallback_req, in tegra_sha_fallback_init() 124 return crypto_ahash_init(&rctx->fallback_req); in tegra_sha_fallback_init() 133 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in tegra_sha_fallback_update() 134 ahash_request_set_callback(&rctx->fallback_req, in tegra_sha_fallback_update() 137 ahash_request_set_crypt(&rctx->fallback_req, req->src, NULL, req->nbytes); in tegra_sha_fallback_update() 139 return crypto_ahash_update(&rctx->fallback_req); in tegra_sha_fallback_update() 148 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in tegra_sha_fallback_final() 149 ahash_request_set_callback(&rctx->fallback_req, in tegra_sha_fallback_final() [all …]
|
| /linux/drivers/crypto/ |
| H A D | img-hash.c | 105 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 D | sa2ul.c | 1417 struct ahash_request *subreq = &rctx->fallback_req; in sa_sha_run() 1537 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback.ahash); in sa_sha_init() 1538 …ahash_request_set_callback(&rctx->fallback_req, req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP, NULL, … in sa_sha_init() 1539 ahash_request_set_crypt(&rctx->fallback_req, NULL, NULL, 0); in sa_sha_init() 1541 return crypto_ahash_init(&rctx->fallback_req); in sa_sha_init() 1548 …ahash_request_set_callback(&rctx->fallback_req, req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP, NULL, … in sa_sha_update() 1549 ahash_request_set_crypt(&rctx->fallback_req, req->src, NULL, req->nbytes); in sa_sha_update() 1551 return crypto_ahash_update(&rctx->fallback_req); in sa_sha_update() 1558 …ahash_request_set_callback(&rctx->fallback_req, req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP, NULL, … in sa_sha_final() 1559 ahash_request_set_crypt(&rctx->fallback_req, NULL, req->result, 0); in sa_sha_final() [all …]
|
| H A D | mxs-dcp.c | 111 struct skcipher_request fallback_req; // keep at the end member 454 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in mxs_dcp_block_fallback() 455 skcipher_request_set_callback(&rctx->fallback_req, req->base.flags, in mxs_dcp_block_fallback() 457 skcipher_request_set_crypt(&rctx->fallback_req, req->src, req->dst, in mxs_dcp_block_fallback() 461 ret = crypto_skcipher_encrypt(&rctx->fallback_req); in mxs_dcp_block_fallback() 463 ret = crypto_skcipher_decrypt(&rctx->fallback_req); in mxs_dcp_block_fallback()
|
| H A D | sahara.c | 149 struct skcipher_request fallback_req; // keep at the end member 650 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in sahara_aes_fallback() 651 skcipher_request_set_callback(&rctx->fallback_req, in sahara_aes_fallback() 655 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in sahara_aes_fallback() 659 return crypto_skcipher_encrypt(&rctx->fallback_req); in sahara_aes_fallback() 661 return crypto_skcipher_decrypt(&rctx->fallback_req); in sahara_aes_fallback()
|
| /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()
|
| /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 | 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()
|
| 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
|
| /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()
|
| /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
|
| /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()
|
| /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()
|
| /linux/drivers/crypto/caam/ |
| H A D | caamalg_qi2.h | 190 struct skcipher_request fallback_req; member
|