Lines Matching defs:tfm
30 * crypto_alloc_sig() - allocate signature tfm handle
45 static inline struct crypto_tfm *crypto_sig_tfm(struct crypto_sig *tfm)
47 return &tfm->base;
51 * crypto_free_sig() - free signature tfm handle
53 * @tfm: signature tfm handle allocated with crypto_alloc_sig()
55 * If @tfm is a NULL or error pointer, this function does nothing.
57 static inline void crypto_free_sig(struct crypto_sig *tfm)
59 crypto_destroy_tfm(tfm, crypto_sig_tfm(tfm));
70 * @tfm: signature tfm handle allocated with crypto_alloc_sig()
72 int crypto_sig_maxsize(struct crypto_sig *tfm);
79 * @tfm: signature tfm handle allocated with crypto_alloc_sig()
87 int crypto_sig_sign(struct crypto_sig *tfm,
97 * @tfm: signature tfm handle allocated with crypto_alloc_sig()
105 int crypto_sig_verify(struct crypto_sig *tfm,
115 * @tfm: tfm handle
122 int crypto_sig_set_pubkey(struct crypto_sig *tfm,
131 * @tfm: tfm handle
138 int crypto_sig_set_privkey(struct crypto_sig *tfm,