Changes between Version 4 and Version 5 of WikiStart


Ignore:
Timestamp:
10/06/14 19:31:55 (10 years ago)
Author:
hfinkel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v4 v5  
    3232}}} 
    3333 
    34 Calculate the 'check bytes' for the provided CRC64. If these bytes are appended to the original buffer, then the new total CRC64 should be -1. The CRC64 of the buffer is provided as is a pointer to the end of the buffer (where the inverted CRC will be written). The end-of-buffer pointer need not be aligned. 
     34Calculate the 'check bytes' for the provided CRC64. If these bytes are appended to the original buffer with a CRC64 value 'cs', then the new total CRC64 of the buffer with the check bytes appended should be -1. The check bytes are written to the location specified by the 'check_bytes' pointer. This pointer need not be aligned. 
    3535{{{ 
    36    void crc64_invert(uint64_t cs, void *buffer); 
     36   void crc64_invert(uint64_t cs, void *check_bytes); 
    3737}}} 
    3838