Home
last modified time | relevance | path

Searched refs:crypto_engine (Results 1 - 25 of 74) sorted by relevance

123

/kernel/linux/linux-5.10/include/crypto/
H A Dengine.h22 * struct crypto_engine - crypto hardware engine
47 struct crypto_engine { struct
62 int (*prepare_crypt_hardware)(struct crypto_engine *engine);
63 int (*unprepare_crypt_hardware)(struct crypto_engine *engine);
64 int (*do_batch_requests)(struct crypto_engine *engine);
81 int (*prepare_request)(struct crypto_engine *engine,
83 int (*unprepare_request)(struct crypto_engine *engine,
85 int (*do_one_request)(struct crypto_engine *engine,
93 int crypto_transfer_aead_request_to_engine(struct crypto_engine *engine,
95 int crypto_transfer_akcipher_request_to_engine(struct crypto_engine *engin
[all...]
/kernel/linux/linux-6.6/include/crypto/
H A Dengine.h17 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 *engin
[all...]
/kernel/linux/linux-6.6/drivers/crypto/aspeed/
H A Daspeed-hace.c33 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()
255 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; aspeed_hace_remove() local
[all...]
H A Daspeed-hace-crypto.c79 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 in aspeed_sk_complete()
130 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; aspeed_sk_transfer_sg() local
152 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; aspeed_sk_transfer() local
182 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; aspeed_sk_start() local
221 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; aspeed_sk_start_sg() local
364 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; aspeed_hace_skcipher_trigger() local
[all...]
H A Daspeed-hace.h251 struct crypto_engine *crypt_engine_hash;
252 struct crypto_engine *crypt_engine_crypto;
255 struct aspeed_engine_crypto crypto_engine; member
/kernel/linux/linux-5.10/crypto/
H A Dcrypto_engine.c25 static void crypto_finalize_request(struct crypto_engine *engine, in crypto_finalize_request()
70 static void crypto_pump_requests(struct crypto_engine *engine, in crypto_pump_requests()
245 struct crypto_engine *engine = in crypto_pump_work()
246 container_of(work, struct crypto_engine, pump_requests); in crypto_pump_work()
256 static int crypto_transfer_request(struct crypto_engine *engine, in crypto_transfer_request()
285 static int crypto_transfer_request_to_engine(struct crypto_engine *engine, in crypto_transfer_request_to_engine()
297 int crypto_transfer_aead_request_to_engine(struct crypto_engine *engine, in crypto_transfer_aead_request_to_engine()
310 int crypto_transfer_akcipher_request_to_engine(struct crypto_engine *engine, in crypto_transfer_akcipher_request_to_engine()
323 int crypto_transfer_hash_request_to_engine(struct crypto_engine *engine, in crypto_transfer_hash_request_to_engine()
336 int crypto_transfer_skcipher_request_to_engine(struct crypto_engine *engin
[all...]
/kernel/linux/linux-6.6/crypto/
H A Dcrypto_engine.c40 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 *engin
[all...]
/kernel/linux/linux-6.6/include/crypto/internal/
H A Dengine.h22 * struct crypto_engine - crypto hardware engine
47 struct crypto_engine { struct
62 int (*prepare_crypt_hardware)(struct crypto_engine *engine);
63 int (*unprepare_crypt_hardware)(struct crypto_engine *engine);
64 int (*do_batch_requests)(struct crypto_engine *engine);
/kernel/linux/linux-6.6/drivers/crypto/amlogic/
H A Damlogic-gxl.h61 * @engine: ptr to the crypto_engine for this flow
70 struct crypto_engine *engine;
161 int meson_handle_cipher_request(struct crypto_engine *engine, void *areq);
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce.h184 * @engine: ptr to the crypto_engine for this flow
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);
H A Dsun8i-ce-cipher.c120 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()
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss.h122 * @engine: ptr to the crypto_engine for this flow
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);
/kernel/linux/linux-5.10/drivers/crypto/virtio/
H A Dvirtio_crypto_common.h31 struct crypto_engine *engine;
127 struct crypto_engine *engine, void *vreq);
/kernel/linux/linux-6.6/drivers/crypto/virtio/
H A Dvirtio_crypto_common.h31 struct crypto_engine *engine;
130 struct crypto_engine *engine, void *vreq);
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss.h119 * @engine: ptr to the crypto_engine for this flow
129 struct crypto_engine *engine;
201 * @enginectx: crypto_engine used by this TFM
229 * @enginectx: crypto_engine used by this TFM
315 int sun8i_ss_hash_run(struct crypto_engine *engine, void *breq);
/kernel/linux/linux-6.6/drivers/crypto/gemini/
H A Dsl3516-ce.h207 * @engine: ptr to the crypto/crypto_engine
234 struct crypto_engine *engine;
343 int sl3516_ce_handle_cipher_request(struct crypto_engine *engine, void *areq);
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c79 static int sun8i_ce_cipher_prepare(struct crypto_engine *engine, void *async_req) in sun8i_ce_cipher_prepare()
273 static int sun8i_ce_cipher_run(struct crypto_engine *engine, void *areq) in sun8i_ce_cipher_run()
290 static int sun8i_ce_cipher_unprepare(struct crypto_engine *engine, void *async_req) in sun8i_ce_cipher_unprepare()
341 struct crypto_engine *engine; in sun8i_ce_skdecrypt()
360 struct crypto_engine *engine; in sun8i_ce_skencrypt()
H A Dsun8i-ce.h182 * @engine: ptr to the crypto_engine for this flow
190 struct crypto_engine *engine;
266 * @enginectx: crypto_engine used by this TFM
282 * @enginectx: crypto_engine used by this TFM
366 int sun8i_ce_hash_run(struct crypto_engine *engine, void *breq);
/kernel/linux/linux-6.6/drivers/crypto/rockchip/
H A Drk3288_crypto_ahash.c209 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()
/kernel/linux/linux-6.6/drivers/crypto/
H A Domap-aes.h170 struct crypto_engine *engine;
219 int omap_aes_gcm_crypt_req(struct crypto_engine *engine, void *areq);
/kernel/linux/linux-5.10/drivers/crypto/amlogic/
H A Damlogic-gxl.h61 * @engine: ptr to the crypto_engine for this flow
70 struct crypto_engine *engine;
117 * @enginectx: crypto_engine used by this TFM
H A 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()
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/
H A Docs-aes.h52 struct crypto_engine *engine;
H A Docs-hcu.h41 struct crypto_engine *engine;
/kernel/linux/linux-5.10/drivers/crypto/rockchip/
H A 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()

Completed in 23 milliseconds

123