mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 08:16:33 +01:00
Start working on mod_p224
(Prototype, works only on 32-bit and little-endian 64-bit.)
This commit is contained in:
parent
cc67aee9c8
commit
e783f06f73
3 changed files with 106 additions and 1 deletions
|
|
@ -229,8 +229,9 @@ void ecp_fast_mod( int id, char *N_str )
|
|||
mpi_init( &N ); mpi_init( &R );
|
||||
ecp_group_init( &grp );
|
||||
|
||||
TEST_ASSERT( ecp_use_known_dp( &grp, id ) == 0 );
|
||||
TEST_ASSERT( mpi_read_string( &N, 16, N_str ) == 0 );
|
||||
TEST_ASSERT( ecp_use_known_dp( &grp, id ) == 0 );
|
||||
TEST_ASSERT( grp.modp != NULL );
|
||||
|
||||
/*
|
||||
* Store correct result before we touch N
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue