Crypto power consumption using MMCAU vs software lib

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Crypto power consumption using MMCAU vs software lib

2,176 Views
vakulgarg
NXP Employee
NXP Employee

My query is about power consumption of k64f MCU for doing crypto functions (e.g. a given mode on AES-128-CCM/GCM). I have a choice of using the crypto function from a software library such as tinycrypt or mbedtls.

Alternatively, I can implement the same function to use MMCAU accelerator.

Which of these two approaches would result in lower energy consumption of MCU?

From power consumption perspective, do the crypto accelerators such as MMCAU on k64f & LTC on kw41z yield better?

Tags (2)
0 Kudos
1 Reply

1,291 Views
mjbcswitzerland
Specialist V


Hi Vakul

I think that it is also important to know in which mode the processor is used because if periods of calculation represent the predominant overall power consumption the speed of the operations will also play an important role; if the CAU does it very quickly with a higher current consumption it may still be lower power than a slower SW implementation that takes longer to complete even if it's current requirement during the period is lower.

There are times required for such functions in the following document but I have never tested the current requirements during the calculation - maybe I'll add it when I am working on the modules again...

http://www.utasker.com/docs/uTasker/uTasker_Cryptography.pdf

Regards

Mark


Kinetis: http://www.utasker.com/kinetis.html
Kinetis K64:
- http://www.utasker.com/kinetis/FRDM-K64F.html
- http://www.utasker.com/kinetis/TWR-K64F120M.html
- http://www.utasker.com/kinetis/TEENSY_3.5.html
- http://www.utasker.com/kinetis/Hexiwear-K64F.html


Free Open Source solution: https://github.com/uTasker/uTasker-Kinetis
Working project in 15 minutes video: https://youtu.be/K8ScSgpgQ6M

For better, faster, cheaper product developments consider the uTasker developer's version, professional Kinetis support, one-on-one training and complete fast-track project solutions to set you apart from the herd : http://www.utasker.com/support.html