iMX 1064, SDK, CRC32, Example

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX 1064, SDK, CRC32, Example

278 Views
Keith4DSmith
Contributor V

I am trying to find CRC32 examples for the iMX 1064 RT. I have downloaded SDK 2.6.1 for evkmimxrt 1064 with mbedtls middleware.

I see examples for SHA1, SHA256 in benchmark.c, but not CRC32.

I saw this post, https://community.nxp.com/message/1171114 , that seemed to suggest that there is a function TestCRC32() that is available in the SDK. I can't find this function.

Where do I look for CRC32 examples in the iMX SDK?

Also the TestCRC32() example suggests there is only 1 CRC32 polynomial. I can't find documentation that states whether this is true or not.

Labels (1)
0 Kudos
1 Reply

162 Views
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Keith Smith

If you import the example code of DCP, form the driver examples of the SDK, you will find that function, it was made for tests porpuses, it also tests the sha256 and sha1:

   /* Call DCP APIs */
    TestAesEcb();
    TestAesCbc();
    TestSha1();
    TestSha256();
    TestCrc32();

Hope this helps
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
-------------------------------------------------------------------------------