mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Merge pull request #4190 from SparkiDev/bench_sakke_ecdsa
ECC bench: can't use SAKKE curve with ECDH/ECDSA
This commit is contained in:
@ -1900,6 +1900,14 @@ static void* benchmarks_do(void* args)
|
||||
}
|
||||
|
||||
do {
|
||||
#ifdef WOLFCRYPT_HAVE_SAKKE
|
||||
/* SAKKE is not useable with ECDH/ECDSA. Run separate test. */
|
||||
if (curveId == ECC_SAKKE_1) {
|
||||
curveId++;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (wc_ecc_get_curve_size_from_id(curveId) !=
|
||||
ECC_BAD_ARG_E) {
|
||||
bench_ecc_curve(curveId);
|
||||
|
Reference in New Issue
Block a user