Symbol: crypto_sig
crypto/asymmetric_keys/public_key.c
202
struct crypto_sig *sig;
crypto/asymmetric_keys/public_key.c
283
struct crypto_sig *sig;
crypto/asymmetric_keys/public_key.c
382
struct crypto_sig *tfm;
crypto/ecdsa-p1363.c
16
struct crypto_sig *child;
crypto/ecdsa-p1363.c
19
static int ecdsa_p1363_verify(struct crypto_sig *tfm,
crypto/ecdsa-p1363.c
38
static unsigned int ecdsa_p1363_key_size(struct crypto_sig *tfm)
crypto/ecdsa-p1363.c
45
static unsigned int ecdsa_p1363_max_size(struct crypto_sig *tfm)
crypto/ecdsa-p1363.c
53
static unsigned int ecdsa_p1363_digest_size(struct crypto_sig *tfm)
crypto/ecdsa-p1363.c
60
static int ecdsa_p1363_set_pub_key(struct crypto_sig *tfm,
crypto/ecdsa-p1363.c
68
static int ecdsa_p1363_init_tfm(struct crypto_sig *tfm)
crypto/ecdsa-p1363.c
73
struct crypto_sig *child_tfm;
crypto/ecdsa-p1363.c
84
static void ecdsa_p1363_exit_tfm(struct crypto_sig *tfm)
crypto/ecdsa-x962.c
102
static unsigned int ecdsa_x962_max_size(struct crypto_sig *tfm)
crypto/ecdsa-x962.c
130
static unsigned int ecdsa_x962_digest_size(struct crypto_sig *tfm)
crypto/ecdsa-x962.c
137
static int ecdsa_x962_set_pub_key(struct crypto_sig *tfm,
crypto/ecdsa-x962.c
145
static int ecdsa_x962_init_tfm(struct crypto_sig *tfm)
crypto/ecdsa-x962.c
150
struct crypto_sig *child_tfm;
crypto/ecdsa-x962.c
161
static void ecdsa_x962_exit_tfm(struct crypto_sig *tfm)
crypto/ecdsa-x962.c
20
struct crypto_sig *child;
crypto/ecdsa-x962.c
76
static int ecdsa_x962_verify(struct crypto_sig *tfm,
crypto/ecdsa-x962.c
95
static unsigned int ecdsa_x962_key_size(struct crypto_sig *tfm)
crypto/ecdsa.c
122
static int ecdsa_set_pub_key(struct crypto_sig *tfm, const void *key,
crypto/ecdsa.c
159
static void ecdsa_exit_tfm(struct crypto_sig *tfm)
crypto/ecdsa.c
166
static unsigned int ecdsa_key_size(struct crypto_sig *tfm)
crypto/ecdsa.c
173
static unsigned int ecdsa_digest_size(struct crypto_sig *tfm)
crypto/ecdsa.c
184
static int ecdsa_nist_p521_init_tfm(struct crypto_sig *tfm)
crypto/ecdsa.c
207
static int ecdsa_nist_p384_init_tfm(struct crypto_sig *tfm)
crypto/ecdsa.c
230
static int ecdsa_nist_p256_init_tfm(struct crypto_sig *tfm)
crypto/ecdsa.c
253
static int ecdsa_nist_p192_init_tfm(struct crypto_sig *tfm)
crypto/ecdsa.c
66
static int ecdsa_verify(struct crypto_sig *tfm,
crypto/ecrdsa.c
183
static int ecrdsa_set_pub_key(struct crypto_sig *tfm, const void *key,
crypto/ecrdsa.c
244
static unsigned int ecrdsa_key_size(struct crypto_sig *tfm)
crypto/ecrdsa.c
255
static unsigned int ecrdsa_max_size(struct crypto_sig *tfm)
crypto/ecrdsa.c
262
static void ecrdsa_exit_tfm(struct crypto_sig *tfm)
crypto/ecrdsa.c
70
static int ecrdsa_verify(struct crypto_sig *tfm,
crypto/mldsa.c
103
static int crypto_mldsa65_alg_init(struct crypto_sig *tfm)
crypto/mldsa.c
112
static int crypto_mldsa87_alg_init(struct crypto_sig *tfm)
crypto/mldsa.c
121
static void crypto_mldsa_alg_exit(struct crypto_sig *tfm)
crypto/mldsa.c
19
static int crypto_mldsa_sign(struct crypto_sig *tfm,
crypto/mldsa.c
26
static int crypto_mldsa_verify(struct crypto_sig *tfm,
crypto/mldsa.c
39
static unsigned int crypto_mldsa_key_size(struct crypto_sig *tfm)
crypto/mldsa.c
56
static int crypto_mldsa_set_pub_key(struct crypto_sig *tfm,
crypto/mldsa.c
71
static int crypto_mldsa_set_priv_key(struct crypto_sig *tfm,
crypto/mldsa.c
77
static unsigned int crypto_mldsa_max_size(struct crypto_sig *tfm)
crypto/mldsa.c
94
static int crypto_mldsa44_alg_init(struct crypto_sig *tfm)
crypto/rsassa-pkcs1.c
158
static int rsassa_pkcs1_sign(struct crypto_sig *tfm,
crypto/rsassa-pkcs1.c
216
static int rsassa_pkcs1_verify(struct crypto_sig *tfm,
crypto/rsassa-pkcs1.c
300
static unsigned int rsassa_pkcs1_key_size(struct crypto_sig *tfm)
crypto/rsassa-pkcs1.c
307
static int rsassa_pkcs1_set_pub_key(struct crypto_sig *tfm,
crypto/rsassa-pkcs1.c
315
static int rsassa_pkcs1_set_priv_key(struct crypto_sig *tfm,
crypto/rsassa-pkcs1.c
323
static int rsassa_pkcs1_init_tfm(struct crypto_sig *tfm)
crypto/rsassa-pkcs1.c
339
static void rsassa_pkcs1_exit_tfm(struct crypto_sig *tfm)
crypto/sig.c
100
static int sig_default_set_key(struct crypto_sig *tfm,
crypto/sig.c
106
static unsigned int sig_default_size(struct crypto_sig *tfm)
crypto/sig.c
20
struct crypto_sig *sig = __crypto_sig_tfm(tfm);
crypto/sig.c
28
struct crypto_sig *sig = __crypto_sig_tfm(tfm);
crypto/sig.c
76
.tfmsize = offsetof(struct crypto_sig, base),
crypto/sig.c
80
struct crypto_sig *crypto_alloc_sig(const char *alg_name, u32 type, u32 mask)
crypto/sig.c
86
static int sig_default_sign(struct crypto_sig *tfm,
crypto/sig.c
93
static int sig_default_verify(struct crypto_sig *tfm,
crypto/testmgr.c
3943
static int test_sig_one(struct crypto_sig *tfm, const struct sig_testvec *vecs)
crypto/testmgr.c
4014
static int test_sig(struct crypto_sig *tfm, const char *alg,
crypto/testmgr.c
4034
struct crypto_sig *tfm;
include/crypto/internal/sig.h
28
static inline void *crypto_sig_ctx(struct crypto_sig *tfm)
include/crypto/internal/sig.h
61
static inline struct sig_instance *sig_alg_instance(struct crypto_sig *tfm)
include/crypto/internal/sig.h
81
static inline struct crypto_sig *crypto_spawn_sig(struct crypto_sig_spawn
include/crypto/sig.h
101
static inline struct crypto_sig *__crypto_sig_tfm(struct crypto_tfm *tfm)
include/crypto/sig.h
103
return container_of(tfm, struct crypto_sig, base);
include/crypto/sig.h
111
static inline struct sig_alg *crypto_sig_alg(struct crypto_sig *tfm)
include/crypto/sig.h
123
static inline void crypto_free_sig(struct crypto_sig *tfm)
include/crypto/sig.h
138
static inline unsigned int crypto_sig_keysize(struct crypto_sig *tfm)
include/crypto/sig.h
155
static inline unsigned int crypto_sig_digestsize(struct crypto_sig *tfm)
include/crypto/sig.h
172
static inline unsigned int crypto_sig_maxsize(struct crypto_sig *tfm)
include/crypto/sig.h
192
static inline int crypto_sig_sign(struct crypto_sig *tfm,
include/crypto/sig.h
215
static inline int crypto_sig_verify(struct crypto_sig *tfm,
include/crypto/sig.h
237
static inline int crypto_sig_set_pubkey(struct crypto_sig *tfm,
include/crypto/sig.h
258
static inline int crypto_sig_set_privkey(struct crypto_sig *tfm,
include/crypto/sig.h
54
int (*sign)(struct crypto_sig *tfm,
include/crypto/sig.h
57
int (*verify)(struct crypto_sig *tfm,
include/crypto/sig.h
60
int (*set_pub_key)(struct crypto_sig *tfm,
include/crypto/sig.h
62
int (*set_priv_key)(struct crypto_sig *tfm,
include/crypto/sig.h
64
unsigned int (*key_size)(struct crypto_sig *tfm);
include/crypto/sig.h
65
unsigned int (*digest_size)(struct crypto_sig *tfm);
include/crypto/sig.h
66
unsigned int (*max_size)(struct crypto_sig *tfm);
include/crypto/sig.h
67
int (*init)(struct crypto_sig *tfm);
include/crypto/sig.h
68
void (*exit)(struct crypto_sig *tfm);
include/crypto/sig.h
94
struct crypto_sig *crypto_alloc_sig(const char *alg_name, u32 type, u32 mask);
include/crypto/sig.h
96
static inline struct crypto_tfm *crypto_sig_tfm(struct crypto_sig *tfm)