Home
last modified time | relevance | path

Searched refs:akcipher_request (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/include/crypto/
H A Dakcipher.h13 * struct akcipher_request - public key request
33 struct akcipher_request { struct
93 int (*sign)(struct akcipher_request *req);
94 int (*verify)(struct akcipher_request *req);
95 int (*encrypt)(struct akcipher_request *req);
96 int (*decrypt)(struct akcipher_request *req);
161 static inline void akcipher_request_set_tfm(struct akcipher_request *req, in akcipher_request_set_tfm()
168 struct akcipher_request *req) in crypto_akcipher_reqtfm()
193 static inline struct akcipher_request *akcipher_request_alloc( in akcipher_request_alloc()
196 struct akcipher_request *re in akcipher_request_alloc()
[all...]
H A Dengine.h96 struct akcipher_request *req);
104 struct akcipher_request *req, int err);
/kernel/linux/linux-6.6/include/crypto/
H A Dakcipher.h15 * struct akcipher_request - public key request
35 struct akcipher_request { struct
118 int (*sign)(struct akcipher_request *req);
119 int (*verify)(struct akcipher_request *req);
120 int (*encrypt)(struct akcipher_request *req);
121 int (*decrypt)(struct akcipher_request *req);
189 static inline void akcipher_request_set_tfm(struct akcipher_request *req, in akcipher_request_set_tfm()
196 struct akcipher_request *req) in crypto_akcipher_reqtfm()
221 static inline struct akcipher_request *akcipher_request_alloc( in akcipher_request_alloc()
224 struct akcipher_request *re in akcipher_request_alloc()
[all...]
H A Dengine.h57 struct akcipher_request *req);
67 struct akcipher_request *req, int err);
/kernel/linux/linux-6.6/drivers/crypto/aspeed/
H A Daspeed-acry.c92 struct akcipher_request *req;
140 static inline struct akcipher_request *
143 return container_of(req, struct akcipher_request, base); in akcipher_request_cast()
146 static int aspeed_acry_do_fallback(struct akcipher_request *req) in aspeed_acry_do_fallback()
164 static bool aspeed_acry_need_fallback(struct akcipher_request *req) in aspeed_acry_need_fallback()
173 struct akcipher_request *req) in aspeed_acry_handle_queue()
185 struct akcipher_request *req = akcipher_request_cast(areq); in aspeed_acry_do_request()
198 struct akcipher_request *req = acry_dev->req; in aspeed_acry_complete()
301 struct akcipher_request *req = acry_dev->req; in aspeed_acry_rsa_transfer()
349 struct akcipher_request *re in aspeed_acry_rsa_trigger()
[all...]
/kernel/linux/linux-6.6/include/crypto/internal/
H A Dakcipher.h31 static inline void *akcipher_request_ctx(struct akcipher_request *req) in akcipher_request_ctx()
36 static inline void *akcipher_request_ctx_dma(struct akcipher_request *req) in akcipher_request_ctx_dma()
69 static inline void akcipher_request_complete(struct akcipher_request *req, in akcipher_request_complete()
/kernel/linux/linux-5.10/drivers/crypto/caam/
H A Dcaampkc.c44 struct akcipher_request *req) in rsa_io_unmap()
57 struct akcipher_request *req) in rsa_pub_unmap()
69 struct akcipher_request *req) in rsa_priv_f1_unmap()
81 struct akcipher_request *req) in rsa_priv_f2_unmap()
98 struct akcipher_request *req) in rsa_priv_f3_unmap()
119 struct akcipher_request *req = context; in rsa_pub_done()
149 struct akcipher_request *req = context; in rsa_priv_f_done()
242 static struct rsa_edesc *rsa_edesc_alloc(struct akcipher_request *req, in rsa_edesc_alloc()
370 struct akcipher_request *req = container_of(areq, in akcipher_do_one_req()
371 struct akcipher_request, in akcipher_do_one_req()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/caam/
H A Dcaampkc.c50 struct akcipher_request *req) in rsa_io_unmap()
63 struct akcipher_request *req) in rsa_pub_unmap()
75 struct akcipher_request *req) in rsa_priv_f1_unmap()
87 struct akcipher_request *req) in rsa_priv_f2_unmap()
104 struct akcipher_request *req) in rsa_priv_f3_unmap()
125 struct akcipher_request *req = context; in rsa_pub_done()
155 struct akcipher_request *req = context; in rsa_priv_f_done()
249 static struct rsa_edesc *rsa_edesc_alloc(struct akcipher_request *req, in rsa_edesc_alloc()
376 struct akcipher_request *req = container_of(areq, in akcipher_do_one_req()
377 struct akcipher_request, in akcipher_do_one_req()
[all...]
/kernel/linux/linux-5.10/crypto/
H A Drsa-pkcs1pad.c104 struct akcipher_request child_req;
174 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_sign_complete()
216 struct akcipher_request *req = child_async_req->data; in pkcs1pad_encrypt_sign_complete_cb()
227 static int pkcs1pad_encrypt(struct akcipher_request *req) in pkcs1pad_encrypt()
275 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete()
332 struct akcipher_request *req = child_async_req->data; in pkcs1pad_decrypt_complete_cb()
343 static int pkcs1pad_decrypt(struct akcipher_request *req) in pkcs1pad_decrypt()
376 static int pkcs1pad_sign(struct akcipher_request *req) in pkcs1pad_sign()
433 static int pkcs1pad_verify_complete(struct akcipher_request *req, int err) in pkcs1pad_verify_complete()
511 struct akcipher_request *re in pkcs1pad_verify_complete_cb()
[all...]
H A Drsa.c54 static int rsa_enc(struct akcipher_request *req) in rsa_enc()
93 static int rsa_dec(struct akcipher_request *req) in rsa_dec()
H A Dcrypto_engine.c305 * crypto_transfer_akcipher_request_to_engine - transfer one akcipher_request
311 struct akcipher_request *req) in crypto_transfer_akcipher_request_to_engine()
358 * crypto_finalize_akcipher_request - finalize one akcipher_request if
365 struct akcipher_request *req, int err) in crypto_finalize_akcipher_request()
H A Dakcipher.c118 static int akcipher_default_op(struct akcipher_request *req) in akcipher_default_op()
/kernel/linux/linux-5.10/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c40 struct akcipher_request *akcipher_req;
57 struct akcipher_request *req, int err) in virtio_crypto_akcipher_finalize_req()
72 struct akcipher_request *akcipher_req; in virtio_crypto_dataq_akcipher_callback()
217 struct akcipher_request *req, struct data_queue *data_vq) in __virtio_crypto_akcipher_do_req()
285 struct akcipher_request *req = container_of(vreq, struct akcipher_request, base); in virtio_crypto_rsa_do_req()
322 static int virtio_crypto_rsa_req(struct akcipher_request *req, uint32_t opcode) in virtio_crypto_rsa_req()
341 static int virtio_crypto_rsa_encrypt(struct akcipher_request *req) in virtio_crypto_rsa_encrypt()
346 static int virtio_crypto_rsa_decrypt(struct akcipher_request *req) in virtio_crypto_rsa_decrypt()
351 static int virtio_crypto_rsa_sign(struct akcipher_request *re
[all...]
/kernel/linux/linux-6.6/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c40 struct akcipher_request *akcipher_req;
57 struct akcipher_request *req, int err) in virtio_crypto_akcipher_finalize_req()
72 struct akcipher_request *akcipher_req; in virtio_crypto_dataq_akcipher_callback()
221 struct akcipher_request *req, struct data_queue *data_vq) in __virtio_crypto_akcipher_do_req()
289 struct akcipher_request *req = container_of(vreq, struct akcipher_request, base); in virtio_crypto_rsa_do_req()
326 static int virtio_crypto_rsa_req(struct akcipher_request *req, uint32_t opcode) in virtio_crypto_rsa_req()
345 static int virtio_crypto_rsa_encrypt(struct akcipher_request *req) in virtio_crypto_rsa_encrypt()
350 static int virtio_crypto_rsa_decrypt(struct akcipher_request *req) in virtio_crypto_rsa_decrypt()
355 static int virtio_crypto_rsa_sign(struct akcipher_request *re
[all...]
/kernel/linux/linux-6.6/crypto/
H A Drsa-pkcs1pad.c104 struct akcipher_request child_req;
174 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_sign_complete()
215 struct akcipher_request *req = data; in pkcs1pad_encrypt_sign_complete_cb()
226 static int pkcs1pad_encrypt(struct akcipher_request *req) in pkcs1pad_encrypt()
274 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete()
330 struct akcipher_request *req = data; in pkcs1pad_decrypt_complete_cb()
341 static int pkcs1pad_decrypt(struct akcipher_request *req) in pkcs1pad_decrypt()
374 static int pkcs1pad_sign(struct akcipher_request *req) in pkcs1pad_sign()
431 static int pkcs1pad_verify_complete(struct akcipher_request *req, int err) in pkcs1pad_verify_complete()
509 struct akcipher_request *re in pkcs1pad_verify_complete_cb()
[all...]
H A Dinternal.h25 struct akcipher_request;
45 struct akcipher_request *req;
H A Dakcipher.c145 static int akcipher_default_op(struct akcipher_request *req) in akcipher_default_op()
195 struct akcipher_request *req; in crypto_akcipher_sync_prep()
H A Drsa.c93 static int rsa_enc(struct akcipher_request *req) in rsa_enc()
132 static int rsa_dec(struct akcipher_request *req) in rsa_dec()
H A Dcrypto_engine.c285 * crypto_transfer_akcipher_request_to_engine - transfer one akcipher_request
291 struct akcipher_request *req) in crypto_transfer_akcipher_request_to_engine()
351 * crypto_finalize_akcipher_request - finalize one akcipher_request if
358 struct akcipher_request *req, int err) in crypto_finalize_akcipher_request()
/kernel/linux/linux-5.10/drivers/crypto/ccp/
H A Dccp-crypto-rsa.c22 static inline struct akcipher_request *akcipher_request_cast( in akcipher_request_cast()
25 return container_of(req, struct akcipher_request, base); in akcipher_request_cast()
46 struct akcipher_request *req = akcipher_request_cast(async_req); in ccp_rsa_complete()
64 static int ccp_rsa_crypt(struct akcipher_request *req, bool encrypt) in ccp_rsa_crypt()
94 static int ccp_rsa_encrypt(struct akcipher_request *req) in ccp_rsa_encrypt()
99 static int ccp_rsa_decrypt(struct akcipher_request *req) in ccp_rsa_decrypt()
/kernel/linux/linux-6.6/drivers/crypto/ccp/
H A Dccp-crypto-rsa.c22 static inline struct akcipher_request *akcipher_request_cast( in akcipher_request_cast()
25 return container_of(req, struct akcipher_request, base); in akcipher_request_cast()
46 struct akcipher_request *req = akcipher_request_cast(async_req); in ccp_rsa_complete()
64 static int ccp_rsa_crypt(struct akcipher_request *req, bool encrypt) in ccp_rsa_crypt()
94 static int ccp_rsa_encrypt(struct akcipher_request *req) in ccp_rsa_encrypt()
99 static int ccp_rsa_decrypt(struct akcipher_request *req) in ccp_rsa_decrypt()
/kernel/linux/linux-5.10/include/crypto/internal/
H A Dakcipher.h31 static inline void *akcipher_request_ctx(struct akcipher_request *req) in akcipher_request_ctx()
47 static inline void akcipher_request_complete(struct akcipher_request *req, in akcipher_request_complete()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c92 struct akcipher_request *rsa;
392 struct akcipher_request *areq; in hpre_rsa_cb()
447 struct akcipher_request *akreq = req; in hpre_msg_request_set()
716 static int hpre_rsa_enc(struct akcipher_request *req) in hpre_rsa_enc()
764 static int hpre_rsa_dec(struct akcipher_request *req) in hpre_rsa_dec()
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dpublic_key.c215 struct akcipher_request *req; in software_key_eds_op()
362 struct akcipher_request *req; in public_key_verify_signature()
/kernel/linux/linux-6.6/drivers/crypto/starfive/
H A Djh7110-rsa.c306 static int starfive_rsa_enc(struct akcipher_request *req) in starfive_rsa_enc()
338 static int starfive_rsa_dec(struct akcipher_request *req) in starfive_rsa_dec()

Completed in 16 milliseconds

12