AES encryption performance test

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

AES encryption performance test

1,363件の閲覧回数
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,305件の閲覧回数
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,331件の閲覧回数
minjaekang99
Contributor I

Please reply to anyone.

0 件の賞賛
返信