Home
last modified time | relevance | path

Searched refs:akcipher_request (Results 1 – 17 of 17) sorted by relevance

/linux-6.15/include/crypto/
H A Dakcipher.h30 struct akcipher_request { struct
85 int (*encrypt)(struct akcipher_request *req);
86 int (*decrypt)(struct akcipher_request *req);
150 static inline void akcipher_request_set_tfm(struct akcipher_request *req, in akcipher_request_set_tfm()
157 struct akcipher_request *req) in crypto_akcipher_reqtfm()
182 static inline struct akcipher_request *akcipher_request_alloc( in akcipher_request_alloc()
185 struct akcipher_request *req; in akcipher_request_alloc()
199 static inline void akcipher_request_free(struct akcipher_request *req) in akcipher_request_free()
236 static inline void akcipher_request_set_crypt(struct akcipher_request *req, in akcipher_request_set_crypt()
275 static inline int crypto_akcipher_encrypt(struct akcipher_request *req) in crypto_akcipher_encrypt()
[all …]
H A Dengine.h57 struct akcipher_request *req);
67 struct akcipher_request *req, int err);
/linux-6.15/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()
376 struct akcipher_request *req = container_of(areq, in akcipher_do_one_req()
377 struct akcipher_request, in akcipher_do_one_req()
670 struct akcipher_request *req) in akcipher_enqueue_req()
[all …]
/linux-6.15/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()
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 *req = acry_dev->req; in aspeed_acry_rsa_trigger()
413 static int aspeed_acry_rsa_enc(struct akcipher_request *req) in aspeed_acry_rsa_enc()
[all …]
/linux-6.15/crypto/
H A Drsa-pkcs1pad.c31 struct akcipher_request child_req;
75 static int pkcs1pad_encrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_complete()
116 struct akcipher_request *req = data; in pkcs1pad_encrypt_complete_cb()
127 static int pkcs1pad_encrypt(struct akcipher_request *req) in pkcs1pad_encrypt()
175 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete()
231 struct akcipher_request *req = data; in pkcs1pad_decrypt_complete_cb()
242 static int pkcs1pad_decrypt(struct akcipher_request *req) in pkcs1pad_decrypt()
H A Dakcipher.c30 struct akcipher_request *req;
127 static int akcipher_default_op(struct akcipher_request *req) in akcipher_default_op()
173 struct akcipher_request *req; in crypto_akcipher_sync_prep()
H A Drsa.c120 static int rsa_enc(struct akcipher_request *req) in rsa_enc()
159 static int rsa_dec(struct akcipher_request *req) in rsa_dec()
H A Dcrypto_engine.c291 struct akcipher_request *req) in crypto_transfer_akcipher_request_to_engine()
358 struct akcipher_request *req, int err) in crypto_finalize_akcipher_request()
H A Drsassa-pkcs1.c225 struct akcipher_request *child_req __free(kfree_sensitive) = NULL; in rsassa_pkcs1_verify()
H A Dtestmgr.c3961 struct akcipher_request *req; in test_akcipher_one()
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c54 struct akcipher_request *req, int err) in virtio_crypto_akcipher_finalize_req()
69 struct akcipher_request *akcipher_req = in virtio_crypto_dataq_akcipher_callback()
70 container_of((void *)vc_akcipher_req, struct akcipher_request, in virtio_crypto_dataq_akcipher_callback()
212 struct akcipher_request *req, struct data_queue *data_vq) in __virtio_crypto_akcipher_do_req()
272 struct akcipher_request *req = container_of(vreq, struct akcipher_request, base); in virtio_crypto_rsa_do_req()
310 static int virtio_crypto_rsa_req(struct akcipher_request *req, uint32_t opcode) in virtio_crypto_rsa_req()
327 static int virtio_crypto_rsa_encrypt(struct akcipher_request *req) in virtio_crypto_rsa_encrypt()
332 static int virtio_crypto_rsa_decrypt(struct akcipher_request *req) in virtio_crypto_rsa_decrypt()
/linux-6.15/Documentation/crypto/
H A Dapi-akcipher.rst5 :functions: akcipher_alg akcipher_request
/linux-6.15/drivers/crypto/starfive/
H A Djh7110-rsa.c286 static int starfive_rsa_enc(struct akcipher_request *req) in starfive_rsa_enc()
317 static int starfive_rsa_dec(struct akcipher_request *req) in starfive_rsa_dec()
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c136 struct akcipher_request *rsa;
569 struct akcipher_request *areq = req->areq.rsa; in qat_rsa_cb()
698 static int qat_rsa_enc(struct akcipher_request *req) in qat_rsa_enc()
832 static int qat_rsa_dec(struct akcipher_request *req) in qat_rsa_dec()
/linux-6.15/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c146 struct akcipher_request *rsa;
464 struct akcipher_request *areq; in hpre_rsa_cb()
529 struct akcipher_request *akreq = req; in hpre_msg_request_set()
802 static int hpre_rsa_enc(struct akcipher_request *req) in hpre_rsa_enc()
850 static int hpre_rsa_dec(struct akcipher_request *req) in hpre_rsa_dec()