30#ifndef OCRYPTO_SHA512_H
31#define OCRYPTO_SHA512_H
45#define ocrypto_sha512_BYTES (64)
50 uint64_t h[8], v[8], w[16];
74 ocrypto_sha512_ctx *ctx);
91 ocrypto_sha512_ctx *ctx,
92 const uint8_t *in,
size_t in_len);
111 ocrypto_sha512_ctx *ctx,
126 const uint8_t *in,
size_t in_len);
#define ocrypto_sha512_BYTES
Definition ocrypto_sha512.h:45
void ocrypto_sha512_final(ocrypto_sha512_ctx *ctx, uint8_t r[(64)])
void ocrypto_sha512_update(ocrypto_sha512_ctx *ctx, const uint8_t *in, size_t in_len)
void ocrypto_sha512_init(ocrypto_sha512_ctx *ctx)
void ocrypto_sha512(uint8_t r[(64)], const uint8_t *in, size_t in_len)