summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2020-07-20 00:04:33 +0200
committerDenys Vlasenko2020-07-20 00:04:33 +0200
commit9a2d899273e3a8a58bdb4c3834d65d22658e7821 (patch)
treeec0e56db0c7239e079553246982bc6ff307d3490 /include
parent06a407c6283b06307854649e522729a839017401 (diff)
downloadbusybox-9a2d899273e3a8a58bdb4c3834d65d22658e7821.zip
busybox-9a2d899273e3a8a58bdb4c3834d65d22658e7821.tar.gz
ntpd: fix refid reported in server mode, closes 13056
function old new delta resolve_peer_hostname 129 196 +67 recv_and_process_peer_pkt 2475 2476 +1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 68/0) Total: 68 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 6be9349..8c79784 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -2063,6 +2063,13 @@ unsigned sha3_end(sha3_ctx_t *ctx, void *resbuf) FAST_FUNC;
typedef struct md5_ctx_t md5sha_ctx_t;
#define md5sha_hash md5_hash
#define sha_end sha1_end
+enum {
+ MD5_OUTSIZE = 16,
+ SHA1_OUTSIZE = 20,
+ SHA256_OUTSIZE = 32,
+ SHA512_OUTSIZE = 64,
+ SHA3_OUTSIZE = 28,
+};
extern uint32_t *global_crc32_table;
uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC;