mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-25 18:39:54 +00:00
Remove stale comment, and fix whitespace issue
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
parent
72594633a1
commit
b2c06f4acf
@ -1545,9 +1545,6 @@ int mbedtls_mpi_mod_int( mbedtls_mpi_uint *r, const mbedtls_mpi *A, mbedtls_mpi_
|
||||
return( 0 );
|
||||
}
|
||||
|
||||
/*
|
||||
* Fast Montgomery initialization (thanks to Tom St Denis)
|
||||
*/
|
||||
static void mpi_montg_init( mbedtls_mpi_uint *mm, const mbedtls_mpi *N )
|
||||
{
|
||||
*mm = mbedtls_mpi_montg_init( N->p );
|
||||
|
@ -2008,7 +2008,7 @@ void mbedtls_mpi_montg_init( char * input_N, char * input_mm )
|
||||
* The data file contains the expected result for sizeof(mbedtls_mpi_uint) == 8;
|
||||
* for sizeof(mbedtls_mpi_uint) == 4 it's just the LSW of this.
|
||||
*/
|
||||
TEST_ASSERT( mm.n == 1 || mm.n == 2);
|
||||
TEST_ASSERT( mm.n == 1 || mm.n == 2 );
|
||||
|
||||
/* All of the inputs are +ve (or zero) */
|
||||
TEST_EQUAL( N.s, 1 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user