Lines Matching refs:hash_ctx
21 struct hash_ctx base; /* must be first */
26 static void openssl_digest_init(struct hash_ctx *_ctx) in openssl_digest_init()
35 static void openssl_digest_update(struct hash_ctx *_ctx, in openssl_digest_update()
45 static void openssl_digest_final(struct hash_ctx *_ctx, u8 *digest) in openssl_digest_final()
54 static void openssl_digest_ctx_free(struct hash_ctx *_ctx) in openssl_digest_ctx_free()
67 static struct hash_ctx *
105 static struct hash_ctx *create_sha256_ctx(const struct fsverity_hash_alg *alg) in create_sha256_ctx()
110 static struct hash_ctx *create_sha512_ctx(const struct fsverity_hash_alg *alg) in create_sha512_ctx()
117 void libfsverity_hash_init(struct hash_ctx *ctx) in libfsverity_hash_init()
122 void libfsverity_hash_update(struct hash_ctx *ctx, const void *data, in libfsverity_hash_update()
128 void libfsverity_hash_final(struct hash_ctx *ctx, u8 *digest) in libfsverity_hash_final()
134 void libfsverity_hash_full(struct hash_ctx *ctx, const void *data, size_t size, in libfsverity_hash_full()
142 void libfsverity_free_hash_ctx(struct hash_ctx *ctx) in libfsverity_free_hash_ctx()