Fix PK function name in log. Remove the ECC logging (spams benchmark with `--enable-debug`).

pull/5341/head
David Garske 2022-07-08 09:06:08 -07:00
parent 905f71d80d
commit 3d124c093e
2 changed files with 1 additions and 7 deletions

View File

@ -10375,7 +10375,7 @@ WOLFSSL_ECDSA_SIG *wolfSSL_ECDSA_do_sign(const unsigned char *d, int dlen,
}
}
else {
WOLFSSL_MSG("wc_ecc_sign_hash_ex failed");
WOLFSSL_MSG("wc_ecc_sign_hash failed");
}
}

View File

@ -4308,8 +4308,6 @@ static int wc_ecc_shared_secret_gen_sync(ecc_key* private_key, ecc_point* point,
#endif
#endif
WOLFSSL_ENTER("wc_ecc_shared_secret_gen_sync");
#ifdef HAVE_ECC_CDH
/* if cofactor flag has been set */
if (private_key->flags & WC_ECC_FLAG_COFACTOR) {
@ -4464,8 +4462,6 @@ static int wc_ecc_shared_secret_gen_sync(ecc_key* private_key, ecc_point* point,
#endif
#endif
WOLFSSL_LEAVE("wc_ecc_shared_secret_gen_sync", err);
return err;
}
@ -4650,8 +4646,6 @@ int wc_ecc_shared_secret_ex(ecc_key* private_key, ecc_point* point,
RESTORE_VECTOR_REGISTERS();
WOLFSSL_LEAVE("wc_ecc_shared_secret_ex", err);
/* if async pending then return and skip done cleanup below */
if (err == WC_PENDING_E) {
private_key->state++;