jinliangli commented on PR #16130:
URL: https://github.com/apache/nuttx/pull/16130#issuecomment-2775725443

   > @jinliangli amazing work!!! Question: should we modify the crc32 to be 
compatible with Linux and Python CRC32?
   
   Do you mean the "crc32" api, that should have a initial value 0xFFFFFFFF and 
xor 0xFFFFFFFF with the final value.  
   However, if we changed crc32 api semantics, that will impact all 
applications that call crc32 api.  I can't make the decision.
   
   nuttx crypto dev (ioctl) crc32setkey/crc32update/crc32final, that follows 
crc32 standard, that should be compatible with Linux and Python CRC32. 


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to