diff options
author | Ron Yorston <rmy@pobox.com> | 2020-08-23 10:59:38 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-08-23 10:59:38 +0100 |
commit | 5dbbfe22dd28c3b3ecd5763cc8e60406136e87ce (patch) | |
tree | 64c983708f9f2a21a2fbec14a06d85057d886dfd /include | |
parent | 64ecd10486934c12336dac84c67a1939dce0e096 (diff) | |
parent | a949399d178f7b052ada2099c62621736eafce44 (diff) | |
download | busybox-w32-5dbbfe22dd28c3b3ecd5763cc8e60406136e87ce.tar.gz busybox-w32-5dbbfe22dd28c3b3ecd5763cc8e60406136e87ce.tar.bz2 busybox-w32-5dbbfe22dd28c3b3ecd5763cc8e60406136e87ce.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 32f4c4126..c09db66eb 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -2116,6 +2116,13 @@ unsigned sha3_end(sha3_ctx_t *ctx, void *resbuf) FAST_FUNC; | |||
2116 | typedef struct md5_ctx_t md5sha_ctx_t; | 2116 | typedef struct md5_ctx_t md5sha_ctx_t; |
2117 | #define md5sha_hash md5_hash | 2117 | #define md5sha_hash md5_hash |
2118 | #define sha_end sha1_end | 2118 | #define sha_end sha1_end |
2119 | enum { | ||
2120 | MD5_OUTSIZE = 16, | ||
2121 | SHA1_OUTSIZE = 20, | ||
2122 | SHA256_OUTSIZE = 32, | ||
2123 | SHA512_OUTSIZE = 64, | ||
2124 | SHA3_OUTSIZE = 28, | ||
2125 | }; | ||
2119 | 2126 | ||
2120 | extern uint32_t *global_crc32_table; | 2127 | extern uint32_t *global_crc32_table; |
2121 | uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC; | 2128 | uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC; |