summaryrefslogtreecommitdiff
path: root/checksum.c
Commit message (Collapse)AuthorAgeFilesLines
* Change args to file_checksum() to prepare for future changes.Wayne Davison2014-04-191-3/+3
|
* Bump the year to 2014.Wayne Davison2014-01-261-1/+1
|
* Update copyright year.Wayne Davison2013-01-191-1/+1
|
* Avoid type-punned compiler warnings for the byteorder.h macrosWayne Davison2009-10-131-1/+1
| | | | by using inline functions for the 4-char <-> uint32 conversions.
* Update the copyright year.Wayne Davison2009-01-031-1/+1
|
* Improved var-checker and tweaked all the issues it found.Wayne Davison2008-07-211-2/+0
|
* Include 2008 in the copyright years.Wayne Davison2008-03-011-1/+1
|
* Don't include the checksum_seed in the full-file MD5 checksum.Wayne Davison2007-09-021-2/+2
|
* Tweaking the license text a bit more.Wayne Davison2007-07-101-2/+3
|
* Switching to GPL 3.Wayne Davison2007-07-071-3/+2
|
* Put the checksum seed at the end of the checksum2 buffer in md5 mode.Wayne Davison2007-03-181-1/+1
|
* Protocol 30 now uses MD5 checksums instead of MD4.Wayne Davison2007-03-181-67/+105
|
* Further modifications to the copyright comment section.Wayne Davison2007-02-041-4/+3
|
* Make use of the SHORT_SUM_LENGTH define.Wayne Davison2006-12-231-1/+1
|
* Use an explicit cast when a value gets stored in a smaller var.Wayne Davison2006-11-211-5/+6
|
* Added "const" to appropriate char pointers.Wayne Davison2006-11-191-1/+1
|
* Updated the FSF's address to an even newer one.Wayne Davison2006-04-251-3/+3
|
* - Updated the address for the FSF in the opening comment.Wayne Davison2006-04-251-17/+20
| | | | | | | - Standardized the format of the opening comment, including adding a brief description of what's in the file for those that lacked it. - Added some missing copyright lines. - Some minor whitespace tweaks (in a few of the files).
* - Use an int32 for each checksum length variable.Wayne Davison2005-01-011-25/+23
| | | | - Simplified some of the code, removing a useless memcpy().
* Use MAX_MAP_SIZE in the args to map_file().Wayne Davison2004-08-031-1/+1
|
* Call map_file() with its new args, including a suggested windowWayne Davison2004-08-031-1/+1
| | | | size.
* Got rid of trailing whitespace.Wayne Davison2004-08-021-15/+15
|
* Call map_file() with its new block_size arg.Wayne Davison2004-07-201-2/+3
|
* Avoid some useless memory copying.Wayne Davison2004-07-161-13/+6
|
* Changed sum_init() to take a seed value as an arg instead of alwaysWayne Davison2004-05-211-4/+4
| | | | | using checksum_init. This fixes an authentication problem in server mode (as pointed out by Craig Barratt).
* Made checksum_seed an extern.Wayne Davison2004-02-091-1/+1
|
* Merged in the security fixes from 2.5.7.Wayne Davison2003-12-061-1/+1
|
* Changed "remote_version" to "protocol_version".Wayne Davison2003-09-091-4/+4
|
* Another MD4 fix for protocol 27 (from Christoph Bartelmus).Wayne Davison2003-05-121-1/+1
|
* - for protocol version >= 27, mdfour_tail() is called when the block sizeJ.W. Schultz2003-04-101-1/+15
| | | | | | | | | | (including checksum_seed) is a multiple of 64. Previously it was not called, giving the wrong MD4 checksum. - for protocol version >= 27, a 64 bit bit counter is used in mdfour.c as required by the RFC. Previously only a 32 bit bit counter was used, causing incorrect MD4 file checksums for file sizes >= 512MB - 4. -- Craig Barratt
* Removing vestigial support for protocol versions prior to 15.J.W. Schultz2003-03-311-10/+0
|
* Doc sum_updateMartin Pool2002-04-081-1/+9
|
* use do_open() instead of open() in several places to help the WinXX portAndrew Tridgell1999-10-251-1/+1
| | | | and O_BINARY
* fixed a bug that made us use only 16 bits of the file checksum whenAndrew Tridgell1999-06-261-1/+1
| | | | comparing checksums for the --checksum (-c) option.
* kfixed char* castsAndrew Tridgell1998-10-291-10/+10
|
* changes to get rsync working on a CRAY J90. This machine doesn't haveAndrew Tridgell1998-10-291-109/+94
| | | | | a 4 byte integer type (short is 8 bytes). I needed to use a new md4 implementation (I used the portable one I wrote for Samba).
* for consistency use memcpy/memset everywhere instead of bcopy/bzeroAndrew Tridgell1998-06-181-8/+8
|
* Solaris 2.6 doesn't support "signed char". What a broken system!Andrew Tridgell1998-05-061-1/+1
|
* added support for 64 bit file offsets under Solaris 2.6. Not testedAndrew Tridgell1998-05-061-3/+3
| | | | yet.
* finished 64 bit file offset support. Hopefully rsync can now transferAndrew Tridgell1998-03-231-2/+2
| | | | | | | | | | | | | files up to 2^64 bytes in size. Now I just need to find enough disk space to test this :-) The 64 bit offset code only works if off_t is 64 bits (or bigger!) on both ends of the link. If one end tries to send a file greater than 2^31 in size and the other end doesn't support it then rsync will abort. This commit also cleans up some static declarations so they are in a unitinitialised segment to save load time.
* started to add some 64 bit file offset support - not complete yetAndrew Tridgell1998-03-231-2/+2
|
* damn, I had implicitly assumed signed characters when writing theAndrew Tridgell1997-12-151-1/+2
| | | | | | | | | | rolling checksum code. The result is that rsync worked much more slowly when going between two machines where one of the machines uses signed and the other unsigned chars. The rolling checksum rarely matched so effectively a copy was done in many cases. The data always came through correctly so no file corruption occurred but it's pretty pointless using rsync if it doesn't speed things up! I've now made the sign of the chars explicit
* added CHAR_OFFSETAndrew Tridgell1996-07-041-3/+4
|
* *** empty log message ***Andrew Tridgell1996-07-041-4/+4
|
* *** empty log message ***Andrew Tridgell1996-07-031-0/+6
|
* save some more bytes by making the checksum smallerAndrew Tridgell1996-07-021-19/+5
|
* added seed to file sumAndrew Tridgell1996-07-021-1/+4
|
* added resend logicAndrew Tridgell1996-07-021-3/+53
| | | | added checksum on all files
* *** empty log message ***Andrew Tridgell1996-07-011-2/+2
|
* get byte order of checksum seed rightAndrew Tridgell1996-06-301-3/+3
|