From dcc0d621fc3bd6a38a3520e07d604f4bb4828a1c Mon Sep 17 00:00:00 2001 From: Yuxiang Cao Date: Mon, 12 Feb 2024 11:04:54 -0800 Subject: [PATCH] b --- mbedtls/src/ecp/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbedtls/src/ecp/mod.rs b/mbedtls/src/ecp/mod.rs index e5c332d0f..6b6fffd7c 100644 --- a/mbedtls/src/ecp/mod.rs +++ b/mbedtls/src/ecp/mod.rs @@ -369,8 +369,8 @@ Please use `mul_with_rng` instead." /// /// This function will return an error if: /// - /// * `k` is not a valid private key, determined by mbedtls function [`mbedtls_ecp_check_privkey`] - /// * `self` is not a valid public key, determined by mbedtls function [`mbedtls_ecp_check_pubkey`] + /// * The scalar `k` is not valid as a private key, determined by mbedtls function [`mbedtls_ecp_check_privkey`]. + /// * The point `self` is not valid as a public key, determined by mbedtls function [`mbedtls_ecp_check_pubkey`]. /// * Memory allocation fails. /// * Any other kind of failure occurs during the execution of the underlying [`mbedtls_ecp_mul`] function. ///