30#ifndef OCRYPTO_SHA256_H
31#define OCRYPTO_SHA256_H
45#define ocrypto_sha256_BYTES (32)
50 uint32_t h[8], v[8], w[16];
74 ocrypto_sha256_ctx *ctx);
91 ocrypto_sha256_ctx *ctx,
92 const uint8_t *in,
size_t in_len);
111 ocrypto_sha256_ctx *ctx,
126 const uint8_t *in,
size_t in_len);
void ocrypto_sha256_final(ocrypto_sha256_ctx *ctx, uint8_t r[(32)])
void ocrypto_sha256(uint8_t r[(32)], const uint8_t *in, size_t in_len)
#define ocrypto_sha256_BYTES
Definition ocrypto_sha256.h:45
void ocrypto_sha256_update(ocrypto_sha256_ctx *ctx, const uint8_t *in, size_t in_len)
void ocrypto_sha256_init(ocrypto_sha256_ctx *ctx)