Author | Matthew Schinkel - borntechi.com, copyright © 2009, all rights reserved. |
Adapted-by | |
Compiler | >=2.4l |
This library calculates checksums for data error detection.
http://www.faqs.org/rfcs/rfc1071.html
No dependency found
checksum_16_byte_calc(byte in buff[], word in start, word in size) return word
checksum_16_byte_verify(byte in buff[], word in start, word in size) return bit
checksum_16_byte_calc(byte in buff[], word in start, word in size) return word
Computes a 16bit checksum from a byte array using every 2 bytes in the array. Mostly used for IP header checksums.
checksum_16_byte_verify(byte in buff[], word in start, word in size) return bit
Verify 16bit checksum from a byte array using every 2 bytes in the array. Mostly used for IP header checksums.