AES encryption performance test

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

AES encryption performance test

1,298 次查看
minjaekang99
Contributor I

Hello, nxp

I would like to measure the AES cryptographic performance of HSM.
For the three main modes of AES, ECB, CBC, and CTR, I want to encrypt and decrypt data of various lengths to measure the time it takes each, and I wonder if HSE provides a timer or API that can be used to measure the time.
For example, I would like to check if there is a built-in timer function that can measure the time before and after the AES encryption/decryption function call, or if there is an API that supports it.

If HSE itself does not provide timer functionality, I would also appreciate it if you could let me know if there is any performance measurement method recommended by NXP platform (e.g. using specific MCU timer, using debugging tool, etc.).

Thank you.

0 项奖励
回复
2 回复数

1,240 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @minjaekang99 

No, HSE does not have a timer or API which could be used for performance monitoring.

The easiest method is to toggle a pin before and after calling a service and then simply measure the time by an oscilloscope. It's probably the most effective method taking minimal effort.

Regards,

Lukas

0 项奖励
回复

1,266 次查看
minjaekang99
Contributor I

Please reply to anyone.

0 项奖励
回复