Hi community,
I have a simple question.
Our customer is looking for a test package for CAAM, especially for keyblob in M6.0.1_2.0.0-ga (or L4.1.15_1.0.0-ga Linux BSP).
I looked for in unit_test, but no test script for CAAM or keyblob was found.
So I think latest BSP (M6.0.1_2.0.0-ga or L4.1.15_1.0.0-ga) don't provide CAAM or keyblob test package.
Is this correct?
Best Regards,
Satoshi Shimoda
Hello,
NXP BSP provides “sm_test.c” example (located at "drivers/crypto/caam/sm_test.c")
just for CAAM testing, where CAAM default (the same for all i.MX6 parts) master key is used.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuri,
Thank you for your prompt reply.
> NXP BSP provides “sm_test.c” example (located at "drivers/crypto/caam/sm_test.c")
just for CAAM testing, where CAAM default (the same for all i.MX6 parts) master key is used.
It's good information.
I checked the file and found the following description.
=====
* - Exportation of keys into secure memory blobs (with display of result)
* - Importation of keys from secure memory blobs (with display of result)
=====
I feel this is the one that our customer want to get.
So I will confirm whether it is enough test for them.
Best Regards,
Satoshi Shimoda
Basically it is enough to apply the mentioned test.
~Yuri.