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

/linux-master/include/crypto/
H A Dakcipher.h15 * struct akcipher_request - public key request
35 struct akcipher_request { struct
118 int (*sign)(struct akcipher_request *req);
119 int (*verify)(struct akcipher_request *req);
120 int (*encrypt)(struct akcipher_request *req);
121 int (*decrypt)(struct akcipher_request *req);
189 static inline void akcipher_request_set_tfm(struct akcipher_request *req,
196 struct akcipher_request *req)
221 static inline struct akcipher_request *akcipher_request_alloc(
224 struct akcipher_request *re
[all...]
H A Dengine.h57 struct akcipher_request *req);
67 struct akcipher_request *req, int err);
/linux-master/include/crypto/internal/
H A Dakcipher.h31 static inline void *akcipher_request_ctx(struct akcipher_request *req)
36 static inline void *akcipher_request_ctx_dma(struct akcipher_request *req)
69 static inline void akcipher_request_complete(struct akcipher_request *req,
/linux-master/drivers/crypto/aspeed/
H A Daspeed-acry.c92 struct akcipher_request *req;
140 static inline struct akcipher_request *
143 return container_of(req, struct akcipher_request, base);
146 static int aspeed_acry_do_fallback(struct akcipher_request *req)
164 static bool aspeed_acry_need_fallback(struct akcipher_request *req)
173 struct akcipher_request *req)
185 struct akcipher_request *req = akcipher_request_cast(areq);
198 struct akcipher_request *req = acry_dev->req;
301 struct akcipher_request *req = acry_dev->req;
349 struct akcipher_request *re
[all...]
/linux-master/drivers/crypto/ccp/
H A Dccp-crypto-rsa.c22 static inline struct akcipher_request *akcipher_request_cast(
25 return container_of(req, struct akcipher_request, base);
46 struct akcipher_request *req = akcipher_request_cast(async_req);
64 static int ccp_rsa_crypt(struct akcipher_request *req, bool encrypt)
94 static int ccp_rsa_encrypt(struct akcipher_request *req)
99 static int ccp_rsa_decrypt(struct akcipher_request *req)
/linux-master/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c40 struct akcipher_request *akcipher_req;
57 struct akcipher_request *req, int err)
72 struct akcipher_request *akcipher_req;
221 struct akcipher_request *req, struct data_queue *data_vq)
289 struct akcipher_request *req = container_of(vreq, struct akcipher_request, base);
326 static int virtio_crypto_rsa_req(struct akcipher_request *req, uint32_t opcode)
345 static int virtio_crypto_rsa_encrypt(struct akcipher_request *req)
350 static int virtio_crypto_rsa_decrypt(struct akcipher_request *req)
355 static int virtio_crypto_rsa_sign(struct akcipher_request *re
[all...]
/linux-master/drivers/crypto/caam/
H A Dcaampkc.c50 struct akcipher_request *req)
63 struct akcipher_request *req)
75 struct akcipher_request *req)
87 struct akcipher_request *req)
104 struct akcipher_request *req)
125 struct akcipher_request *req = context;
155 struct akcipher_request *req = context;
249 static struct rsa_edesc *rsa_edesc_alloc(struct akcipher_request *req,
376 struct akcipher_request *req = container_of(areq,
377 struct akcipher_request,
[all...]
/linux-master/crypto/
H A Drsa-pkcs1pad.c127 struct akcipher_request child_req;
197 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err)
238 struct akcipher_request *req = data;
249 static int pkcs1pad_encrypt(struct akcipher_request *req)
297 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err)
353 struct akcipher_request *req = data;
364 static int pkcs1pad_decrypt(struct akcipher_request *req)
397 static int pkcs1pad_sign(struct akcipher_request *req)
454 static int pkcs1pad_verify_complete(struct akcipher_request *req, int err)
532 struct akcipher_request *re
[all...]
H A Dinternal.h25 struct akcipher_request;
45 struct akcipher_request *req;
H A Dakcipher.c145 static int akcipher_default_op(struct akcipher_request *req)
195 struct akcipher_request *req;
H A Drsa.c121 static int rsa_enc(struct akcipher_request *req)
160 static int rsa_dec(struct akcipher_request *req)
H A Dcrypto_engine.c285 * crypto_transfer_akcipher_request_to_engine - transfer one akcipher_request
291 struct akcipher_request *req)
351 * crypto_finalize_akcipher_request - finalize one akcipher_request if
358 struct akcipher_request *req, int err)
H A Decrdsa.c71 static int ecrdsa_verify(struct akcipher_request *req)
H A Decdsa.c137 static int ecdsa_verify(struct akcipher_request *req)
H A Dsm2.c378 static int sm2_verify(struct akcipher_request *req)
H A Dtestmgr.c4075 struct akcipher_request *req;
/linux-master/drivers/crypto/starfive/
H A Djh7110-rsa.c280 static int starfive_rsa_enc(struct akcipher_request *req)
312 static int starfive_rsa_dec(struct akcipher_request *req)
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c134 struct akcipher_request *rsa;
516 struct akcipher_request *areq = req->areq.rsa;
645 static int qat_rsa_enc(struct akcipher_request *req)
779 static int qat_rsa_dec(struct akcipher_request *req)
/linux-master/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c142 struct akcipher_request *rsa;
460 struct akcipher_request *areq;
525 struct akcipher_request *akreq = req;
796 static int hpre_rsa_enc(struct akcipher_request *req)
844 static int hpre_rsa_dec(struct akcipher_request *req)

Completed in 334 milliseconds