/Linux-v6.6/include/crypto/ |
D | engine.h | 17 struct crypto_engine; 25 int (*do_one_request)(struct crypto_engine *engine, 54 int crypto_transfer_aead_request_to_engine(struct crypto_engine *engine, 56 int crypto_transfer_akcipher_request_to_engine(struct crypto_engine *engine, 58 int crypto_transfer_hash_request_to_engine(struct crypto_engine *engine, 60 int crypto_transfer_kpp_request_to_engine(struct crypto_engine *engine, 62 int crypto_transfer_skcipher_request_to_engine(struct crypto_engine *engine, 64 void crypto_finalize_aead_request(struct crypto_engine *engine, 66 void crypto_finalize_akcipher_request(struct crypto_engine *engine, 68 void crypto_finalize_hash_request(struct crypto_engine *engine, [all …]
|
/Linux-v6.6/drivers/crypto/aspeed/ |
D | aspeed-hace.c | 33 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; in aspeed_hace_irq() local 50 if (crypto_engine->flags & CRYPTO_FLAGS_BUSY) in aspeed_hace_irq() 51 tasklet_schedule(&crypto_engine->done_task); in aspeed_hace_irq() 62 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; in aspeed_hace_crypto_done_task() local 64 crypto_engine->resume(hace_dev); in aspeed_hace_crypto_done_task() 103 struct aspeed_engine_crypto *crypto_engine; in aspeed_hace_probe() local 123 crypto_engine = &hace_dev->crypto_engine; in aspeed_hace_probe() 183 tasklet_init(&crypto_engine->done_task, aspeed_hace_crypto_done_task, in aspeed_hace_probe() 199 crypto_engine->cipher_ctx = in aspeed_hace_probe() 202 &crypto_engine->cipher_ctx_dma, in aspeed_hace_probe() [all …]
|
D | aspeed-hace-crypto.c | 79 static int aspeed_crypto_do_request(struct crypto_engine *engine, void *areq) in aspeed_crypto_do_request() 85 struct aspeed_engine_crypto *crypto_engine; in aspeed_crypto_do_request() local 88 crypto_engine = &hace_dev->crypto_engine; in aspeed_crypto_do_request() 89 crypto_engine->req = req; in aspeed_crypto_do_request() 90 crypto_engine->flags |= CRYPTO_FLAGS_BUSY; in aspeed_crypto_do_request() 102 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; in aspeed_sk_complete() local 108 req = crypto_engine->req; in aspeed_sk_complete() 113 memcpy(req->iv, crypto_engine->cipher_ctx + in aspeed_sk_complete() 116 memcpy(req->iv, crypto_engine->cipher_ctx, in aspeed_sk_complete() 120 crypto_engine->flags &= ~CRYPTO_FLAGS_BUSY; in aspeed_sk_complete() [all …]
|
D | aspeed-hace.h | 251 struct crypto_engine *crypt_engine_hash; 252 struct crypto_engine *crypt_engine_crypto; 255 struct aspeed_engine_crypto crypto_engine; member
|
/Linux-v6.6/crypto/ |
D | crypto_engine.c | 40 static void crypto_finalize_request(struct crypto_engine *engine, in crypto_finalize_request() 73 static void crypto_pump_requests(struct crypto_engine *engine, in crypto_pump_requests() 224 struct crypto_engine *engine = in crypto_pump_work() 225 container_of(work, struct crypto_engine, pump_requests); in crypto_pump_work() 236 static int crypto_transfer_request(struct crypto_engine *engine, in crypto_transfer_request() 265 static int crypto_transfer_request_to_engine(struct crypto_engine *engine, in crypto_transfer_request_to_engine() 277 int crypto_transfer_aead_request_to_engine(struct crypto_engine *engine, in crypto_transfer_aead_request_to_engine() 290 int crypto_transfer_akcipher_request_to_engine(struct crypto_engine *engine, in crypto_transfer_akcipher_request_to_engine() 303 int crypto_transfer_hash_request_to_engine(struct crypto_engine *engine, in crypto_transfer_hash_request_to_engine() 316 int crypto_transfer_kpp_request_to_engine(struct crypto_engine *engine, in crypto_transfer_kpp_request_to_engine() [all …]
|
/Linux-v6.6/include/crypto/internal/ |
D | engine.h | 47 struct crypto_engine { struct 62 int (*prepare_crypt_hardware)(struct crypto_engine *engine); argument 63 int (*unprepare_crypt_hardware)(struct crypto_engine *engine); argument 64 int (*do_batch_requests)(struct crypto_engine *engine); argument
|
/Linux-v6.6/Documentation/crypto/ |
D | crypto_engine.rst | 13 crypto_engine: 18 struct crypto_engine engine; 27 of the known member ``struct crypto_engine`` at the beginning. 31 You are required to obtain a struct crypto_engine via ``crypto_engine_alloc_init()``.
|
D | index.rst | 27 crypto_engine
|
/Linux-v6.6/drivers/crypto/amlogic/ |
D | amlogic-gxl.h | 70 struct crypto_engine *engine; 161 int meson_handle_cipher_request(struct crypto_engine *engine, void *areq);
|
D | amlogic-gxl-cipher.c | 261 int meson_handle_cipher_request(struct crypto_engine *engine, void *areq) in meson_handle_cipher_request() 279 struct crypto_engine *engine; in meson_skdecrypt() 297 struct crypto_engine *engine; in meson_skencrypt()
|
/Linux-v6.6/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss.h | 132 struct crypto_engine *engine; 294 int sun8i_ss_handle_cipher_request(struct crypto_engine *engine, void *areq); 316 int sun8i_ss_hash_run(struct crypto_engine *engine, void *breq);
|
D | sun8i-ss-cipher.c | 332 int sun8i_ss_handle_cipher_request(struct crypto_engine *engine, void *areq) in sun8i_ss_handle_cipher_request() 350 struct crypto_engine *engine; in sun8i_ss_skdecrypt() 371 struct crypto_engine *engine; in sun8i_ss_skencrypt()
|
/Linux-v6.6/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce.h | 194 struct crypto_engine *engine; 352 int sun8i_ce_cipher_do_one(struct crypto_engine *engine, void *areq); 369 int sun8i_ce_hash_run(struct crypto_engine *engine, void *breq);
|
D | sun8i-ce-cipher.c | 120 static int sun8i_ce_cipher_prepare(struct crypto_engine *engine, void *async_req) in sun8i_ce_cipher_prepare() 302 static void sun8i_ce_cipher_run(struct crypto_engine *engine, void *areq) in sun8i_ce_cipher_run() 318 static void sun8i_ce_cipher_unprepare(struct crypto_engine *engine, in sun8i_ce_cipher_unprepare() 363 int sun8i_ce_cipher_do_one(struct crypto_engine *engine, void *areq) in sun8i_ce_cipher_do_one() 380 struct crypto_engine *engine; in sun8i_ce_skdecrypt() 399 struct crypto_engine *engine; in sun8i_ce_skencrypt()
|
/Linux-v6.6/drivers/crypto/virtio/ |
D | virtio_crypto_common.h | 30 struct crypto_engine *engine; 128 struct crypto_engine *engine, void *vreq);
|
/Linux-v6.6/drivers/crypto/gemini/ |
D | sl3516-ce.h | 234 struct crypto_engine *engine; 343 int sl3516_ce_handle_cipher_request(struct crypto_engine *engine, void *areq);
|
D | sl3516-ce-cipher.c | 265 int sl3516_ce_handle_cipher_request(struct crypto_engine *engine, void *areq) in sl3516_ce_handle_cipher_request() 283 struct crypto_engine *engine; in sl3516_ce_skdecrypt() 301 struct crypto_engine *engine; in sl3516_ce_skencrypt()
|
/Linux-v6.6/drivers/crypto/rockchip/ |
D | rk3288_crypto_ahash.c | 209 struct crypto_engine *engine; in rk_ahash_digest() 233 static int rk_hash_prepare(struct crypto_engine *engine, void *breq) in rk_hash_prepare() 249 static void rk_hash_unprepare(struct crypto_engine *engine, void *breq) in rk_hash_unprepare() 258 static int rk_hash_run(struct crypto_engine *engine, void *breq) in rk_hash_run()
|
D | rk3288_crypto.h | 224 struct crypto_engine *engine;
|
/Linux-v6.6/drivers/crypto/ |
D | omap-aes.h | 170 struct crypto_engine *engine; 219 int omap_aes_gcm_crypt_req(struct crypto_engine *engine, void *areq);
|
/Linux-v6.6/drivers/crypto/intel/keembay/ |
D | ocs-hcu.h | 41 struct crypto_engine *engine;
|
D | ocs-aes.h | 52 struct crypto_engine *engine;
|
/Linux-v6.6/drivers/crypto/caam/ |
D | intern.h | 84 struct crypto_engine *engine;
|
/Linux-v6.6/drivers/crypto/xilinx/ |
D | zynqmp-aes-gcm.c | 50 struct crypto_engine *engine; 204 static int zynqmp_handle_aes_req(struct crypto_engine *engine, in zynqmp_handle_aes_req()
|
/Linux-v6.6/drivers/crypto/starfive/ |
D | jh7110-cryp.h | 183 struct crypto_engine *engine;
|