Home
last modified time | relevance | path

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

/linux-5.19.10/include/crypto/
Dakcipher.h33 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 *req; in akcipher_request_alloc()
210 static inline void akcipher_request_free(struct akcipher_request *req) in akcipher_request_free()
[all …]
Dengine.h101 struct akcipher_request *req);
111 struct akcipher_request *req, int err);
/linux-5.19.10/drivers/crypto/virtio/
Dvirtio_crypto_akcipher_algs.c40 struct akcipher_request *akcipher_req;
57 struct akcipher_request *req, int err) in virtio_crypto_akcipher_finalize_req()
68 struct akcipher_request *akcipher_req; in virtio_crypto_dataq_akcipher_callback()
216 struct akcipher_request *req, struct data_queue *data_vq) in __virtio_crypto_akcipher_do_req()
284 struct akcipher_request *req = container_of(vreq, struct akcipher_request, base); in virtio_crypto_rsa_do_req()
321 static int virtio_crypto_rsa_req(struct akcipher_request *req, uint32_t opcode) in virtio_crypto_rsa_req()
340 static int virtio_crypto_rsa_encrypt(struct akcipher_request *req) in virtio_crypto_rsa_encrypt()
345 static int virtio_crypto_rsa_decrypt(struct akcipher_request *req) in virtio_crypto_rsa_decrypt()
350 static int virtio_crypto_rsa_sign(struct akcipher_request *req) in virtio_crypto_rsa_sign()
355 static int virtio_crypto_rsa_verify(struct akcipher_request *req) in virtio_crypto_rsa_verify()
/linux-5.19.10/drivers/crypto/caam/
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()
241 static struct rsa_edesc *rsa_edesc_alloc(struct akcipher_request *req, in rsa_edesc_alloc()
369 struct akcipher_request *req = container_of(areq, in akcipher_do_one_req()
370 struct akcipher_request, in akcipher_do_one_req()
[all …]
/linux-5.19.10/drivers/crypto/ccp/
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-5.19.10/crypto/
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()
229 static int pkcs1pad_encrypt(struct akcipher_request *req) in pkcs1pad_encrypt()
277 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete()
334 struct akcipher_request *req = child_async_req->data; in pkcs1pad_decrypt_complete_cb()
346 static int pkcs1pad_decrypt(struct akcipher_request *req) in pkcs1pad_decrypt()
379 static int pkcs1pad_sign(struct akcipher_request *req) in pkcs1pad_sign()
436 static int pkcs1pad_verify_complete(struct akcipher_request *req, int err) in pkcs1pad_verify_complete()
515 struct akcipher_request *req = child_async_req->data; in pkcs1pad_verify_complete_cb()
[all …]
Drsa.c55 static int rsa_enc(struct akcipher_request *req) in rsa_enc()
94 static int rsa_dec(struct akcipher_request *req) in rsa_dec()
Dcrypto_engine.c313 struct akcipher_request *req) in crypto_transfer_akcipher_request_to_engine()
380 struct akcipher_request *req, int err) in crypto_finalize_akcipher_request()
Dakcipher.c118 static int akcipher_default_op(struct akcipher_request *req) in akcipher_default_op()
Decrdsa.c71 static int ecrdsa_verify(struct akcipher_request *req) in ecrdsa_verify()
Decdsa.c137 static int ecdsa_verify(struct akcipher_request *req) in ecdsa_verify()
Dsm2.c348 static int sm2_verify(struct akcipher_request *req) in sm2_verify()
Dtestmgr.c3970 struct akcipher_request *req; in test_akcipher_one()
/linux-5.19.10/include/crypto/internal/
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()
/linux-5.19.10/Documentation/crypto/
Dapi-akcipher.rst5 :functions: akcipher_alg akcipher_request
/linux-5.19.10/crypto/asymmetric_keys/
Dpublic_key.c215 struct akcipher_request *req; in software_key_eds_op()
362 struct akcipher_request *req; in public_key_verify_signature()
/linux-5.19.10/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c134 struct akcipher_request *rsa;
515 struct akcipher_request *areq = req->areq.rsa; in qat_rsa_cb()
645 static int qat_rsa_enc(struct akcipher_request *req) in qat_rsa_enc()
779 static int qat_rsa_dec(struct akcipher_request *req) in qat_rsa_dec()
/linux-5.19.10/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c133 struct akcipher_request *rsa;
441 struct akcipher_request *areq; in hpre_rsa_cb()
506 struct akcipher_request *akreq = req; in hpre_msg_request_set()
775 static int hpre_rsa_enc(struct akcipher_request *req) in hpre_rsa_enc()
823 static int hpre_rsa_dec(struct akcipher_request *req) in hpre_rsa_dec()