mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-07 15:09:28 +01:00
- Merged fixes 1394 and 1395 from trunk to PolarSSL 1.2 branch
This commit is contained in:
parent
b624520762
commit
4a2bd0da0f
8 changed files with 42 additions and 24 deletions
|
|
@ -1652,8 +1652,6 @@ cleanup:
|
|||
return( ret );
|
||||
}
|
||||
|
||||
#if defined(POLARSSL_GENPRIME)
|
||||
|
||||
/*
|
||||
* Modular inverse: X = A^-1 mod N (HAC 14.61 / 14.64)
|
||||
*/
|
||||
|
|
@ -1749,6 +1747,8 @@ cleanup:
|
|||
return( ret );
|
||||
}
|
||||
|
||||
#if defined(POLARSSL_GENPRIME)
|
||||
|
||||
static const int small_prime[] =
|
||||
{
|
||||
3, 5, 7, 11, 13, 17, 19, 23,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue