Home
last modified time | relevance | path

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

/Linux-v4.19/include/crypto/
Dakcipher.h32 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);
106 struct akcipher_request *req, int err);
/Linux-v4.19/drivers/crypto/caam/
Dcaampkc.c27 struct akcipher_request *req) in rsa_io_unmap()
38 struct akcipher_request *req) in rsa_pub_unmap()
50 struct akcipher_request *req) in rsa_priv_f1_unmap()
62 struct akcipher_request *req) in rsa_priv_f2_unmap()
79 struct akcipher_request *req) in rsa_priv_f3_unmap()
100 struct akcipher_request *req = context; in rsa_pub_done()
118 struct akcipher_request *req = context; in rsa_priv_f1_done()
136 struct akcipher_request *req = context; in rsa_priv_f2_done()
154 struct akcipher_request *req = context; in rsa_priv_f3_done()
212 static struct rsa_edesc *rsa_edesc_alloc(struct akcipher_request *req, in rsa_edesc_alloc()
[all …]
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-rsa.c25 static inline struct akcipher_request *akcipher_request_cast( in akcipher_request_cast()
28 return container_of(req, struct akcipher_request, base); in akcipher_request_cast()
50 struct akcipher_request *req = akcipher_request_cast(async_req); in ccp_rsa_complete()
68 static int ccp_rsa_crypt(struct akcipher_request *req, bool encrypt) in ccp_rsa_crypt()
98 static int ccp_rsa_encrypt(struct akcipher_request *req) in ccp_rsa_encrypt()
103 static int ccp_rsa_decrypt(struct akcipher_request *req) in ccp_rsa_decrypt()
/Linux-v4.19/crypto/
Drsa-pkcs1pad.c106 struct akcipher_request child_req;
176 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_sign_complete()
218 struct akcipher_request *req = child_async_req->data; in pkcs1pad_encrypt_sign_complete_cb()
231 static int pkcs1pad_encrypt(struct akcipher_request *req) in pkcs1pad_encrypt()
288 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete()
345 struct akcipher_request *req = child_async_req->data; in pkcs1pad_decrypt_complete_cb()
357 static int pkcs1pad_decrypt(struct akcipher_request *req) in pkcs1pad_decrypt()
390 static int pkcs1pad_sign(struct akcipher_request *req) in pkcs1pad_sign()
445 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.c86 static int rsa_enc(struct akcipher_request *req) in rsa_enc()
125 static int rsa_dec(struct akcipher_request *req) in rsa_dec()
163 static int rsa_sign(struct akcipher_request *req) in rsa_sign()
202 static int rsa_verify(struct akcipher_request *req) in rsa_verify()
Dcrypto_engine.c255 struct akcipher_request *req) in crypto_transfer_akcipher_request_to_engine()
324 struct akcipher_request *req, int err) in crypto_finalize_akcipher_request()
Dtestmgr.c2234 struct akcipher_request *req; in test_akcipher_one()
/Linux-v4.19/include/crypto/internal/
Dakcipher.h36 static inline void *akcipher_request_ctx(struct akcipher_request *req) in akcipher_request_ctx()
52 static inline void akcipher_request_complete(struct akcipher_request *req, in akcipher_request_complete()
/Linux-v4.19/Documentation/crypto/
Dapi-akcipher.rst5 :functions: akcipher_alg akcipher_request
/Linux-v4.19/crypto/asymmetric_keys/
Dpublic_key.c70 struct akcipher_request *req; in public_key_verify_signature()
/Linux-v4.19/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()