44#define ocrypto_sha1_BYTES (20)
50 uint8_t buffer[80 * 4];
71 ocrypto_sha1_ctx *ctx);
88 ocrypto_sha1_ctx *ctx,
89 const uint8_t *in,
size_t in_len);
108 ocrypto_sha1_ctx *ctx,
124 const uint8_t *in,
size_t in_len);
void ocrypto_sha1_final(ocrypto_sha1_ctx *ctx, uint8_t r[(20)])
void ocrypto_sha1_init(ocrypto_sha1_ctx *ctx)
#define ocrypto_sha1_BYTES
Definition ocrypto_sha1.h:44
void ocrypto_sha1_update(ocrypto_sha1_ctx *ctx, const uint8_t *in, size_t in_len)
void ocrypto_sha1(uint8_t r[(20)], const uint8_t *in, size_t in_len)