Searched refs:crypto_akcipher (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.4/include/crypto/ |
| D | akcipher.h | 48 struct crypto_akcipher { struct 97 int (*set_pub_key)(struct crypto_akcipher *tfm, const void *key, 99 int (*set_priv_key)(struct crypto_akcipher *tfm, const void *key, 101 unsigned int (*max_size)(struct crypto_akcipher *tfm); 102 int (*init)(struct crypto_akcipher *tfm); 103 void (*exit)(struct crypto_akcipher *tfm); 130 struct crypto_akcipher *crypto_alloc_akcipher(const char *alg_name, u32 type, 134 struct crypto_akcipher *tfm) in crypto_akcipher_tfm() 144 static inline struct crypto_akcipher *__crypto_akcipher_tfm( in __crypto_akcipher_tfm() 147 return container_of(tfm, struct crypto_akcipher, base); in __crypto_akcipher_tfm() [all …]
|
| /Linux-v5.4/include/crypto/internal/ |
| D | akcipher.h | 36 static inline void akcipher_set_reqsize(struct crypto_akcipher *akcipher, in akcipher_set_reqsize() 42 static inline void *akcipher_tfm_ctx(struct crypto_akcipher *tfm) in akcipher_tfm_ctx() 53 static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm) in akcipher_alg_name() 71 struct crypto_akcipher *akcipher) in akcipher_alg_instance() 91 static inline struct crypto_akcipher *crypto_spawn_akcipher( in crypto_spawn_akcipher()
|
| /Linux-v5.4/crypto/ |
| D | rsa.c | 49 static inline struct rsa_mpi_key *rsa_get_key(struct crypto_akcipher *tfm) in rsa_get_key() 56 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_enc() 95 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_dec() 156 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in rsa_set_pub_key() 190 static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, in rsa_set_priv_key() 228 static unsigned int rsa_max_size(struct crypto_akcipher *tfm) in rsa_max_size() 235 static void rsa_exit_tfm(struct crypto_akcipher *tfm) in rsa_exit_tfm()
|
| D | rsa-pkcs1pad.c | 91 struct crypto_akcipher *child; 106 static int pkcs1pad_set_pub_key(struct crypto_akcipher *tfm, const void *key, in pkcs1pad_set_pub_key() 127 static int pkcs1pad_set_priv_key(struct crypto_akcipher *tfm, const void *key, in pkcs1pad_set_priv_key() 148 static unsigned int pkcs1pad_get_max_size(struct crypto_akcipher *tfm) in pkcs1pad_get_max_size() 175 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_encrypt_sign_complete() 230 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_encrypt() 278 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_decrypt_complete() 347 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_decrypt() 380 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_sign() 437 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_verify_complete() [all …]
|
| D | akcipher.c | 52 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_exit_tfm() 60 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_init_tfm() 90 .tfmsize = offsetof(struct crypto_akcipher, base), 101 struct crypto_akcipher *crypto_alloc_akcipher(const char *alg_name, u32 type, in crypto_alloc_akcipher()
|
| D | ecrdsa.c | 72 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in ecrdsa_verify() 190 static int ecrdsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in ecrdsa_set_pub_key() 251 static unsigned int ecrdsa_max_size(struct crypto_akcipher *tfm) in ecrdsa_max_size() 262 static void ecrdsa_exit_tfm(struct crypto_akcipher *tfm) in ecrdsa_exit_tfm()
|
| D | testmgr.c | 3645 static int test_akcipher_one(struct crypto_akcipher *tfm, in test_akcipher_one() 3819 static int test_akcipher(struct crypto_akcipher *tfm, const char *alg, in test_akcipher() 3842 struct crypto_akcipher *tfm; in alg_test_akcipher()
|
| /Linux-v5.4/drivers/crypto/ccp/ |
| D | ccp-crypto-rsa.c | 57 static unsigned int ccp_rsa_maxsize(struct crypto_akcipher *tfm) in ccp_rsa_maxsize() 66 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in ccp_rsa_crypt() 126 static int ccp_rsa_setkey(struct crypto_akcipher *tfm, const void *key, in ccp_rsa_setkey() 181 static int ccp_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, in ccp_rsa_setprivkey() 187 static int ccp_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, in ccp_rsa_setpubkey() 193 static int ccp_rsa_init_tfm(struct crypto_akcipher *tfm) in ccp_rsa_init_tfm() 203 static void ccp_rsa_exit_tfm(struct crypto_akcipher *tfm) in ccp_rsa_exit_tfm()
|
| /Linux-v5.4/drivers/crypto/caam/ |
| D | caampkc.c | 59 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_pub_unmap() 71 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f1_unmap() 83 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f2_unmap() 100 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f3_unmap() 246 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_edesc_alloc() 365 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_pub_pdb() 411 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f1_pdb() 457 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f2_pdb() 534 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f3_pdb() 626 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_enc() [all …]
|
| /Linux-v5.4/crypto/asymmetric_keys/ |
| D | public_key.c | 106 struct crypto_akcipher *tfm; in software_key_query() 168 struct crypto_akcipher *tfm; in software_key_eds_op() 254 struct crypto_akcipher *tfm; in public_key_verify_signature()
|
| D | asym_tpm.c | 414 struct crypto_akcipher *tfm; in tpm_key_query() 464 struct crypto_akcipher *tfm; in tpm_key_encrypt() 752 struct crypto_akcipher *tfm; in tpm_key_verify_signature()
|
| /Linux-v5.4/drivers/crypto/qat/qat_common/ |
| D | qat_asym_algs.c | 688 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in qat_rsa_enc() 822 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in qat_rsa_dec() 1201 static int qat_rsa_setkey(struct crypto_akcipher *tfm, const void *key, in qat_rsa_setkey() 1248 static int qat_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, in qat_rsa_setpubkey() 1254 static int qat_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, in qat_rsa_setprivkey() 1260 static unsigned int qat_rsa_max_size(struct crypto_akcipher *tfm) in qat_rsa_max_size() 1267 static int qat_rsa_init_tfm(struct crypto_akcipher *tfm) in qat_rsa_init_tfm() 1281 static void qat_rsa_exit_tfm(struct crypto_akcipher *tfm) in qat_rsa_exit_tfm()
|