acassis commented on PR #16130: URL: https://github.com/apache/nuttx/pull/16130#issuecomment-2775746082
> > @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. Yes, SmartFS depends on it. Maybe we just need to create a proper documentation explaining how to use it correctly to get same results as on CRC32 using Normal Polynomial -- 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