Skip to content

Commit

Permalink
b
Browse files Browse the repository at this point in the history
  • Loading branch information
Taowyoo committed Feb 12, 2024
1 parent 19cc8cd commit dcc0d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbedtls/src/ecp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit dcc0d62

Please sign in to comment.