Home
last modified time | relevance | path

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

123

/linux/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 *engine,
[all …]
/linux/drivers/crypto/aspeed/
H A Daspeed-hace.c31 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; in aspeed_hace_irq() local
48 if (crypto_engine->flags & CRYPTO_FLAGS_BUSY) in aspeed_hace_irq()
49 tasklet_schedule(&crypto_engine->done_task); in aspeed_hace_irq()
60 struct aspeed_engine_crypto *crypto_engine = &hace_dev->crypto_engine; in aspeed_hace_crypto_done_task() local
62 crypto_engine->resume(hace_dev); in aspeed_hace_crypto_done_task()
101 struct aspeed_engine_crypto *crypto_engine; in aspeed_hace_probe() local
119 crypto_engine = &hace_dev->crypto_engine; in aspeed_hace_probe()
179 tasklet_init(&crypto_engine->done_task, aspeed_hace_crypto_done_task, in aspeed_hace_probe()
195 crypto_engine->cipher_ctx = in aspeed_hace_probe()
198 &crypto_engine->cipher_ctx_dma, in aspeed_hace_probe()
[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->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 …]
H A Daspeed-hace.h241 struct crypto_engine *crypt_engine_hash;
242 struct crypto_engine *crypt_engine_crypto;
245 struct aspeed_engine_crypto crypto_engine; member
H A Daspeed-hace-hash.c458 static int aspeed_ahash_do_request(struct crypto_engine *engine, void *areq)
477 static void aspeed_ahash_prepare_request(struct crypto_engine *engine,
495 static int aspeed_ahash_do_one(struct crypto_engine *engine, void *areq)
/linux/Documentation/crypto/
H A 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()``.
H A Dindex.rst24 crypto_engine
/linux/drivers/crypto/amlogic/
H A Damlogic-gxl.h70 struct crypto_engine *engine;
159 int meson_handle_cipher_request(struct crypto_engine *engine, void *areq);
H A Damlogic-gxl-cipher.c261 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/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss.h132 struct crypto_engine *engine;
296 int sun8i_ss_handle_cipher_request(struct crypto_engine *engine, void *areq);
318 int sun8i_ss_hash_run(struct crypto_engine *engine, void *breq);
H A Dsun8i-ss-cipher.c332 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/drivers/crypto/virtio/
H A Dvirtio_crypto_common.h32 struct crypto_engine *engine;
129 struct crypto_engine *engine, void *vreq);
/linux/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce.h197 struct crypto_engine *engine;
382 int sun8i_ce_cipher_do_one(struct crypto_engine *engine, void *areq);
399 int sun8i_ce_hash_run(struct crypto_engine *engine, void *breq);
H A Dsun8i-ce-cipher.c349 int sun8i_ce_cipher_do_one(struct crypto_engine *engine, void *areq) in sun8i_ce_cipher_do_one()
382 struct crypto_engine *engine; in sun8i_ce_skdecrypt()
401 struct crypto_engine *engine; in sun8i_ce_skencrypt()
/linux/drivers/crypto/gemini/
H A Dsl3516-ce.h234 struct crypto_engine *engine;
341 int sl3516_ce_handle_cipher_request(struct crypto_engine *engine, void *areq);
H A Dsl3516-ce-cipher.c265 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/drivers/crypto/rockchip/
H A Drk3288_crypto_ahash.c211 struct crypto_engine *engine; in rk_ahash_digest()
235 static int rk_hash_prepare(struct crypto_engine *engine, void *breq) in rk_hash_prepare()
251 static void rk_hash_unprepare(struct crypto_engine *engine, void *breq) in rk_hash_unprepare()
260 static int rk_hash_run(struct crypto_engine *engine, void *breq) in rk_hash_run()
H A Drk3288_crypto.h224 struct crypto_engine *engine;
/linux/drivers/crypto/ti/
H A Ddthev2-common.h61 struct crypto_engine *engine;
H A Ddthev2-aes.c330 static int dthe_aes_run(struct crypto_engine *engine, void *areq) in dthe_aes_run()
524 struct crypto_engine *engine;
849 static int dthe_aead_run(struct crypto_engine *engine, void *areq)
1133 struct crypto_engine *engine;
/linux/drivers/crypto/
H A Domap-aes.h168 struct crypto_engine *engine;
217 int omap_aes_gcm_crypt_req(struct crypto_engine *engine, void *areq);
/linux/drivers/crypto/intel/keembay/
H A Docs-hcu.h41 struct crypto_engine *engine;
H A Docs-aes.h52 struct crypto_engine *engine;
/linux/drivers/crypto/caam/
H A Dintern.h84 struct crypto_engine *engine;
/linux/drivers/crypto/starfive/
H A Djh7110-cryp.h191 struct crypto_engine *engine;

123