Skip to content

Commit

Permalink
ecp_curves: Updated ecp_mod_p384_raw documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
  • Loading branch information
minosgalanakis committed Mar 23, 2023
1 parent 68d64a1 commit f9fca53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/ecp_invasive.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ int mbedtls_ecp_mod_p521_raw(mbedtls_mpi_uint *X, size_t X_limbs);
/** Fast quasi-reduction modulo p384 (FIPS 186-3 D.2.4)
*
* \param[in,out] X The address of the MPI to be converted.
* Must have exact limb size of `768 / biL`.
* Must have exact limb size that stores a 768-bit MPI
* (double the bitlength of the modulus).
* Upon return holds the reduced value which is
* in range `0 <= X < 2 * N` (where N is the modulus).
* The bitlength of the reduced value is the same as
Expand Down

0 comments on commit f9fca53

Please sign in to comment.