diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-07-06 11:12:13 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-07-06 11:12:13 +0200 |
| commit | 0893bc3bac8705b22679ad77f39ee56d3ba728c9 (patch) | |
| tree | 1b39d6db4bc138603258f0af51e8b0b8f6113186 /include/libbb.h | |
| parent | b21cd481db85a193677bc956ab14c6418711d8e4 (diff) | |
| download | busybox-w32-0893bc3bac8705b22679ad77f39ee56d3ba728c9.tar.gz busybox-w32-0893bc3bac8705b22679ad77f39ee56d3ba728c9.tar.bz2 busybox-w32-0893bc3bac8705b22679ad77f39ee56d3ba728c9.zip | |
libbb/yescrypt: code shrink
static.PBKDF2_SHA256 - 189 +189
HMAC_SHA256_Init - 159 +159
HMAC_SHA256_Buf - 58 +58
HMAC_SHA256_Final - 53 +53
i2a64 - 42 +42
yescrypt_r 1221 1215 -6
yescrypt_kdf32_body 1064 1046 -18
i64c 42 - -42
libcperciva_HMAC_SHA256_Final 53 - -53
libcperciva_HMAC_SHA256_Buf 58 - -58
ascii64 65 - -65
libcperciva_HMAC_SHA256_Init 159 - -159
PBKDF2_SHA256 386 - -386
------------------------------------------------------------------------------
(add/remove: 5/6 grow/shrink: 0/2 up/down: 501/-787) Total: -286 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
| -rw-r--r-- | include/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 270a9d593..e88499a80 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -2189,6 +2189,8 @@ char *decode_base64(char *dst, const char **pp_src) FAST_FUNC; | |||
| 2189 | char *decode_base32(char *dst, const char **pp_src) FAST_FUNC; | 2189 | char *decode_base32(char *dst, const char **pp_src) FAST_FUNC; |
| 2190 | void read_base64(FILE *src_stream, FILE *dst_stream, int flags) FAST_FUNC; | 2190 | void read_base64(FILE *src_stream, FILE *dst_stream, int flags) FAST_FUNC; |
| 2191 | 2191 | ||
| 2192 | int FAST_FUNC i2a64(int i); | ||
| 2193 | |||
| 2192 | typedef struct md5_ctx_t { | 2194 | typedef struct md5_ctx_t { |
| 2193 | uint8_t wbuffer[64]; /* always correctly aligned for uint64_t */ | 2195 | uint8_t wbuffer[64]; /* always correctly aligned for uint64_t */ |
| 2194 | void (*process_block)(struct md5_ctx_t*) FAST_FUNC; | 2196 | void (*process_block)(struct md5_ctx_t*) FAST_FUNC; |
