Lines Matching defs:shash_alg
200 struct shash_alg { struct
201 int (*init)(struct shash_desc *desc);
202 int (*update)(struct shash_desc *desc, const u8 *data,
204 int (*final)(struct shash_desc *desc, u8 *out);
205 int (*finup)(struct shash_desc *desc, const u8 *data,
207 int (*digest)(struct shash_desc *desc, const u8 *data,
209 int (*export)(struct shash_desc *desc, void *out);
210 int (*import)(struct shash_desc *desc, const void *in);
211 int (*setkey)(struct crypto_shash *tfm, const u8 *key,
213 int (*init_tfm)(struct crypto_shash *tfm);
214 void (*exit_tfm)(struct crypto_shash *tfm);
215 int (*clone_tfm)(struct crypto_shash *dst, struct crypto_shash *src);
217 unsigned int descsize;
219 union {