When I use RsaPkcs1v15VerSrv(HSE_HASH_ALGO_SHA2_512) to check 64K code, it take 500ms(response is OK), but I would like to use it to do security-boot, it can't be accept now,
does there configuration should i do?
My configuration:
PLL = 80MHz,HW firmware HSE_FW_S32K344_0_2_55_0
The data sheet says that RSA only need 16ms
Hash less 1.6ms
There's no HW support in the device, so it can't be solved by different firmware.
You are right, I change the hash to SHA-256, time is OK, so S32K3 hardware can support "HW accelerated version", or another firmware?
We use standard HSE Firmware.
Hi @zhurui
Here's the reason:
There's only SW support for SHA512, so it can take pretty long time. To speed it up, it would be necessary to use HW accelerated version of the hash.
Regards,
Lukas