bn_mp_prime_next_prime.c


Log

Author Commit Date CI Message
Steffen Jaeckel f8e9bd27 2019-10-20T15:38:32 Merge pull request #387 from fperrad/20191019_lint some linting (cherry picked from commit 8095b3b61240628f052153d6c37539955632564e)
czurnieden f05165ec 2019-09-03T01:19:48 simplified code
Steffen Jaeckel ad402d43 2019-09-03T00:28:02 no need for that if-else
czurnieden 8bb11ded 2019-09-02T21:05:04 included tests for mp_prime_next_prime
czurnieden eebe1d26 2019-09-02T18:15:33 repair of #333
Daniel Mendler bcec605a 2019-05-22T15:34:49 deprecate mp_prime_is_divisible and ltm_prime_tab * it is an implementation detail used for prime testing * there is upcoming work by @czurnieden regarding a generalised prime sieve * furthermore remove jacobi test (replaced by kronecker)
Francois Perrad d3cbfd58 2019-05-19T11:16:54 remove useless semicolon
Daniel Mendler 4534056c 2019-05-13T00:22:18 use enums mp_err, mp_ord, mp_bool, mp_sign * MP_USE_ENUMS enables enums * Wc++-compat catches some implicit conversions if MP_USE_ENUMS is defined * 100% backwards compatible API/ABI if MP_USE_ENUMS is not defined
Daniel Mendler 290c28c1 2019-05-07T09:49:26 deprecate PRIME_SIZE in favor of MP_PRIME_SIZE
Daniel Mendler e45f75fd 2019-04-13T08:46:57 deprecate DIGIT_BIT, use MP_DIGIT_BIT
Daniel Mendler c4fb2241 2019-04-09T11:08:26 rename macros in tommath_private to use MP_* prefix
Daniel Mendler ff561404 2019-04-07T15:29:11 shorter headers
Daniel Mendler 70a30ae7 2019-04-07T02:29:28 remove footers
Francois Perrad b879bd49 2018-12-31T12:15:44 refactor with new macros IS_*
Steffen Jaeckel 18355de6 2018-12-29T17:56:20 Update file headers [skip ci]
czurnieden 9b448bdc 2018-05-07T23:11:04 exchanged direct call to Miller-Rabin in mp_prime_next_prime with mp_prime_is_prime
czurnieden 9034e712 2018-05-02T21:43:17 Do not use installed headers for building
Steffen Jaeckel f51249b6 2018-02-02T12:07:21 clean-up file headers
Francois Perrad c098e37e 2017-10-19T05:51:17 restore previous cast avoid warning with gcc -mx32 left shift count >= width of type [-Wshift-count-overflow] avoid infinite loop at run time
Francois Perrad bdbed000 2017-10-15T19:57:12 literal suffix
Francois Perrad 40c763a1 2017-10-15T16:11:09 literal suffix in call function
Francois Perrad a20d9b10 2017-08-30T19:13:53 format with astyle (step 4)
Francois Perrad 71266b3e 2017-08-30T19:19:29 format block
Steffen Jaeckel 6f212942 2017-08-28T16:27:26 replace SVN tags
Francois Perrad 99c84acc 2015-11-13T10:28:23 add parentheses for explicit operator precedence
Steffen Jaeckel 4e3f1344 2015-11-12T01:49:07 provide tommath_private.h tommath.h contains declarations for the public part of the library. tommath_private.h contains the functions which are private to ltm and should not be exposed to the public.
Francois Perrad b9abe0a3 2015-10-25T16:34:43 refactor with macros MP_NO/MP_YES
Tom St Denis 079b0f65 2015-10-30T17:55:29 Getting ready for v0.43.0 release Also updated my email address... Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
Alexander Boström 1c802697 2014-01-20T13:48:52 Initialize variable "res" to MP_NO. This avoids an unitialized variable warning in the compiler. This change originally came from Heimdal's bundled copy of libtommath. Signed-off-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Mark Karpeles a53ea341 2010-07-15T13:49:00 Fix for mp_prime_next_prime() bug when checking generated prime
Tom St Denis 333aebc8 2007-04-18T09:58:18 added libtommath-0.41
Tom St Denis f0b91a57 2006-04-06T19:49:59 added libtommath-0.39
Tom St Denis 9294e791 2005-08-01T16:37:28 added libtommath-0.36
Tom St Denis 4b7111d9 2004-12-23T02:40:37 added libtommath-0.33
Tom St Denis e549ccfe 2004-10-29T22:07:18 added libtommath-0.32
Tom St Denis 455bb4db 2003-12-24T18:59:22 added libtommath-0.28
Tom St Denis c1da6aa2 2003-08-05T01:24:44 added libtommath-0.25
Tom St Denis 03cc01b5 2003-07-16T00:26:58 added libtommath-0.24
Tom St Denis eed6765f 2003-07-12T14:31:43 added libtommath-0.23
Tom St Denis fd181cc8 2003-05-17T12:33:54 added libtommath-0.17
Tom St Denis b1756f2f 2003-03-22T15:10:20 added libtommath-0.15