diff --git a/include/crypto.h b/include/crypto.h index 7ba5e8a..3155400 100644 --- a/include/crypto.h +++ b/include/crypto.h @@ -26,6 +26,8 @@ extern "C" { //MACROS #define WHY2_CHECKSUM_SEGMENT_SIZE 32 //SEGMENT SIZE FOR CALCULATING SUM #define WHY2_CHECKSUM_PRIME 11 //PRIME NUMBER FOR ROTATION +#define WHY2_SUM_BASE_PRIME 31 //PRIME FOR SUM BASE +#define WHY2_SUM_MOD_PRIME 4294967295UL //PRIME FOR SUM MODULUS //FUNCTIONS unsigned long why2_sum_segment(char *input); //CALCULATE SUM++ FOR input; USED FOR PADDING SEED