File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8439,9 +8439,16 @@ void bench_rsaKeyGen(int useDeviceID)
84398439#elif RSA_MAX_SIZE >= 4096
84408440 #if (!defined(WOLFSSL_SP_MATH) || defined(WOLFSSL_SP_MATH_ALL)) && \
84418441 (RSA_MIN_SIZE <= 1024)
8442- static const word32 keySizes[3 ] = {1024, 2048, 4096 };
8442+ static const word32 keySizes[4 ] = {1024, 2048, 3072 , 4096 };
84438443 #else
8444- static const word32 keySizes[2] = {2048, 4096};
8444+ static const word32 keySizes[3] = {2048, 3072, 4096};
8445+ #endif
8446+ #elif RSA_MAX_SIZE >= 3072
8447+ #if (!defined(WOLFSSL_SP_MATH) || defined(WOLFSSL_SP_MATH_ALL)) && \
8448+ (RSA_MIN_SIZE <= 1024)
8449+ static const word32 keySizes[3] = {1024, 2048, 3072 };
8450+ #else
8451+ static const word32 keySizes[2] = {2048, 3072 };
84458452 #endif
84468453#elif RSA_MAX_SIZE >= 2048
84478454 #if (!defined(WOLFSSL_SP_MATH) || defined(WOLFSSL_SP_MATH_ALL)) && \
You can’t perform that action at this time.
0 commit comments