1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Fletcher32: Rephrase note on 16 bit word operations

This commit is contained in:
Koen Zandberg 2023-10-17 10:14:30 +02:00
parent 31df2ba0aa
commit a00702ee65
No known key found for this signature in database
GPG Key ID: BA1718B37D79F51C

View File

@ -43,8 +43,7 @@ typedef struct {
* http://en.wikipedia.org/w/index.php?title=Fletcher%27s_checksum&oldid=661273016#Optimizations
*
* @note the returned sum is never 0
* @note pay attention to alignment issues since this operates on an input
* buffer containing 16 bit words, not bytes.
* @note pay attention to the @p words parameter buffer containing 16 bit words, not bytes.
*
* @param buf input buffer to hash
* @param words length of buffer, in 16 bit words