diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-07-06 19:08:57 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-07-06 19:08:57 +0200 |
| commit | 23b5527f5c400a300c56afa36a6a5abaa81adbb7 (patch) | |
| tree | 33daf777a3dd6fcae039f363c5d24e7f0114e0bf /include/libbb.h | |
| parent | f5af8aefeae7fd73167403dd407e9a14aead5948 (diff) | |
| download | busybox-w32-23b5527f5c400a300c56afa36a6a5abaa81adbb7.tar.gz busybox-w32-23b5527f5c400a300c56afa36a6a5abaa81adbb7.tar.bz2 busybox-w32-23b5527f5c400a300c56afa36a6a5abaa81adbb7.zip | |
libbb/yescrypt: use common ACSII char-to-64 conversion code
function old new delta
a2i64 - 46 +46
yescrypt_r 1215 1235 +20
decode64_uint32 167 177 +10
atoi64 25 - -25
ascii_to_bin 53 - -53
static.atoi64_partial 77 - -77
------------------------------------------------------------------------------
(add/remove: 1/3 grow/shrink: 2/0 up/down: 76/-155) Total: -79 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
| -rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index e88499a80..1c23d2f66 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -2190,6 +2190,7 @@ 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); | 2192 | int FAST_FUNC i2a64(int i); |
| 2193 | int FAST_FUNC a2i64(char c); | ||
| 2193 | 2194 | ||
| 2194 | typedef struct md5_ctx_t { | 2195 | typedef struct md5_ctx_t { |
| 2195 | uint8_t wbuffer[64]; /* always correctly aligned for uint64_t */ | 2196 | uint8_t wbuffer[64]; /* always correctly aligned for uint64_t */ |
