librsync
2.3.3
|
The Rollsum class implementation of the original rsync rollsum. More...
Go to the source code of this file.
Data Structures | |
struct | Rollsum |
The Rollsum state type. More... | |
Macros | |
#define | ROLLSUM_CHAR_OFFSET 31 |
Typedefs | |
typedef struct Rollsum | Rollsum |
The Rollsum state type. | |
Functions | |
void | RollsumUpdate (Rollsum *sum, const unsigned char *buf, size_t len) |
static void | RollsumInit (Rollsum *sum) |
static void | RollsumRotate (Rollsum *sum, unsigned char out, unsigned char in) |
static void | RollsumRollin (Rollsum *sum, unsigned char in) |
static void | RollsumRollout (Rollsum *sum, unsigned char out) |
static uint32_t | RollsumDigest (Rollsum *sum) |
void RollsumUpdate | ( | Rollsum * | sum, |
const unsigned char * | buf, | ||
size_t | len | ||
) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |