| /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/ |
| H A D | img-hash.c | 104 struct ahash_request fallback_req; member 492 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init() 493 ahash_request_set_callback(&rctx->fallback_req, in img_hash_init() 497 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init() 557 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update() 558 ahash_request_set_callback(&rctx->fallback_req, in img_hash_update() 561 ahash_request_set_crypt(&rctx->fallback_req, req->src, NULL, req->nbytes); in img_hash_update() 563 return crypto_ahash_update(&rctx->fallback_req); in img_hash_update() 572 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final() 573 ahash_request_set_callback(&rctx->fallback_req, in img_hash_final() [all …]
|
| H A D | sa2ul.h | 333 struct ahash_request fallback_req; member
|
| H A D | atmel-aes.c | 146 struct skcipher_request fallback_req; member 1046 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in atmel_aes_xts_fallback() 1047 skcipher_request_set_callback(&rctx->fallback_req, req->base.flags, in atmel_aes_xts_fallback() 1049 skcipher_request_set_crypt(&rctx->fallback_req, req->src, req->dst, in atmel_aes_xts_fallback() 1052 return enc ? crypto_skcipher_encrypt(&rctx->fallback_req) : in atmel_aes_xts_fallback() 1053 crypto_skcipher_decrypt(&rctx->fallback_req); in atmel_aes_xts_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/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()
|
| /linux/drivers/crypto/gemini/ |
| H A D | sl3516-ce.h | 289 struct skcipher_request fallback_req; // keep at the end member
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto.h | 126 struct skcipher_request fallback_req; // keep at the end member
|