I have looked at the Kinetis MMCAU application notes and software library. I have taken the software library and created a couple of software drivers in uCLunix that use these functions.
Everything is working correctly.
But, I'm curious to know about performance.. I have no reference for what the actual hardware should be capable of. I'm getting throughtput of about 2.5 MB/sec on a AES12-CBC cipher mode.
Is the MMCAU capable of going faster? Or am I starting to bump up against the throughput of the chip.
Thanks.
-brad walker
Hi
I have some performance comparisons of AES256 on a few Kinetis parts with different SW libraries and HW accelerators in
http://www.utasker.com/docs/uTasker/uTasker_Cryptography.pdf
Maybe there is some info that could be of use (?)
Regards
Mark
(uTasker project developer for Kinetis and i.MX RT)
Hey Hi bradwalker I'm trying to use the API's provided for DES-ECB mode. For encryption i'm trying to use "cau_des_encrypt" API , but upon executing the API the software runs into hardfault. The following is the setup-
:smileyplus: IAR IDE,
:smileyplus: unsigned char Des_Ip_array[8] = "helloboy";
:smileyplus: unsigned char Des_Op_array[8];
:smileyplus: unsigned char Key[8] = "password";
:smileyplus: cau_des_encrypt(Des_Ip_array,Key,Des_Op);
Hi
If you are using HW accelerators they tend to need data aligned on long word boundaries - could that be your issue?
Or, are you sure you have enabled clocks to such parts being used?
Regards
Mark
[uTasker project developer for Kinetis and i.MX RT]
I have created a query on the same, here you can find the build i was referring to.
Hey Hi @Mark Buthcer, thank you for the reply.
I'm working with MKM34Z256VLL7 controller. I have referred to the example code provided by the NXP for the mmCAU module, and i'm trying to replicate the same.
=> I'm trying to use the TDES API provided in the example code. For this i've created a new IAR Build and tried to replicate the way it is done in the example code.
=> The problem here i face is that the moment i try to execute the 'cau_des_encrypt' API it triggers 'Hard Fault'. Can you please help me resolving this. I have been trying to resolve this since a week.
NOTE: I have added the IAR Build.