aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2025-07-06 10:50:46 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2025-07-06 10:50:46 +0200
commit62abd47815f0ee2f6c0ea6549fabe6d5c307ef8d (patch)
tree2566d73aec2a7938db2c1ac4e42f600e8b7ae5fe /include
parent4e5a6b6dbb77f735c4f10b61dd32173ccc3a842a (diff)
downloadbusybox-w32-62abd47815f0ee2f6c0ea6549fabe6d5c307ef8d.tar.gz
busybox-w32-62abd47815f0ee2f6c0ea6549fabe6d5c307ef8d.tar.bz2
busybox-w32-62abd47815f0ee2f6c0ea6549fabe6d5c307ef8d.zip
Move "sha256-hash a memory array and produce the digest" helper to libbb
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 9a0a2f916..270a9d593 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -2233,6 +2233,7 @@ enum {
2233 SHA512_OUTSIZE = 64, 2233 SHA512_OUTSIZE = 64,
2234 SHA3_OUTSIZE = 28, 2234 SHA3_OUTSIZE = 28,
2235}; 2235};
2236void FAST_FUNC sha256_block(const void *in, size_t len, uint8_t hash[32]);
2236 2237
2237extern uint32_t *global_crc32_table; 2238extern uint32_t *global_crc32_table;
2238uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC; 2239uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC;