From e34b8b962f4c4122df23fc4c9b6a6fb46a47b849 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 12 Jan 2025 11:07:11 +0100 Subject: [PATCH] changed why2_seed_random's seed to UL --- include/crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/crypto.h b/include/crypto.h index 06c0ce1..68a7fd2 100644 --- a/include/crypto.h +++ b/include/crypto.h @@ -38,7 +38,7 @@ extern "C" { //FUNCTIONS unsigned long long why2_sum_segment(char *input); //CALCULATE SUM++ FOR input; USED FOR PADDING SEED why2_bool why2_random(void *dest, size_t size); //WRITE CRYPTO-SECURE RANDOM NUMBER INTO dest -void why2_seed_random(unsigned int seed); //SEED why2_seeded_random OUTPUT +void why2_seed_random(unsigned long seed); //SEED why2_seeded_random OUTPUT int why2_seeded_random(); //GENERATE RANDOM NUMBER BASED ON SEED PASSED IN why2_seed_random #ifdef __cplusplus