mirror of
https://github.com/aaru-dps/Aaru.Checksums.Native.git
synced 2025-12-16 19:24:29 +00:00
Use multiple sum algorithm from zlib for Adler and Fletcher checksums.
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
#define AARU_CHECKSUMS_NATIVE_FLETCHER32_H
|
||||
|
||||
#define FLETCHER32_MODULE 0xFFFF
|
||||
/* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(ADLER_MODULE-1) <= 2^32-1 */
|
||||
#define NMAX 5552
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user