Update ecp.h

One fix. Removed trailing whitespaces
This commit is contained in:
Rose Zadik 2018-04-24 13:14:01 +01:00 committed by GitHub
parent d35340550d
commit a7a6155272
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,13 +149,12 @@ mbedtls_ecp_point;
* *
* If \p modp is NULL, reduction modulo \p P is done using a generic algorithm. * If \p modp is NULL, reduction modulo \p P is done using a generic algorithm.
* Otherwise, \p modp must point to a function that takes an \p mbedtls_mpi in the * Otherwise, \p modp must point to a function that takes an \p mbedtls_mpi in the
* range of <code>0..2^(2*pbits)-1</code>, and transforms it in-place to an integer which is * range of <code>0..2^(2*pbits)-1</code>, and transforms it in-place to an integer
* congruent mod \p P to the given MPI, and is close enough to \p pbits in size, * which is congruent mod \p P to the given MPI, and is close enough to \p pbits
* so that it may be efficiently brought in the 0..P-1 range by a few additions * in size, so that it may be efficiently brought in the 0..P-1 range by a few
* or subtractions. Therefore, it is only an approximative modular reduction. * additions or subtractions. Therefore, it is only an approximative modular
* reduction. It must return 0 on success and non-zero on failure.
* *
* \return \c 0 on success
* \return Non-zero error code on failure.
*/ */
typedef struct typedef struct
{ {