Searched refs:crypto_akcipher (Results 1 – 7 of 7) sorted by relevance
/linux-4.19.296/include/crypto/ |
D | akcipher.h | 47 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-4.19.296/include/crypto/internal/ |
D | akcipher.h | 41 static inline void akcipher_set_reqsize(struct crypto_akcipher *akcipher, in akcipher_set_reqsize() 47 static inline void *akcipher_tfm_ctx(struct crypto_akcipher *tfm) in akcipher_tfm_ctx() 58 static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm) in akcipher_alg_name() 76 struct crypto_akcipher *akcipher) in akcipher_alg_instance() 96 static inline struct crypto_akcipher *crypto_spawn_akcipher( in crypto_spawn_akcipher()
|
/linux-4.19.296/crypto/ |
D | rsa.c | 81 static inline struct rsa_mpi_key *rsa_get_key(struct crypto_akcipher *tfm) in rsa_get_key() 88 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_enc() 127 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_dec() 165 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_sign() 204 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_verify() 267 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in rsa_set_pub_key() 301 static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, in rsa_set_priv_key() 339 static unsigned int rsa_max_size(struct crypto_akcipher *tfm) in rsa_max_size() 346 static void rsa_exit_tfm(struct crypto_akcipher *tfm) in rsa_exit_tfm()
|
D | rsa-pkcs1pad.c | 94 struct crypto_akcipher *child; 109 static int pkcs1pad_set_pub_key(struct crypto_akcipher *tfm, const void *key, in pkcs1pad_set_pub_key() 130 static int pkcs1pad_set_priv_key(struct crypto_akcipher *tfm, const void *key, in pkcs1pad_set_priv_key() 151 static unsigned int pkcs1pad_get_max_size(struct crypto_akcipher *tfm) in pkcs1pad_get_max_size() 178 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_encrypt_sign_complete() 231 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_encrypt() 279 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() 435 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in pkcs1pad_verify_complete() [all …]
|
D | akcipher.c | 60 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_exit_tfm() 68 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_init_tfm() 98 .tfmsize = offsetof(struct crypto_akcipher, base), 109 struct crypto_akcipher *crypto_alloc_akcipher(const char *alg_name, u32 type, in crypto_alloc_akcipher()
|
D | testmgr.c | 2236 static int test_akcipher_one(struct crypto_akcipher *tfm, in test_akcipher_one() 2362 static int test_akcipher(struct crypto_akcipher *tfm, const char *alg, in test_akcipher() 2385 struct crypto_akcipher *tfm; in alg_test_akcipher()
|
/linux-4.19.296/crypto/asymmetric_keys/ |
D | public_key.c | 69 struct crypto_akcipher *tfm; in public_key_verify_signature()
|