Love Hörnquist Åstrand
7d163f234b
check that e have sane values
2013-10-30 22:29:19 -07:00
Jeffrey Altman
28051fa99c
Convert mp_find_prime to use mp_prime_is_prime
...
Modify the signature of mp_find_prime() to permit the number of
Miller-Rabin rounds to be specified. In addition, valid responses
now include MP_NO, MP_YES, and MP_VAL which is returned when
mp_prime_is_prime() fails.
Change-Id: I0195129a4dd75875e6dddb6d49a5ceb30afb1a17
2013-10-07 15:18:42 -05:00
Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
db7f598466
return size is a int, don't pretend.
2010-11-27 12:37:49 -08:00
Love Hornquist Astrand
5410614330
free more bn that was allocated
2010-09-28 22:12:20 -07:00
Love Hornquist Astrand
97d939d9af
don't allocate n twice, indent
2010-09-28 22:08:00 -07:00
Love Hornquist Astrand
4f5390877a
plug memory leaks
2010-08-23 22:02:10 -07:00
Love Hornquist Astrand
763a72b73a
enable ltm, add key blinding, add remove tfm
2010-08-15 15:06:58 -07:00
Love Hornquist Astrand
6c0c936595
select add libtommath
2010-07-18 13:04:03 -07:00