The Rollsum class implementation of the original rsync rollsum.
More...
Go to the source code of this file.
The Rollsum class implementation of the original rsync rollsum.
Definition in file rollsum.h.
◆ ROLLSUM_CHAR_OFFSET
#define ROLLSUM_CHAR_OFFSET 31 |
◆ Rollsum
◆ RollsumUpdate()
void RollsumUpdate |
( |
Rollsum * |
sum, |
|
|
const unsigned char * |
buf, |
|
|
size_t |
len |
|
) |
| |
◆ RollsumInit()
static void RollsumInit |
( |
Rollsum * |
sum | ) |
|
|
inlinestatic |
◆ RollsumRotate()
static void RollsumRotate |
( |
Rollsum * |
sum, |
|
|
unsigned char |
out, |
|
|
unsigned char |
in |
|
) |
| |
|
inlinestatic |
◆ RollsumRollin()
static void RollsumRollin |
( |
Rollsum * |
sum, |
|
|
unsigned char |
in |
|
) |
| |
|
inlinestatic |
◆ RollsumRollout()
static void RollsumRollout |
( |
Rollsum * |
sum, |
|
|
unsigned char |
out |
|
) |
| |
|
inlinestatic |
◆ RollsumDigest()
static uint32_t RollsumDigest |
( |
Rollsum * |
sum | ) |
|
|
inlinestatic |