| /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 …]
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 46 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/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/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()
|
| H A D | sl3516-ce.h | 289 struct skcipher_request fallback_req; // keep at the end member
|
| /linux/drivers/crypto/rockchip/ |
| 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()
|
| /linux/drivers/crypto/qce/ |
| 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/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()
|
| H A D | sun4i-ss.h | 187 struct skcipher_request fallback_req; // keep at the end member
|
| /linux/arch/riscv/kvm/ |
| H A D | tlb.c | 330 unsigned int req, unsigned int fallback_req, in make_xfence_request() argument 359 actual_req = fallback_req; in make_xfence_request()
|
| /linux/drivers/crypto/ |
| H A D | sa2ul.h | 333 struct ahash_request fallback_req; member
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto.h | 126 struct skcipher_request fallback_req; // keep at the end member
|
| /linux/drivers/crypto/caam/ |
| H A D | caamalg_qi.c | 82 struct skcipher_request fallback_req; member 1440 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in skcipher_crypt() 1441 skcipher_request_set_callback(&rctx->fallback_req, in skcipher_crypt() 1445 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in skcipher_crypt() 1448 return encrypt ? crypto_skcipher_encrypt(&rctx->fallback_req) : in skcipher_crypt() 1449 crypto_skcipher_decrypt(&rctx->fallback_req); in skcipher_crypt()
|
| H A D | caamalg.c | 139 struct skcipher_request fallback_req; member 1914 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in skcipher_crypt() 1915 skcipher_request_set_callback(&rctx->fallback_req, in skcipher_crypt() 1919 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in skcipher_crypt() 1922 return encrypt ? crypto_skcipher_encrypt(&rctx->fallback_req) : in skcipher_crypt() 1923 crypto_skcipher_decrypt(&rctx->fallback_req); in skcipher_crypt()
|
| H A D | caamalg_qi2.c | 1497 skcipher_request_set_tfm(&caam_req->fallback_req, ctx->fallback); in skcipher_encrypt() 1498 skcipher_request_set_callback(&caam_req->fallback_req, in skcipher_encrypt() 1502 skcipher_request_set_crypt(&caam_req->fallback_req, req->src, in skcipher_encrypt() 1505 return crypto_skcipher_encrypt(&caam_req->fallback_req); in skcipher_encrypt() 1547 skcipher_request_set_tfm(&caam_req->fallback_req, ctx->fallback); in skcipher_decrypt() 1548 skcipher_request_set_callback(&caam_req->fallback_req, in skcipher_decrypt() 1552 skcipher_request_set_crypt(&caam_req->fallback_req, req->src, in skcipher_decrypt() 1555 return crypto_skcipher_decrypt(&caam_req->fallback_req); in skcipher_decrypt()
|