Lines Matching defs:shash_alg
198 struct shash_alg { struct
199 int (*init)(struct shash_desc *desc);
200 int (*update)(struct shash_desc *desc, const u8 *data,
202 int (*final)(struct shash_desc *desc, u8 *out);
203 int (*finup)(struct shash_desc *desc, const u8 *data,
205 int (*digest)(struct shash_desc *desc, const u8 *data,
207 int (*export)(struct shash_desc *desc, void *out);
208 int (*import)(struct shash_desc *desc, const void *in);
209 int (*setkey)(struct crypto_shash *tfm, const u8 *key,
211 int (*init_tfm)(struct crypto_shash *tfm);
212 void (*exit_tfm)(struct crypto_shash *tfm);
214 unsigned int descsize;
217 unsigned int digestsize
219 unsigned int statesize;
221 struct crypto_alg base;