Lines Matching refs:crypto_sig

18 struct crypto_sig {  struct
54 int (*sign)(struct crypto_sig *tfm,
57 int (*verify)(struct crypto_sig *tfm,
60 int (*set_pub_key)(struct crypto_sig *tfm,
62 int (*set_priv_key)(struct crypto_sig *tfm,
64 unsigned int (*key_size)(struct crypto_sig *tfm);
65 unsigned int (*digest_size)(struct crypto_sig *tfm);
66 unsigned int (*max_size)(struct crypto_sig *tfm);
67 int (*init)(struct crypto_sig *tfm);
68 void (*exit)(struct crypto_sig *tfm);
94 struct crypto_sig *crypto_alloc_sig(const char *alg_name, u32 type, u32 mask);
96 static inline struct crypto_tfm *crypto_sig_tfm(struct crypto_sig *tfm) in crypto_sig_tfm()
101 static inline struct crypto_sig *__crypto_sig_tfm(struct crypto_tfm *tfm) in __crypto_sig_tfm()
103 return container_of(tfm, struct crypto_sig, base); in __crypto_sig_tfm()
111 static inline struct sig_alg *crypto_sig_alg(struct crypto_sig *tfm) in crypto_sig_alg()
123 static inline void crypto_free_sig(struct crypto_sig *tfm) in crypto_free_sig()
138 static inline unsigned int crypto_sig_keysize(struct crypto_sig *tfm) in crypto_sig_keysize()
155 static inline unsigned int crypto_sig_digestsize(struct crypto_sig *tfm) in crypto_sig_digestsize()
172 static inline unsigned int crypto_sig_maxsize(struct crypto_sig *tfm) in crypto_sig_maxsize()
192 static inline int crypto_sig_sign(struct crypto_sig *tfm, in crypto_sig_sign()
215 static inline int crypto_sig_verify(struct crypto_sig *tfm, in crypto_sig_verify()
237 static inline int crypto_sig_set_pubkey(struct crypto_sig *tfm, in crypto_sig_set_pubkey()
258 static inline int crypto_sig_set_privkey(struct crypto_sig *tfm, in crypto_sig_set_privkey()