keygen is configure option

This commit is contained in:
NIIBE Yutaka
2012-06-13 09:07:26 +09:00
parent ec0297050a
commit 956e89d10a
10 changed files with 56 additions and 6 deletions

View File

@@ -1570,8 +1570,6 @@ cleanup:
return( ret );
}
#if defined(POLARSSL_GENPRIME)
/*
* Modular inverse: X = A^-1 mod N (HAC 14.61 / 14.64)
*/
@@ -1665,6 +1663,8 @@ cleanup:
return( ret );
}
#if defined(POLARSSL_GENPRIME)
static const int small_prime[] =
{
3, 5, 7, 11, 13, 17, 19, 23,