/openbmc/linux/include/crypto/ |
H A D | akcipher.h | 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, in akcipher_request_set_tfm() 196 struct akcipher_request *req) in crypto_akcipher_reqtfm() 221 static inline struct akcipher_request *akcipher_request_alloc( in akcipher_request_alloc() 224 struct akcipher_request *req; in akcipher_request_alloc() 238 static inline void akcipher_request_free(struct akcipher_request *req) in akcipher_request_free() [all …]
|
H A D | engine.h | 57 struct akcipher_request *req); 67 struct akcipher_request *req, int err);
|
/openbmc/linux/drivers/crypto/virtio/ |
H A D | virtio_crypto_akcipher_algs.c | 40 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()
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caampkc.c | 50 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() 249 static struct rsa_edesc *rsa_edesc_alloc(struct akcipher_request *req, in rsa_edesc_alloc() 376 struct akcipher_request *req = container_of(areq, in akcipher_do_one_req() 377 struct akcipher_request, in akcipher_do_one_req() [all …]
|
/openbmc/linux/crypto/ |
H A D | rsa-pkcs1pad.c | 104 struct akcipher_request child_req; 174 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_sign_complete() 215 struct akcipher_request *req = data; in pkcs1pad_encrypt_sign_complete_cb() 226 static int pkcs1pad_encrypt(struct akcipher_request *req) in pkcs1pad_encrypt() 274 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete() 330 struct akcipher_request *req = data; in pkcs1pad_decrypt_complete_cb() 341 static int pkcs1pad_decrypt(struct akcipher_request *req) in pkcs1pad_decrypt() 374 static int pkcs1pad_sign(struct akcipher_request *req) in pkcs1pad_sign() 431 static int pkcs1pad_verify_complete(struct akcipher_request *req, int err) in pkcs1pad_verify_complete() 509 struct akcipher_request *req = data; in pkcs1pad_verify_complete_cb() [all …]
|
H A D | internal.h | 25 struct akcipher_request; 45 struct akcipher_request *req;
|
H A D | akcipher.c | 145 static int akcipher_default_op(struct akcipher_request *req) in akcipher_default_op() 195 struct akcipher_request *req; in crypto_akcipher_sync_prep()
|
H A D | rsa.c | 93 static int rsa_enc(struct akcipher_request *req) in rsa_enc() 132 static int rsa_dec(struct akcipher_request *req) in rsa_dec()
|
H A D | crypto_engine.c | 291 struct akcipher_request *req) in crypto_transfer_akcipher_request_to_engine() 358 struct akcipher_request *req, int err) in crypto_finalize_akcipher_request()
|
H A D | ecrdsa.c | 71 static int ecrdsa_verify(struct akcipher_request *req) in ecrdsa_verify()
|
H A D | ecdsa.c | 124 static int ecdsa_verify(struct akcipher_request *req) in ecdsa_verify()
|
H A D | sm2.c | 378 static int sm2_verify(struct akcipher_request *req) in sm2_verify()
|
H A D | testmgr.c | 4079 struct akcipher_request *req; in test_akcipher_one()
|
/openbmc/linux/drivers/crypto/aspeed/ |
H A D | aspeed-acry.c | 92 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() 164 static bool aspeed_acry_need_fallback(struct akcipher_request *req) in aspeed_acry_need_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() [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-rsa.c | 22 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()
|
/openbmc/linux/include/crypto/internal/ |
H A D | akcipher.h | 31 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()
|
/openbmc/linux/Documentation/crypto/ |
H A D | api-akcipher.rst | 5 :functions: akcipher_alg akcipher_request
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_asym_algs.c | 134 struct akcipher_request *rsa; 516 struct akcipher_request *areq = req->areq.rsa; in qat_rsa_cb() 645 static int qat_rsa_enc(struct akcipher_request *req) in qat_rsa_enc() 779 static int qat_rsa_dec(struct akcipher_request *req) in qat_rsa_dec()
|
/openbmc/linux/drivers/crypto/starfive/ |
H A D | jh7110-rsa.c | 310 static int starfive_rsa_enc(struct akcipher_request *req) in starfive_rsa_enc() 341 static int starfive_rsa_dec(struct akcipher_request *req) in starfive_rsa_dec()
|
/openbmc/linux/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 139 struct akcipher_request *rsa; 457 struct akcipher_request *areq; in hpre_rsa_cb() 522 struct akcipher_request *akreq = req; in hpre_msg_request_set() 793 static int hpre_rsa_enc(struct akcipher_request *req) in hpre_rsa_enc() 841 static int hpre_rsa_dec(struct akcipher_request *req) in hpre_rsa_dec()
|