diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index d14728ed0..587a5f952 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1543,11 +1543,10 @@ void sha512_begin(sha512_ctx_t *ctx) FAST_FUNC; | |||
1543 | void sha512_hash(sha512_ctx_t *ctx, const void *buffer, size_t len) FAST_FUNC; | 1543 | void sha512_hash(sha512_ctx_t *ctx, const void *buffer, size_t len) FAST_FUNC; |
1544 | void sha512_end(sha512_ctx_t *ctx, void *resbuf) FAST_FUNC; | 1544 | void sha512_end(sha512_ctx_t *ctx, void *resbuf) FAST_FUNC; |
1545 | 1545 | ||
1546 | /* TODO: add global crc32_table pointer and create | 1546 | extern uint32_t *global_crc32_table; |
1547 | * LE and BE functions to calculate crc32 over given bytes. | ||
1548 | * Currently we have about five reimplementations... | ||
1549 | */ | ||
1550 | uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC; | 1547 | uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC; |
1548 | uint32_t crc32_block_endian1(uint32_t val, const void *buf, unsigned len, uint32_t *crc_table) FAST_FUNC; | ||
1549 | uint32_t crc32_block_endian0(uint32_t val, const void *buf, unsigned len, uint32_t *crc_table) FAST_FUNC; | ||
1551 | 1550 | ||
1552 | typedef struct masks_labels_t { | 1551 | typedef struct masks_labels_t { |
1553 | const char *labels; | 1552 | const char *labels; |