anchao opened a new pull request, #16143:
URL: https://github.com/apache/nuttx/pull/16143

   ## Summary
   
   libs/libc/crc16: add support of CRC-16/ANSI(aka CRC-16/IBM)
   
   Compatible CRC16 with Linux Kernel:
   https://github.com/torvalds/linux/blob/master/lib/crc16.c
   
   - CRC-16/CCITT, CRC-16/CCITT-TRUE, CRC-16/KERMIT
   poly: 0x8005 (0xA001) initial seed: 0x0000, xor output: 0x0000
   
   : width=16
   : poly=0x8005
   : init=0x0000
   : refin=true
   : refout=true
   : xorout=0x0000
   : check=0xbb3d
   : residue=0x0000
   : name="CRC-16/ARC"
   
   https://reveng.sourceforge.io/crc-catalogue/16.htm#crc.cat.crc-16-arc
   
   Signed-off-by: chao an <[email protected]>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   test crc check with linux kernel


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to