Lines Matching refs:checksum
17 // We are using (a modified form of) adler-32 checksum algorithm instead
22 // checksums are done (we could have one checksum but two checksums
32 // checksum = a<<16 + b
70 // Returns string representation of the Adler checksum.
77 // Sets components of the Adler checksum.
85 // Calculates Adler checksum for supplied data.
87 AdlerChecksum *checksum) {
119 checksum->Set(a1, a2, b1, b2);
125 unsigned int size_in_bytes, AdlerChecksum *checksum) {
159 checksum->Set(a1, a2, b1, b2);
166 unsigned int size_in_bytes, AdlerChecksum *checksum) {
221 checksum->Set(a1, a2, b1, b2);
227 unsigned int size_in_bytes, AdlerChecksum *checksum) {
255 // Elements 0 to 3 are used for holding checksum terms a1, a2,
378 // Report checksum values A and B (both right now are two concatenated
393 if (checksum != NULL) {
394 checksum->Set(checksum_arr[0], checksum_arr[1],
400 // from src to dst and checksum was calculated successfully).
404 return AdlerMemcpyWarmC(dstmem64, srcmem64, size_in_bytes, checksum);