crypto_sig
struct crypto_sig *sig;
struct crypto_sig *sig;
struct crypto_sig *tfm;
struct crypto_sig *child;
static int ecdsa_p1363_verify(struct crypto_sig *tfm,
static unsigned int ecdsa_p1363_key_size(struct crypto_sig *tfm)
static unsigned int ecdsa_p1363_max_size(struct crypto_sig *tfm)
static unsigned int ecdsa_p1363_digest_size(struct crypto_sig *tfm)
static int ecdsa_p1363_set_pub_key(struct crypto_sig *tfm,
static int ecdsa_p1363_init_tfm(struct crypto_sig *tfm)
struct crypto_sig *child_tfm;
static void ecdsa_p1363_exit_tfm(struct crypto_sig *tfm)
static unsigned int ecdsa_x962_max_size(struct crypto_sig *tfm)
static unsigned int ecdsa_x962_digest_size(struct crypto_sig *tfm)
static int ecdsa_x962_set_pub_key(struct crypto_sig *tfm,
static int ecdsa_x962_init_tfm(struct crypto_sig *tfm)
struct crypto_sig *child_tfm;
static void ecdsa_x962_exit_tfm(struct crypto_sig *tfm)
struct crypto_sig *child;
static int ecdsa_x962_verify(struct crypto_sig *tfm,
static unsigned int ecdsa_x962_key_size(struct crypto_sig *tfm)
static int ecdsa_set_pub_key(struct crypto_sig *tfm, const void *key,
static void ecdsa_exit_tfm(struct crypto_sig *tfm)
static unsigned int ecdsa_key_size(struct crypto_sig *tfm)
static unsigned int ecdsa_digest_size(struct crypto_sig *tfm)
static int ecdsa_nist_p521_init_tfm(struct crypto_sig *tfm)
static int ecdsa_nist_p384_init_tfm(struct crypto_sig *tfm)
static int ecdsa_nist_p256_init_tfm(struct crypto_sig *tfm)
static int ecdsa_nist_p192_init_tfm(struct crypto_sig *tfm)
static int ecdsa_verify(struct crypto_sig *tfm,
static int ecrdsa_set_pub_key(struct crypto_sig *tfm, const void *key,
static unsigned int ecrdsa_key_size(struct crypto_sig *tfm)
static unsigned int ecrdsa_max_size(struct crypto_sig *tfm)
static void ecrdsa_exit_tfm(struct crypto_sig *tfm)
static int ecrdsa_verify(struct crypto_sig *tfm,
static int crypto_mldsa65_alg_init(struct crypto_sig *tfm)
static int crypto_mldsa87_alg_init(struct crypto_sig *tfm)
static void crypto_mldsa_alg_exit(struct crypto_sig *tfm)
static int crypto_mldsa_sign(struct crypto_sig *tfm,
static int crypto_mldsa_verify(struct crypto_sig *tfm,
static unsigned int crypto_mldsa_key_size(struct crypto_sig *tfm)
static int crypto_mldsa_set_pub_key(struct crypto_sig *tfm,
static int crypto_mldsa_set_priv_key(struct crypto_sig *tfm,
static unsigned int crypto_mldsa_max_size(struct crypto_sig *tfm)
static int crypto_mldsa44_alg_init(struct crypto_sig *tfm)
static int rsassa_pkcs1_sign(struct crypto_sig *tfm,
static int rsassa_pkcs1_verify(struct crypto_sig *tfm,
static unsigned int rsassa_pkcs1_key_size(struct crypto_sig *tfm)
static int rsassa_pkcs1_set_pub_key(struct crypto_sig *tfm,
static int rsassa_pkcs1_set_priv_key(struct crypto_sig *tfm,
static int rsassa_pkcs1_init_tfm(struct crypto_sig *tfm)
static void rsassa_pkcs1_exit_tfm(struct crypto_sig *tfm)
static int sig_default_set_key(struct crypto_sig *tfm,
static unsigned int sig_default_size(struct crypto_sig *tfm)
struct crypto_sig *sig = __crypto_sig_tfm(tfm);
struct crypto_sig *sig = __crypto_sig_tfm(tfm);
.tfmsize = offsetof(struct crypto_sig, base),
struct crypto_sig *crypto_alloc_sig(const char *alg_name, u32 type, u32 mask)
static int sig_default_sign(struct crypto_sig *tfm,
static int sig_default_verify(struct crypto_sig *tfm,
static int test_sig_one(struct crypto_sig *tfm, const struct sig_testvec *vecs)
static int test_sig(struct crypto_sig *tfm, const char *alg,
struct crypto_sig *tfm;
static inline void *crypto_sig_ctx(struct crypto_sig *tfm)
static inline struct sig_instance *sig_alg_instance(struct crypto_sig *tfm)
static inline struct crypto_sig *crypto_spawn_sig(struct crypto_sig_spawn
static inline struct crypto_sig *__crypto_sig_tfm(struct crypto_tfm *tfm)
return container_of(tfm, struct crypto_sig, base);
static inline struct sig_alg *crypto_sig_alg(struct crypto_sig *tfm)
static inline void crypto_free_sig(struct crypto_sig *tfm)
static inline unsigned int crypto_sig_keysize(struct crypto_sig *tfm)
static inline unsigned int crypto_sig_digestsize(struct crypto_sig *tfm)
static inline unsigned int crypto_sig_maxsize(struct crypto_sig *tfm)
static inline int crypto_sig_sign(struct crypto_sig *tfm,
static inline int crypto_sig_verify(struct crypto_sig *tfm,
static inline int crypto_sig_set_pubkey(struct crypto_sig *tfm,
static inline int crypto_sig_set_privkey(struct crypto_sig *tfm,
int (*sign)(struct crypto_sig *tfm,
int (*verify)(struct crypto_sig *tfm,
int (*set_pub_key)(struct crypto_sig *tfm,
int (*set_priv_key)(struct crypto_sig *tfm,
unsigned int (*key_size)(struct crypto_sig *tfm);
unsigned int (*digest_size)(struct crypto_sig *tfm);
unsigned int (*max_size)(struct crypto_sig *tfm);
int (*init)(struct crypto_sig *tfm);
void (*exit)(struct crypto_sig *tfm);
struct crypto_sig *crypto_alloc_sig(const char *alg_name, u32 type, u32 mask);
static inline struct crypto_tfm *crypto_sig_tfm(struct crypto_sig *tfm)