Searched refs:crypto_akcipher (Results 1 - 20 of 20) sorted by relevance

/linux-master/include/crypto/
H A Dakcipher.h45 * struct crypto_akcipher - user-instantiated objects which encapsulate
51 struct crypto_akcipher { struct
122 int (*set_pub_key)(struct crypto_akcipher *tfm, const void *key,
124 int (*set_priv_key)(struct crypto_akcipher *tfm, const void *key,
126 unsigned int (*max_size)(struct crypto_akcipher *tfm);
127 int (*init)(struct crypto_akcipher *tfm);
128 void (*exit)(struct crypto_akcipher *tfm);
152 * crypto_akcipher is the handle that is required for any subsequent
158 struct crypto_akcipher *crypto_alloc_akcipher(const char *alg_name, u32 type,
162 struct crypto_akcipher *tf
[all...]
/linux-master/include/crypto/internal/
H A Dakcipher.h46 static inline void akcipher_set_reqsize(struct crypto_akcipher *akcipher,
52 static inline void akcipher_set_reqsize_dma(struct crypto_akcipher *akcipher,
59 static inline void *akcipher_tfm_ctx(struct crypto_akcipher *tfm)
64 static inline void *akcipher_tfm_ctx_dma(struct crypto_akcipher *tfm)
75 static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm)
93 struct crypto_akcipher *akcipher)
107 static inline struct crypto_akcipher *crypto_spawn_akcipher(
/linux-master/crypto/
H A Dsig.c84 struct crypto_akcipher **ctx = crypto_sig_ctx(tfm);
94 struct crypto_akcipher **ctx = crypto_sig_ctx(tfm);
113 struct crypto_akcipher **ctx = crypto_sig_ctx(tfm);
136 struct crypto_akcipher **ctx = crypto_sig_ctx(tfm);
145 struct crypto_akcipher **ctx = crypto_sig_ctx(tfm);
H A Dakcipher.c46 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm);
54 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm);
113 .tfmsize = offsetof(struct crypto_akcipher, base),
125 struct crypto_akcipher *crypto_alloc_akcipher(const char *alg_name, u32 type,
150 static int akcipher_default_set_key(struct crypto_akcipher *tfm,
245 int crypto_akcipher_sync_encrypt(struct crypto_akcipher *tfm,
263 int crypto_akcipher_sync_decrypt(struct crypto_akcipher *tfm,
284 struct crypto_akcipher **ctx = crypto_tfm_ctx(tfm);
291 struct crypto_akcipher **ctx = crypto_tfm_ctx(tfm);
293 struct crypto_akcipher *akciphe
[all...]
H A Decdsa.c139 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
222 static int ecdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen)
254 static void ecdsa_exit_tfm(struct crypto_akcipher *tfm)
261 static unsigned int ecdsa_max_size(struct crypto_akcipher *tfm)
268 static int ecdsa_nist_p384_init_tfm(struct crypto_akcipher *tfm)
290 static int ecdsa_nist_p256_init_tfm(struct crypto_akcipher *tfm)
312 static int ecdsa_nist_p192_init_tfm(struct crypto_akcipher *tfm)
H A Drsa.c116 static inline struct rsa_mpi_key *rsa_get_key(struct crypto_akcipher *tfm)
123 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
162 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
264 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key,
303 static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key,
366 static unsigned int rsa_max_size(struct crypto_akcipher *tfm)
373 static void rsa_exit_tfm(struct crypto_akcipher *tfm)
H A Drsa-pkcs1pad.c115 struct crypto_akcipher *child;
130 static int pkcs1pad_set_pub_key(struct crypto_akcipher *tfm, const void *key,
151 static int pkcs1pad_set_priv_key(struct crypto_akcipher *tfm, const void *key,
172 static unsigned int pkcs1pad_get_max_size(struct crypto_akcipher *tfm)
199 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
251 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
299 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
366 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
399 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
456 struct crypto_akcipher *tf
[all...]
H A Decrdsa.c73 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
191 static int ecrdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key,
252 static unsigned int ecrdsa_max_size(struct crypto_akcipher *tfm)
263 static void ecrdsa_exit_tfm(struct crypto_akcipher *tfm)
H A Dsm2.c380 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
420 static int sm2_set_pub_key(struct crypto_akcipher *tfm,
447 static unsigned int sm2_max_size(struct crypto_akcipher *tfm)
453 static int sm2_init_tfm(struct crypto_akcipher *tfm)
460 static void sm2_exit_tfm(struct crypto_akcipher *tfm)
H A Dinternal.h26 struct crypto_akcipher;
39 struct crypto_akcipher *tfm;
H A Dtestmgr.c4071 static int test_akcipher_one(struct crypto_akcipher *tfm,
4253 static int test_akcipher(struct crypto_akcipher *tfm, const char *alg,
4276 struct crypto_akcipher *tfm;
/linux-master/drivers/crypto/ccp/
H A Dccp-crypto-rsa.c57 static unsigned int ccp_rsa_maxsize(struct crypto_akcipher *tfm)
66 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
126 static int ccp_rsa_setkey(struct crypto_akcipher *tfm, const void *key,
181 static int ccp_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key,
187 static int ccp_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key,
193 static int ccp_rsa_init_tfm(struct crypto_akcipher *tfm)
203 static void ccp_rsa_exit_tfm(struct crypto_akcipher *tfm)
/linux-master/drivers/crypto/aspeed/
H A Daspeed-acry.c126 struct crypto_akcipher *fallback_tfm;
148 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req);
166 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req);
186 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req);
350 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req);
415 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req);
427 struct crypto_akcipher *cipher = crypto_akcipher_reqtfm(req);
485 static int aspeed_acry_rsa_setkey(struct crypto_akcipher *tfm, const void *key,
532 static int aspeed_acry_rsa_set_pub_key(struct crypto_akcipher *tfm,
546 static int aspeed_acry_rsa_set_priv_key(struct crypto_akcipher *tf
[all...]
/linux-master/drivers/crypto/caam/
H A Dcaampkc.c65 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
77 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
89 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
106 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
156 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
252 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
379 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
407 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
453 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
500 struct crypto_akcipher *tf
[all...]
/linux-master/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c29 struct crypto_akcipher *tfm;
328 struct crypto_akcipher *atfm = crypto_akcipher_reqtfm(req);
365 static int virtio_crypto_rsa_set_key(struct crypto_akcipher *tfm,
429 static int virtio_crypto_rsa_raw_set_priv_key(struct crypto_akcipher *tfm,
439 static int virtio_crypto_p1pad_rsa_sha1_set_priv_key(struct crypto_akcipher *tfm,
448 static int virtio_crypto_rsa_raw_set_pub_key(struct crypto_akcipher *tfm,
457 static int virtio_crypto_p1pad_rsa_sha1_set_pub_key(struct crypto_akcipher *tfm,
466 static unsigned int virtio_crypto_rsa_max_size(struct crypto_akcipher *tfm)
474 static int virtio_crypto_rsa_init_tfm(struct crypto_akcipher *tfm)
486 static void virtio_crypto_rsa_exit_tfm(struct crypto_akcipher *tf
[all...]
/linux-master/drivers/crypto/starfive/
H A Djh7110-rsa.c282 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
314 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
446 static int starfive_rsa_setkey(struct crypto_akcipher *tfm, const void *key,
497 static int starfive_rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key,
510 static int starfive_rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key,
523 static unsigned int starfive_rsa_max_size(struct crypto_akcipher *tfm)
533 static int starfive_rsa_init_tfm(struct crypto_akcipher *tfm)
548 sizeof(struct crypto_akcipher) + 32);
553 static void starfive_rsa_exit_tfm(struct crypto_akcipher *tfm)
H A Djh7110-cryp.h168 struct crypto_akcipher *akcipher_fbk;
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c647 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
781 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
1158 static int qat_rsa_setkey(struct crypto_akcipher *tfm, const void *key,
1205 static int qat_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key,
1211 static int qat_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key,
1217 static unsigned int qat_rsa_max_size(struct crypto_akcipher *tfm)
1224 static int qat_rsa_init_tfm(struct crypto_akcipher *tfm)
1240 static void qat_rsa_exit_tfm(struct crypto_akcipher *tfm)
/linux-master/crypto/asymmetric_keys/
H A Dpublic_key.c163 struct crypto_akcipher *tfm;
281 struct crypto_akcipher *tfm;
/linux-master/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c78 struct crypto_akcipher *soft_tfm;
798 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
846 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
1134 static int hpre_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key,
1147 static int hpre_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key,
1160 static unsigned int hpre_rsa_max_size(struct crypto_akcipher *tfm)
1172 static int hpre_rsa_init_tfm(struct crypto_akcipher *tfm)
1193 static void hpre_rsa_exit_tfm(struct crypto_akcipher *tfm)

Completed in 255 milliseconds