diff options
author | Denis Vlasenko | 2009-03-12 15:39:11 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-03-12 15:39:11 +0000 |
commit | 6a5d9faa29e5ccf9467d25388dfaabaf0794e7bd (patch) | |
tree | 105b2d5b765a73028e5f4e474d36ad3dd3af1bcb /libbb/pw_encrypt_sha.c | |
parent | 4abaec50a260f7d1d704ab33d54e0148e4f8626e (diff) | |
download | busybox-6a5d9faa29e5ccf9467d25388dfaabaf0794e7bd.zip busybox-6a5d9faa29e5ccf9467d25388dfaabaf0794e7bd.tar.gz |
shrink sha hashing
function old new delta
sha512_hash 262 281 +19
sha512_end 204 221 +17
sha1_hash 128 113 -15
static.mask 16 - -16
static.bits 16 - -16
sha1_end 160 136 -24
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 2/2 up/down: 36/-71) Total: -35 bytes
Diffstat (limited to 'libbb/pw_encrypt_sha.c')
-rw-r--r-- | libbb/pw_encrypt_sha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/pw_encrypt_sha.c b/libbb/pw_encrypt_sha.c index e71f96f..070e0d4 100644 --- a/libbb/pw_encrypt_sha.c +++ b/libbb/pw_encrypt_sha.c @@ -20,7 +20,7 @@ sha_crypt(/*const*/ char *key_data, /*const*/ char *salt_data) { void (*sha_begin)(void *ctx) FAST_FUNC; void (*sha_hash)(const void *buffer, size_t len, void *ctx) FAST_FUNC; - void* (*sha_end)(void *resbuf, void *ctx) FAST_FUNC; + void (*sha_end)(void *resbuf, void *ctx) FAST_FUNC; int _32or64; char *result, *resptr; |