Home
last modified time | relevance | path

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

/Linux-v5.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()
191 static inline struct akcipher_request *akcipher_request_alloc( in akcipher_request_alloc()
194 struct akcipher_request *req; in akcipher_request_alloc()
208 static inline void akcipher_request_free(struct akcipher_request *req) in akcipher_request_free()
[all …]
Dengine.h96 struct akcipher_request *req);
104 struct akcipher_request *req, int err);
/Linux-v5.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()
240 static struct rsa_edesc *rsa_edesc_alloc(struct akcipher_request *req, in rsa_edesc_alloc()
368 struct akcipher_request *req = container_of(areq, in akcipher_do_one_req()
369 struct akcipher_request, in akcipher_do_one_req()
[all …]
/Linux-v5.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-v5.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()
512 struct akcipher_request *req = child_async_req->data; in pkcs1pad_verify_complete_cb()
[all …]
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()
Dcrypto_engine.c311 struct akcipher_request *req) in crypto_transfer_akcipher_request_to_engine()
365 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()
Dsm2.c353 static int sm2_verify(struct akcipher_request *req) in sm2_verify()
Dtestmgr.c3934 struct akcipher_request *req; in test_akcipher_one()
/Linux-v5.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-v5.10/Documentation/crypto/
Dapi-akcipher.rst5 :functions: akcipher_alg akcipher_request
/Linux-v5.10/crypto/asymmetric_keys/
Dpublic_key.c170 struct akcipher_request *req; in software_key_eds_op()
314 struct akcipher_request *req; in public_key_verify_signature()
Dasym_tpm.c449 struct akcipher_request *req; in tpm_key_encrypt()
737 struct akcipher_request *req; in tpm_key_verify_signature()
/Linux-v5.10/drivers/crypto/hisilicon/hpre/
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()
/Linux-v5.10/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c133 struct akcipher_request *rsa;
511 struct akcipher_request *areq = req->areq.rsa; in qat_rsa_cb()
641 static int qat_rsa_enc(struct akcipher_request *req) in qat_rsa_enc()
775 static int qat_rsa_dec(struct akcipher_request *req) in qat_rsa_dec()