diff options
author | Martin Pool <mbp@samba.org> | 2002-04-08 08:29:04 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-04-08 08:29:04 +0000 |
commit | d37d8d7b693df25558dbb210799263236bbb7d81 (patch) | |
tree | 454f0efd6739b6f0de0fed329421bd65f9950832 /checksum.c | |
parent | f4a0483ab8a3f0195d6dd2b82efdaefcf1e00963 (diff) | |
download | rsync-d37d8d7b693df25558dbb210799263236bbb7d81.tar.gz |
Doc sum_update
Diffstat (limited to 'checksum.c')
-rw-r--r-- | checksum.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -140,7 +140,15 @@ void sum_init(void) sum_update(s,4); } -void sum_update(char *p,int len) +/** + * Feed data into an MD4 accumulator, md. The results may be + * retrieved using sum_end(). md is used for different purposes at + * different points during execution. + * + * @todo Perhaps get rid of md and just pass in the address each time. + * Very slightly clearer and slower. + **/ +void sum_update(char *p, int len) { int i; if (len + sumresidue < CSUM_CHUNK) { |