Lines Matching defs:shash_alg
207 struct shash_alg { struct
208 int (*init)(struct shash_desc *desc);
209 int (*update)(struct shash_desc *desc, const u8 *data,
211 int (*final)(struct shash_desc *desc, u8 *out);
212 int (*finup)(struct shash_desc *desc, const u8 *data,
214 int (*digest)(struct shash_desc *desc, const u8 *data,
216 int (*export)(struct shash_desc *desc, void *out);
217 int (*import)(struct shash_desc *desc, const void *in);
218 int (*setkey)(struct crypto_shash *tfm, const u8 *key,
220 int (*init_tfm)(struct crypto_shash *tfm);
221 void (*exit_tfm)(struct crypto_shash *tfm);
222 int (*clone_tfm)(struct crypto_shash *dst, struct crypto_shash *src);
224 unsigned int descsize;
226 union {