fix(baseN, hex, sha256): added str_size argument

This commit is contained in:
2024-09-16 17:48:20 +03:00
parent 090e765a58
commit 66cd56fe95
6 changed files with 14 additions and 14 deletions

View File

@ -163,7 +163,7 @@ static void sha256_final(SHA256_CTX *ctx, uint8_t *hash)
namespace hash
{
void sha256(const uint8_t *data, uint64_t data_size, uint8_t *hash) noexcept
void sha256(const uint8_t *data, size_t data_size, uint8_t *hash) noexcept
{
SHA256_CTX ctx;
sha256_init(&ctx);