Commit ba0141a6 authored by Niels Möller's avatar Niels Möller

(_nettle_sha1_compress): Changed interface. Second

argument is now a pointer to the input data in unaligned,
big-endian form.

Rev: src/nettle/sha.h:1.6
parent 54467c82
......@@ -66,9 +66,9 @@ sha1_digest(struct sha1_ctx *ctx,
uint8_t *digest);
/* Internal compression function. STATE points to 5 uint32_t words,
and DATA points to 16 uint32_t words which are destroyed. */
and DATA points to 64 bytes of input data, possibly unaligned. */
void
_nettle_sha1_compress(uint32_t *state, uint32_t *data);
_nettle_sha1_compress(uint32_t *state, const uint8_t *data);
/* SHA256 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment