fix(*): size_t -> uint64_t

This commit is contained in:
2024-09-17 14:38:27 +03:00
parent 0c28595bbf
commit 961b5f6b0c
8 changed files with 26 additions and 24 deletions

View File

@ -7,6 +7,6 @@
#define SHA256_DIGEST_LENGTH 32
namespace hash {
void sha256(const uint8_t *data, size_t data_size, uint8_t *hash) noexcept;
void sha256(const uint8_t *data, uint64_t data_size, uint8_t *hash) noexcept;
std::vector<uint8_t> sha256(std::span<const uint8_t> data) noexcept;
}