Lines Matching refs:hash_ctx
34 struct hash_ctx *(*create_ctx)(const struct fsverity_hash_alg *alg);
39 struct hash_ctx { struct
41 void (*init)(struct hash_ctx *ctx); argument
42 void (*update)(struct hash_ctx *ctx, const void *data, size_t size); argument
43 void (*final)(struct hash_ctx *ctx, u8 *out); argument
44 void (*free)(struct hash_ctx *ctx); argument
47 void libfsverity_hash_init(struct hash_ctx *ctx);
48 void libfsverity_hash_update(struct hash_ctx *ctx, const void *data,
50 void libfsverity_hash_final(struct hash_ctx *ctx, u8 *digest);
51 void libfsverity_hash_full(struct hash_ctx *ctx, const void *data, size_t size,
53 void libfsverity_free_hash_ctx(struct hash_ctx *ctx);