aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2025-07-06 11:12:13 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2025-07-06 11:12:13 +0200
commit0893bc3bac8705b22679ad77f39ee56d3ba728c9 (patch)
tree1b39d6db4bc138603258f0af51e8b0b8f6113186 /include/libbb.h
parentb21cd481db85a193677bc956ab14c6418711d8e4 (diff)
downloadbusybox-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.h2
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;
2189char *decode_base32(char *dst, const char **pp_src) FAST_FUNC; 2189char *decode_base32(char *dst, const char **pp_src) FAST_FUNC;
2190void read_base64(FILE *src_stream, FILE *dst_stream, int flags) FAST_FUNC; 2190void read_base64(FILE *src_stream, FILE *dst_stream, int flags) FAST_FUNC;
2191 2191
2192int FAST_FUNC i2a64(int i);
2193
2192typedef struct md5_ctx_t { 2194typedef 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;