/linux-6.1.9/include/crypto/ |
D | engine.h | 52 struct crypto_engine { struct 67 int (*prepare_crypt_hardware)(struct crypto_engine *engine); argument 68 int (*unprepare_crypt_hardware)(struct crypto_engine *engine); argument 69 int (*do_batch_requests)(struct crypto_engine *engine); argument 86 int (*prepare_request)(struct crypto_engine *engine, argument 88 int (*unprepare_request)(struct crypto_engine *engine, 90 int (*do_one_request)(struct crypto_engine *engine, 98 int crypto_transfer_aead_request_to_engine(struct crypto_engine *engine, 100 int crypto_transfer_akcipher_request_to_engine(struct crypto_engine *engine, 102 int crypto_transfer_hash_request_to_engine(struct crypto_engine *engine, [all …]
|
/linux-6.1.9/drivers/crypto/aspeed/ |
D | aspeed-hace.c | 28 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; in aspeed_hace_irq() local 45 if (crypto_engine->flags & CRYPTO_FLAGS_BUSY) in aspeed_hace_irq() 46 tasklet_schedule(&crypto_engine->done_task); in aspeed_hace_irq() 57 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; in aspeed_hace_crypto_done_task() local 59 crypto_engine->resume(hace_dev); in aspeed_hace_crypto_done_task() 98 struct aspeed_engine_crypto *crypto_engine; in aspeed_hace_probe() local 119 crypto_engine = &hace_dev->crypto_engine; in aspeed_hace_probe() 181 tasklet_init(&crypto_engine->done_task, aspeed_hace_crypto_done_task, in aspeed_hace_probe() 197 crypto_engine->cipher_ctx = in aspeed_hace_probe() 200 &crypto_engine->cipher_ctx_dma, in aspeed_hace_probe() [all …]
|
D | aspeed-hace-crypto.c | 68 static int aspeed_crypto_do_request(struct crypto_engine *engine, void *areq) in aspeed_crypto_do_request() 74 struct aspeed_engine_crypto *crypto_engine; in aspeed_crypto_do_request() local 77 crypto_engine = &hace_dev->crypto_engine; in aspeed_crypto_do_request() 78 crypto_engine->req = req; in aspeed_crypto_do_request() 79 crypto_engine->flags |= CRYPTO_FLAGS_BUSY; in aspeed_crypto_do_request() 91 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; in aspeed_sk_complete() local 97 req = crypto_engine->req; in aspeed_sk_complete() 102 memcpy(req->iv, crypto_engine->cipher_ctx + in aspeed_sk_complete() 105 memcpy(req->iv, crypto_engine->cipher_ctx, in aspeed_sk_complete() 109 crypto_engine->flags &= ~CRYPTO_FLAGS_BUSY; in aspeed_sk_complete() [all …]
|
D | aspeed-hace.h | 265 struct crypto_engine *crypt_engine_hash; 266 struct crypto_engine *crypt_engine_crypto; 269 struct aspeed_engine_crypto crypto_engine; member
|
/linux-6.1.9/crypto/ |
D | crypto_engine.c | 25 static void crypto_finalize_request(struct crypto_engine *engine, in crypto_finalize_request() 71 static void crypto_pump_requests(struct crypto_engine *engine, in crypto_pump_requests() 246 struct crypto_engine *engine = in crypto_pump_work() 247 container_of(work, struct crypto_engine, pump_requests); in crypto_pump_work() 258 static int crypto_transfer_request(struct crypto_engine *engine, in crypto_transfer_request() 287 static int crypto_transfer_request_to_engine(struct crypto_engine *engine, in crypto_transfer_request_to_engine() 299 int crypto_transfer_aead_request_to_engine(struct crypto_engine *engine, in crypto_transfer_aead_request_to_engine() 312 int crypto_transfer_akcipher_request_to_engine(struct crypto_engine *engine, in crypto_transfer_akcipher_request_to_engine() 325 int crypto_transfer_hash_request_to_engine(struct crypto_engine *engine, in crypto_transfer_hash_request_to_engine() 338 int crypto_transfer_kpp_request_to_engine(struct crypto_engine *engine, in crypto_transfer_kpp_request_to_engine() [all …]
|
/linux-6.1.9/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-6.1.9/drivers/crypto/virtio/ |
D | virtio_crypto_common.h | 30 struct crypto_engine *engine; 125 struct crypto_engine *engine, void *vreq);
|
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss.h | 132 struct crypto_engine *engine; 325 int sun8i_ss_hash_run(struct crypto_engine *engine, void *breq);
|
D | sun8i-ss-cipher.c | 327 static int sun8i_ss_handle_cipher_request(struct crypto_engine *engine, void *areq) in sun8i_ss_handle_cipher_request() 345 struct crypto_engine *engine; in sun8i_ss_skdecrypt() 366 struct crypto_engine *engine; in sun8i_ss_skencrypt()
|
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-cipher.c | 115 static int sun8i_ce_cipher_prepare(struct crypto_engine *engine, void *async_req) in sun8i_ce_cipher_prepare() 297 static int sun8i_ce_cipher_run(struct crypto_engine *engine, void *areq) in sun8i_ce_cipher_run() 314 static int sun8i_ce_cipher_unprepare(struct crypto_engine *engine, void *async_req) in sun8i_ce_cipher_unprepare() 365 struct crypto_engine *engine; in sun8i_ce_skdecrypt() 384 struct crypto_engine *engine; in sun8i_ce_skencrypt()
|
D | sun8i-ce.h | 194 struct crypto_engine *engine; 375 int sun8i_ce_hash_run(struct crypto_engine *engine, void *breq);
|
/linux-6.1.9/drivers/crypto/gemini/ |
D | sl3516-ce-cipher.c | 261 static int sl3516_ce_handle_cipher_request(struct crypto_engine *engine, void *areq) in sl3516_ce_handle_cipher_request() 279 struct crypto_engine *engine; in sl3516_ce_skdecrypt() 297 struct crypto_engine *engine; in sl3516_ce_skencrypt()
|
D | sl3516-ce.h | 235 struct crypto_engine *engine;
|
/linux-6.1.9/drivers/crypto/amlogic/ |
D | amlogic-gxl-cipher.c | 261 static int meson_handle_cipher_request(struct crypto_engine *engine, in meson_handle_cipher_request() 280 struct crypto_engine *engine; in meson_skdecrypt() 298 struct crypto_engine *engine; in meson_skencrypt()
|
D | amlogic-gxl.h | 70 struct crypto_engine *engine;
|
/linux-6.1.9/drivers/crypto/rockchip/ |
D | rk3288_crypto_ahash.c | 218 static int rk_hash_prepare(struct crypto_engine *engine, void *breq) in rk_hash_prepare() 235 static int rk_hash_unprepare(struct crypto_engine *engine, void *breq) in rk_hash_unprepare() 246 static int rk_hash_run(struct crypto_engine *engine, void *breq) in rk_hash_run()
|
D | rk3288_crypto.h | 199 struct crypto_engine *engine;
|
/linux-6.1.9/drivers/crypto/stm32/ |
D | stm32-cryp.c | 136 struct crypto_engine *engine; 657 static int stm32_cryp_cipher_one_req(struct crypto_engine *engine, void *areq); 658 static int stm32_cryp_prepare_cipher_req(struct crypto_engine *engine, 673 static int stm32_cryp_aead_one_req(struct crypto_engine *engine, void *areq); 674 static int stm32_cryp_prepare_aead_req(struct crypto_engine *engine, 1081 static int stm32_cryp_prepare_cipher_req(struct crypto_engine *engine, in stm32_cryp_prepare_cipher_req() 1091 static int stm32_cryp_cipher_one_req(struct crypto_engine *engine, void *areq) in stm32_cryp_cipher_one_req() 1106 static int stm32_cryp_prepare_aead_req(struct crypto_engine *engine, void *areq) in stm32_cryp_prepare_aead_req() 1114 static int stm32_cryp_aead_one_req(struct crypto_engine *engine, void *areq) in stm32_cryp_aead_one_req()
|
/linux-6.1.9/drivers/crypto/keembay/ |
D | ocs-hcu.h | 41 struct crypto_engine *engine;
|
D | ocs-aes.h | 52 struct crypto_engine *engine;
|
/linux-6.1.9/drivers/crypto/caam/ |
D | intern.h | 73 struct crypto_engine *engine;
|
/linux-6.1.9/drivers/crypto/ |
D | omap-des.c | 144 struct crypto_engine *engine; 525 static int omap_des_prepare_req(struct crypto_engine *engine, in omap_des_prepare_req() 582 static int omap_des_crypt_req(struct crypto_engine *engine, in omap_des_crypt_req() 712 static int omap_des_prepare_req(struct crypto_engine *engine, 714 static int omap_des_crypt_req(struct crypto_engine *engine,
|
D | omap-aes-gcm.c | 215 static int omap_aes_gcm_prepare_req(struct crypto_engine *engine, void *areq) in omap_aes_gcm_prepare_req() 359 static int omap_aes_gcm_crypt_req(struct crypto_engine *engine, void *areq) in omap_aes_gcm_crypt_req()
|
/linux-6.1.9/drivers/crypto/xilinx/ |
D | zynqmp-aes-gcm.c | 49 struct crypto_engine *engine; 204 static int zynqmp_handle_aes_req(struct crypto_engine *engine, in zynqmp_handle_aes_req()
|