diff options
author | Niels Möller <nisse@lysator.liu.se> | 2004-02-06 09:56:33 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2004-02-06 09:56:33 +0100 |
commit | 45613b437e22a5ac714df528cb3ef593d9de1dd2 (patch) | |
tree | eb609de52cfe32efc5c9b5b12a44d1fbfd296990 /sha.h | |
parent | 5c7672bd83cd2be827c46a8ac528608d106ef4c5 (diff) | |
download | nettle-45613b437e22a5ac714df528cb3ef593d9de1dd2.tar.gz |
* sha1.c (sha1_transform): Function renamed to sha1_compress, and
moved to...
* sha1-compress.c: ... New file.
Rev: src/nettle/sha.h:1.5
Rev: src/nettle/sha1-compress.c:1.1
Rev: src/nettle/sha1.c:1.9
Diffstat (limited to 'sha.h')
-rw-r--r-- | sha.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -65,6 +65,11 @@ sha1_digest(struct sha1_ctx *ctx, unsigned length, uint8_t *digest); +/* Internal compression function. STATE points to 5 uint32_t words, + and DATA points to 16 uint32_t words which are destroyed. */ +void +_nettle_sha1_compress(uint32_t *state, uint32_t *data); + /* SHA256 */ #define SHA256_DIGEST_SIZE 32 |