Home
last modified time | relevance | path

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

/linux/include/crypto/
A Dakcipher.h35 struct akcipher_request { struct
97 int (*sign)(struct akcipher_request *req);
98 int (*verify)(struct akcipher_request *req);
99 int (*encrypt)(struct akcipher_request *req);
100 int (*decrypt)(struct akcipher_request *req);
171 struct akcipher_request *req) in crypto_akcipher_reqtfm()
196 static inline struct akcipher_request *akcipher_request_alloc( in akcipher_request_alloc()
199 struct akcipher_request *req; in akcipher_request_alloc()
213 static inline void akcipher_request_free(struct akcipher_request *req) in akcipher_request_free()
360 static inline int crypto_akcipher_sign(struct akcipher_request *req) in crypto_akcipher_sign()
[all …]
A Dengine.h57 struct akcipher_request *req);
67 struct akcipher_request *req, int err);
/linux/drivers/crypto/virtio/
A Dvirtio_crypto_akcipher_algs.c40 struct akcipher_request *akcipher_req;
57 struct akcipher_request *req, int err) in virtio_crypto_akcipher_finalize_req()
72 struct akcipher_request *akcipher_req; in virtio_crypto_dataq_akcipher_callback()
221 struct akcipher_request *req, struct data_queue *data_vq) in __virtio_crypto_akcipher_do_req()
289 struct akcipher_request *req = container_of(vreq, struct akcipher_request, base); in virtio_crypto_rsa_do_req()
326 static int virtio_crypto_rsa_req(struct akcipher_request *req, uint32_t opcode) in virtio_crypto_rsa_req()
345 static int virtio_crypto_rsa_encrypt(struct akcipher_request *req) in virtio_crypto_rsa_encrypt()
350 static int virtio_crypto_rsa_decrypt(struct akcipher_request *req) in virtio_crypto_rsa_decrypt()
355 static int virtio_crypto_rsa_sign(struct akcipher_request *req) in virtio_crypto_rsa_sign()
360 static int virtio_crypto_rsa_verify(struct akcipher_request *req) in virtio_crypto_rsa_verify()
/linux/drivers/crypto/caam/
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/drivers/crypto/aspeed/
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/include/crypto/internal/
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/drivers/crypto/ccp/
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/crypto/
A Drsa-pkcs1pad.c127 struct akcipher_request child_req;
197 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_sign_complete()
238 struct akcipher_request *req = data; in pkcs1pad_encrypt_sign_complete_cb()
249 static int pkcs1pad_encrypt(struct akcipher_request *req) in pkcs1pad_encrypt()
297 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete()
353 struct akcipher_request *req = data; in pkcs1pad_decrypt_complete_cb()
364 static int pkcs1pad_decrypt(struct akcipher_request *req) in pkcs1pad_decrypt()
397 static int pkcs1pad_sign(struct akcipher_request *req) in pkcs1pad_sign()
454 static int pkcs1pad_verify_complete(struct akcipher_request *req, int err) in pkcs1pad_verify_complete()
532 struct akcipher_request *req = data; in pkcs1pad_verify_complete_cb()
[all …]
A Dinternal.h25 struct akcipher_request;
45 struct akcipher_request *req;
A Dakcipher.c114 static int akcipher_default_op(struct akcipher_request *req) in akcipher_default_op()
164 struct akcipher_request *req; in crypto_akcipher_sync_prep()
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()
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()
A Decrdsa.c71 static int ecrdsa_verify(struct akcipher_request *req) in ecrdsa_verify()
A Decdsa.c129 static int ecdsa_verify(struct akcipher_request *req) in ecdsa_verify()
A Dtestmgr.c4120 struct akcipher_request *req; in test_akcipher_one()
/linux/Documentation/crypto/
A Dapi-akcipher.rst5 :functions: akcipher_alg akcipher_request
/linux/drivers/crypto/starfive/
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/drivers/crypto/intel/qat/qat_common/
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/drivers/crypto/hisilicon/hpre/
A Dhpre_crypto.c142 struct akcipher_request *rsa;
460 struct akcipher_request *areq; in hpre_rsa_cb()
525 struct akcipher_request *akreq = req; in hpre_msg_request_set()
798 static int hpre_rsa_enc(struct akcipher_request *req) in hpre_rsa_enc()
846 static int hpre_rsa_dec(struct akcipher_request *req) in hpre_rsa_dec()

Completed in 43 milliseconds