Lines Matching refs:sha512_ctx
132 struct sha512_ctx { struct
163 void sha512_init(struct sha512_ctx *ctx);
198 void sha512_update(struct sha512_ctx *ctx, const void *p, size_t size);
208 void sha512_done(struct sha512_ctx *sha512, struct sha512 *res);
226 static void invalidate_sha512(struct sha512_ctx *ctx) in invalidate_sha512()
231 static void check_sha512(struct sha512_ctx *ctx UNUSED) in check_sha512()
380 static void add(struct sha512_ctx *ctx, const void *p, size_t len) in add()
415 void sha512_init(struct sha512_ctx *ctx) in sha512_init()
417 struct sha512_ctx init = SHA512_INIT; in sha512_init()
421 void sha512_update(struct sha512_ctx *ctx, const void *p, size_t size) in sha512_update()
427 void sha512_done(struct sha512_ctx *ctx, struct sha512 *res) in sha512_done()
446 struct sha512_ctx ctx; in sha512()