diff options
Diffstat (limited to 'include/libbb.h')
-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 6be934994..8c7978456 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -2063,6 +2063,13 @@ unsigned sha3_end(sha3_ctx_t *ctx, void *resbuf) FAST_FUNC; | |||
2063 | typedef struct md5_ctx_t md5sha_ctx_t; | 2063 | typedef struct md5_ctx_t md5sha_ctx_t; |
2064 | #define md5sha_hash md5_hash | 2064 | #define md5sha_hash md5_hash |
2065 | #define sha_end sha1_end | 2065 | #define sha_end sha1_end |
2066 | enum { | ||
2067 | MD5_OUTSIZE = 16, | ||
2068 | SHA1_OUTSIZE = 20, | ||
2069 | SHA256_OUTSIZE = 32, | ||
2070 | SHA512_OUTSIZE = 64, | ||
2071 | SHA3_OUTSIZE = 28, | ||
2072 | }; | ||
2066 | 2073 | ||
2067 | extern uint32_t *global_crc32_table; | 2074 | extern uint32_t *global_crc32_table; |
2068 | uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC; | 2075 | uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC; |