Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/crypto/
H A Dengine.h47 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
81 int (*prepare_request)(struct crypto_engine *engine, argument
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 *engine,
97 int crypto_transfer_hash_request_to_engine(struct crypto_engine *engine,
[all …]
/OK3568_Linux_fs/kernel/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 *engine, in crypto_transfer_skcipher_request_to_engine()
[all …]
H A DMakefile9 obj-$(CONFIG_CRYPTO_ENGINE) += crypto_engine.o
/OK3568_Linux_fs/kernel/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.rst27 crypto_engine
/OK3568_Linux_fs/kernel/drivers/crypto/virtio/
H A Dvirtio_crypto_common.h29 struct crypto_engine *engine;
116 struct crypto_engine *engine, void *vreq);
H A Dvirtio_crypto_algs.c559 struct crypto_engine *engine, void *vreq) in virtio_crypto_skcipher_crypt_req()
/OK3568_Linux_fs/kernel/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.h190 struct crypto_engine *engine;
366 int sun8i_ce_hash_run(struct crypto_engine *engine, void *breq);
H A Dsun8i-ce-hash.c224 struct crypto_engine *engine; in sun8i_ce_hash_digest()
250 int sun8i_ce_hash_run(struct crypto_engine *engine, void *breq) in sun8i_ce_hash_run()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss.h129 struct crypto_engine *engine;
315 int sun8i_ss_hash_run(struct crypto_engine *engine, void *breq);
H A Dsun8i-ss-cipher.c309 static int sun8i_ss_handle_cipher_request(struct crypto_engine *engine, void *areq) in sun8i_ss_handle_cipher_request()
327 struct crypto_engine *engine; in sun8i_ss_skdecrypt()
348 struct crypto_engine *engine; in sun8i_ss_skencrypt()
H A Dsun8i-ss-hash.c289 struct crypto_engine *engine; in sun8i_ss_hash_digest()
318 int sun8i_ss_hash_run(struct crypto_engine *engine, void *breq) in sun8i_ss_hash_run()
/OK3568_Linux_fs/kernel/drivers/crypto/amlogic/
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()
H A Damlogic-gxl.h70 struct crypto_engine *engine;
/OK3568_Linux_fs/kernel/drivers/crypto/stm32/
H A Dstm32-cryp.c136 struct crypto_engine *engine;
644 static int stm32_cryp_cipher_one_req(struct crypto_engine *engine, void *areq);
645 static int stm32_cryp_prepare_cipher_req(struct crypto_engine *engine,
660 static int stm32_cryp_aead_one_req(struct crypto_engine *engine, void *areq);
661 static int stm32_cryp_prepare_aead_req(struct crypto_engine *engine,
1068 static int stm32_cryp_prepare_cipher_req(struct crypto_engine *engine, in stm32_cryp_prepare_cipher_req()
1078 static int stm32_cryp_cipher_one_req(struct crypto_engine *engine, void *areq) in stm32_cryp_cipher_one_req()
1093 static int stm32_cryp_prepare_aead_req(struct crypto_engine *engine, void *areq) in stm32_cryp_prepare_aead_req()
1101 static int stm32_cryp_aead_one_req(struct crypto_engine *engine, void *areq) in stm32_cryp_aead_one_req()
H A Dstm32-hash.c172 struct crypto_engine *engine;
828 static int stm32_hash_one_request(struct crypto_engine *engine, void *areq);
829 static int stm32_hash_prepare_req(struct crypto_engine *engine, void *areq);
837 static int stm32_hash_prepare_req(struct crypto_engine *engine, void *areq) in stm32_hash_prepare_req()
858 static int stm32_hash_one_request(struct crypto_engine *engine, void *areq) in stm32_hash_one_request()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Domap-des.c144 struct crypto_engine *engine;
526 static int omap_des_prepare_req(struct crypto_engine *engine, in omap_des_prepare_req()
583 static int omap_des_crypt_req(struct crypto_engine *engine, in omap_des_crypt_req()
713 static int omap_des_prepare_req(struct crypto_engine *engine,
715 static int omap_des_crypt_req(struct crypto_engine *engine,
H A 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()
H A Domap-aes.c429 static int omap_aes_prepare_req(struct crypto_engine *engine, in omap_aes_prepare_req()
484 static int omap_aes_crypt_req(struct crypto_engine *engine, in omap_aes_crypt_req()
632 static int omap_aes_prepare_req(struct crypto_engine *engine,
634 static int omap_aes_crypt_req(struct crypto_engine *engine,
H A Domap-aes.h172 struct crypto_engine *engine;
H A Domap-sham.c233 struct crypto_engine *engine;
864 static int omap_sham_prepare_request(struct crypto_engine *engine, void *areq) in omap_sham_prepare_request()
1082 static int omap_sham_hash_one_req(struct crypto_engine *engine, void *areq) in omap_sham_hash_one_req()
/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A Dintern.h65 struct crypto_engine *engine;
H A Dcaampkc.c366 static int akcipher_do_one_req(struct crypto_engine *engine, void *areq) in akcipher_do_one_req()
/OK3568_Linux_fs/kernel/drivers/crypto/xilinx/
H A 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