incread segment_size to 32
This commit is contained in:
parent
c0e9381642
commit
e0274ec6c1
@ -24,11 +24,11 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//MACROS
|
//MACROS
|
||||||
#define WHY2_CHECKSUM_SEGMENT_SIZE 4 //SEGMENT SIZE FOR CALCULATING CHECKSUM
|
#define WHY2_CHECKSUM_SEGMENT_SIZE 32 //SEGMENT SIZE FOR CALCULATING SUM
|
||||||
#define WHY2_CHECKSUM_PRIME 11 //PRIME NUMBER FOR ROTATION
|
#define WHY2_CHECKSUM_PRIME 11 //PRIME NUMBER FOR ROTATION
|
||||||
|
|
||||||
//FUNCTIONS
|
//FUNCTIONS
|
||||||
unsigned long why2_sum_segment(char *input); //TOO LONG TO EXPLAIN, DEAL WITH IT. TREAT IT LIKE A NORMAL CHECKSUM
|
unsigned long why2_sum_segment(char *input); //CALCULATE SUM++ FOR input; USED FOR PADDING SEED
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user