Home
last modified time | relevance | path

Searched refs:crypto_engine (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.1.9/include/crypto/
Dengine.h52 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/
Daspeed-hace.c28 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 …]
Daspeed-hace-crypto.c68 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 …]
Daspeed-hace.h265 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/
Dcrypto_engine.c25 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/
Dcrypto_engine.rst13 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()``.
Dindex.rst27 crypto_engine
/linux-6.1.9/drivers/crypto/virtio/
Dvirtio_crypto_common.h30 struct crypto_engine *engine;
125 struct crypto_engine *engine, void *vreq);
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss.h132 struct crypto_engine *engine;
325 int sun8i_ss_hash_run(struct crypto_engine *engine, void *breq);
Dsun8i-ss-cipher.c327 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/
Dsun8i-ce-cipher.c115 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()
Dsun8i-ce.h194 struct crypto_engine *engine;
375 int sun8i_ce_hash_run(struct crypto_engine *engine, void *breq);
/linux-6.1.9/drivers/crypto/gemini/
Dsl3516-ce-cipher.c261 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()
Dsl3516-ce.h235 struct crypto_engine *engine;
/linux-6.1.9/drivers/crypto/amlogic/
Damlogic-gxl-cipher.c261 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()
Damlogic-gxl.h70 struct crypto_engine *engine;
/linux-6.1.9/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c218 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()
Drk3288_crypto.h199 struct crypto_engine *engine;
/linux-6.1.9/drivers/crypto/stm32/
Dstm32-cryp.c136 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/
Docs-hcu.h41 struct crypto_engine *engine;
Docs-aes.h52 struct crypto_engine *engine;
/linux-6.1.9/drivers/crypto/caam/
Dintern.h73 struct crypto_engine *engine;
/linux-6.1.9/drivers/crypto/
Domap-des.c144 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,
Domap-aes-gcm.c215 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/
Dzynqmp-aes-gcm.c49 struct crypto_engine *engine;
204 static int zynqmp_handle_aes_req(struct crypto_engine *engine, in zynqmp_handle_aes_req()

12