Home
last modified time | relevance | path

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

/Linux-v5.4/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.h91 struct akcipher_request *req);
101 struct akcipher_request *req, int err);
/Linux-v5.4/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()
138 struct akcipher_request *req = context; in rsa_priv_f1_done()
157 struct akcipher_request *req = context; in rsa_priv_f2_done()
176 struct akcipher_request *req = context; in rsa_priv_f3_done()
243 static struct rsa_edesc *rsa_edesc_alloc(struct akcipher_request *req, in rsa_edesc_alloc()
[all …]
/Linux-v5.4/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.4/crypto/
Drsa-pkcs1pad.c103 struct akcipher_request child_req;
173 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_sign_complete()
215 struct akcipher_request *req = child_async_req->data; in pkcs1pad_encrypt_sign_complete_cb()
228 static int pkcs1pad_encrypt(struct akcipher_request *req) in pkcs1pad_encrypt()
276 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete()
333 struct akcipher_request *req = child_async_req->data; in pkcs1pad_decrypt_complete_cb()
345 static int pkcs1pad_decrypt(struct akcipher_request *req) in pkcs1pad_decrypt()
378 static int pkcs1pad_sign(struct akcipher_request *req) in pkcs1pad_sign()
435 static int pkcs1pad_verify_complete(struct akcipher_request *req, int err) in pkcs1pad_verify_complete()
511 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.c250 struct akcipher_request *req) in crypto_transfer_akcipher_request_to_engine()
319 struct akcipher_request *req, int err) in crypto_finalize_akcipher_request()
Dakcipher.c117 static int akcipher_default_op(struct akcipher_request *req) in akcipher_default_op()
Decrdsa.c70 static int ecrdsa_verify(struct akcipher_request *req) in ecrdsa_verify()
Dtestmgr.c3649 struct akcipher_request *req; in test_akcipher_one()
/Linux-v5.4/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.4/Documentation/crypto/
Dapi-akcipher.rst5 :functions: akcipher_alg akcipher_request
/Linux-v5.4/crypto/asymmetric_keys/
Dpublic_key.c167 struct akcipher_request *req; in software_key_eds_op()
255 struct akcipher_request *req; in public_key_verify_signature()
Dasym_tpm.c465 struct akcipher_request *req; in tpm_key_encrypt()
753 struct akcipher_request *req; in tpm_key_verify_signature()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c178 struct akcipher_request *rsa;
556 struct akcipher_request *areq = req->areq.rsa; in qat_rsa_cb()
686 static int qat_rsa_enc(struct akcipher_request *req) in qat_rsa_enc()
820 static int qat_rsa_dec(struct akcipher_request *req) in qat_rsa_dec()