Lines Matching defs:shash_alg
228 struct shash_alg { struct
229 int (*init)(struct shash_desc *desc);
230 int (*update)(struct shash_desc *desc, const u8 *data,
232 int (*final)(struct shash_desc *desc, u8 *out);
233 int (*finup)(struct shash_desc *desc, const u8 *data,
235 int (*digest)(struct shash_desc *desc, const u8 *data,
237 int (*export)(struct shash_desc *desc, void *out);
238 int (*import)(struct shash_desc *desc, const void *in);
239 int (*setkey)(struct crypto_shash *tfm, const u8 *key,
241 int (*init_tfm)(struct crypto_shash *tfm);
242 void (*exit_tfm)(struct crypto_shash *tfm);
243 int (*clone_tfm)(struct crypto_shash *dst, struct crypto_shash *src);
245 unsigned int descsize;
247 union {