/kernel/linux/linux-6.6/include/crypto/ |
H A D | akcipher.h | 78 * struct akcipher_alg - generic public key algorithm 117 struct akcipher_alg { struct 167 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg() 169 return container_of(alg, struct akcipher_alg, base); in __crypto_akcipher_alg() 178 static inline struct akcipher_alg *crypto_akcipher_alg( in crypto_akcipher_alg() 300 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_maxsize() 306 struct akcipher_alg *alg) in akcipher_get_stat() 315 static inline int crypto_akcipher_errstat(struct akcipher_alg *alg, int err) in crypto_akcipher_errstat() 339 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_encrypt() 364 struct akcipher_alg *al in crypto_akcipher_decrypt() [all...] |
H A D | engine.h | 40 struct akcipher_alg base;
|
/kernel/linux/linux-5.10/include/crypto/ |
H A D | akcipher.h | 53 * struct akcipher_alg - generic public key algorithm 92 struct akcipher_alg { struct 139 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg() 141 return container_of(alg, struct akcipher_alg, base); in __crypto_akcipher_alg() 150 static inline struct akcipher_alg *crypto_akcipher_alg( in crypto_akcipher_alg() 272 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_maxsize() 290 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_encrypt() 314 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_decrypt() 338 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_sign() 365 struct akcipher_alg *al in crypto_akcipher_verify() [all...] |
/kernel/linux/linux-5.10/include/crypto/internal/ |
H A D | akcipher.h | 17 char head[offsetof(struct akcipher_alg, base)]; 20 struct akcipher_alg alg; 96 static inline struct akcipher_alg *crypto_spawn_akcipher_alg( in crypto_spawn_akcipher_alg() 99 return container_of(spawn->base.alg, struct akcipher_alg, base); in crypto_spawn_akcipher_alg() 111 int crypto_register_akcipher(struct akcipher_alg *alg); 120 void crypto_unregister_akcipher(struct akcipher_alg *alg);
|
/kernel/linux/linux-6.6/include/crypto/internal/ |
H A D | akcipher.h | 17 char head[offsetof(struct akcipher_alg, base)]; 20 struct akcipher_alg alg; 118 static inline struct akcipher_alg *crypto_spawn_akcipher_alg( in crypto_spawn_akcipher_alg() 121 return container_of(spawn->base.alg, struct akcipher_alg, base); in crypto_spawn_akcipher_alg() 133 int crypto_register_akcipher(struct akcipher_alg *alg); 142 void crypto_unregister_akcipher(struct akcipher_alg *alg);
|
/kernel/linux/linux-5.10/crypto/ |
H A D | akcipher.c | 53 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm() 61 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm() 109 static void akcipher_prepare_alg(struct akcipher_alg *alg) in akcipher_prepare_alg() 129 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher() 149 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
|
H A D | ecdsa.c | 275 static struct akcipher_alg ecdsa_nist_p384 = { 297 static struct akcipher_alg ecdsa_nist_p256 = { 319 static struct akcipher_alg ecdsa_nist_p192 = {
|
H A D | rsa.c | 242 static struct akcipher_alg rsa = {
|
H A D | ecrdsa.c | 267 static struct akcipher_alg ecrdsa_alg = {
|
H A D | sm2.c | 429 static struct akcipher_alg sm2 = {
|
H A D | rsa-pkcs1pad.c | 601 struct akcipher_alg *rsa_alg; in pkcs1pad_create()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | akcipher.c | 47 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm() 55 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm() 76 struct akcipher_alg *akcipher = __crypto_akcipher_alg(alg); in crypto_akcipher_report_stat() 132 static void akcipher_prepare_alg(struct akcipher_alg *alg) in akcipher_prepare_alg() 156 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher() 176 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher()
|
H A D | ecdsa.c | 275 static struct akcipher_alg ecdsa_nist_p384 = { 297 static struct akcipher_alg ecdsa_nist_p256 = { 319 static struct akcipher_alg ecdsa_nist_p192 = {
|
H A D | ecrdsa.c | 267 static struct akcipher_alg ecrdsa_alg = {
|
H A D | rsa.c | 352 static struct akcipher_alg rsa = {
|
H A D | sm2.c | 467 static struct akcipher_alg sm2 = {
|
H A D | rsa-pkcs1pad.c | 603 struct akcipher_alg *rsa_alg; in pkcs1pad_create()
|
/kernel/linux/linux-5.10/drivers/crypto/ccp/ |
H A D | ccp-crypto-rsa.c | 210 static struct akcipher_alg ccp_rsa_defaults = { 232 struct akcipher_alg *alg_defaults; 249 struct akcipher_alg *alg; in ccp_register_rsa_alg()
|
H A D | ccp-crypto.h | 67 struct akcipher_alg alg;
|
/kernel/linux/linux-6.6/drivers/crypto/ccp/ |
H A D | ccp-crypto-rsa.c | 210 static struct akcipher_alg ccp_rsa_defaults = { 232 struct akcipher_alg *alg_defaults; 249 struct akcipher_alg *alg; in ccp_register_rsa_alg()
|
H A D | ccp-crypto.h | 68 struct akcipher_alg alg;
|
/kernel/linux/linux-5.10/drivers/crypto/virtio/ |
H A D | virtio_crypto_akcipher_algs.c | 50 struct akcipher_alg algo;
|
/kernel/linux/linux-6.6/drivers/crypto/aspeed/ |
H A D | aspeed-acry.c | 573 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in aspeed_acry_rsa_init_tfm()
|
/kernel/linux/linux-6.6/drivers/crypto/starfive/ |
H A D | jh7110-rsa.c | 588 static struct akcipher_alg starfive_rsa = {
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A D | caampkc.c | 39 struct akcipher_alg akcipher;
|