23#ifndef OCRYPTO_SHA256_H
24#define OCRYPTO_SHA256_H
38#define ocrypto_sha256_BYTES (32)
43 uint32_t h[8], v[8], w[16];
65 ocrypto_sha256_ctx *ctx);
82 ocrypto_sha256_ctx *ctx,
83 const uint8_t *in,
size_t in_len);
102 ocrypto_sha256_ctx *ctx,
117 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:38
void ocrypto_sha256_update(ocrypto_sha256_ctx *ctx, const uint8_t *in, size_t in_len)
void ocrypto_sha256_init(ocrypto_sha256_ctx *ctx)