Skip to content

Commit

Permalink
PROD-9297 review changes 6
Browse files Browse the repository at this point in the history
  • Loading branch information
mridul-manohar committed Nov 12, 2024
1 parent 688e075 commit 3b9e988
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mbedtls/src/bignum/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,7 @@ impl Mpi {
}
}

#[cfg(feature = "std")]
pub(super) fn mpi_inner_eq_const_time(x: &mpi, y: &mpi) -> core::prelude::v1::Result<bool, Error> {
pub fn mpi_inner_eq_const_time(x: &mpi, y: &mpi) -> core::prelude::v1::Result<bool, Error> {
match mpi_inner_cmp_const_time(x, y) {
Ok(order) => Ok(order == Ordering::Equal),
Err(e) if e == codes::MpiBadInputData.into() => Ok(false),
Expand Down

0 comments on commit 3b9e988

Please sign in to comment.