HI sir,
Platform:imx6ul
BSP:L4.1.15_ 2.0.0_ GA's patch
Function:RSA 2048 bit key generation in CAAM acceleration
Need support:
I refer to the three patches in the link below,
#Enhance cryptodev and its engine in OpenSSL by CAA... - NXP Community

then RSA acceleration, found that the generated key is invalid. checking the code, I feel like In function cryptodev_bn_miller_rabin( ) ,The return value judgment of the function cryptodev_bn_check_small_factors( ) is not comprehensive and may result in misjudgment. After trying to make the corrections, the key generated is normal, but the speed is slower than that of OpenSSL pure software. How fast can I generate 2048bit keys by using RSA hardware acceleration normally? Is there an optimized version of this patch?