Lines Matching defs:shash_alg
225 struct shash_alg { struct
226 int (*init)(struct shash_desc *desc);
227 int (*update)(struct shash_desc *desc, const u8 *data,
229 int (*final)(struct shash_desc *desc, u8 *out);
230 int (*finup)(struct shash_desc *desc, const u8 *data,
232 int (*digest)(struct shash_desc *desc, const u8 *data,
234 int (*export)(struct shash_desc *desc, void *out);
235 int (*import)(struct shash_desc *desc, const void *in);
236 int (*setkey)(struct crypto_shash *tfm, const u8 *key,
238 int (*init_tfm)(struct crypto_shash *tfm);
239 void (*exit_tfm)(struct crypto_shash *tfm);
240 int (*clone_tfm)(struct crypto_shash *dst, struct crypto_shash *src);
242 unsigned int descsize;
244 union {