bn_mp_rand.c


Log

Author Commit Date CI Message
Daniel Mendler 2a2e2716 2019-05-12T11:33:17 move jenkins prng to bn_s_mp_rand_jenkins.c
Daniel Mendler c8cc3657 2019-05-11T09:09:12 mov s_mp_rand_source_platform to separate file
Francois Perrad 493c3c23 2019-05-08T18:19:44 use same paramater name as in prototype
Francois Perrad cc703a84 2019-05-11T12:09:59 add missing parameter name in prototype
Francois Perrad 67756d7b 2019-05-08T18:20:35 explicit operator precedence
Daniel Mendler 0669e92e 2019-05-08T20:18:53 deprecate mp_prime_random_ex in favor of mp_prime_rand We can use the internal mp_rand generator now, since it generates numbers which are safe for crypto purposes.
Daniel Mendler 56fb5e4a 2019-05-08T15:17:37 mp_rand_source(NULL) sets to platform random source
Daniel Mendler 9e28ef9f 2019-05-08T15:14:50 mp_rand: use #else after arcrandom
Daniel Mendler 2a0021a4 2019-05-08T14:57:04 mp_rand: remove superflous mp_clamp
Daniel Mendler 9ddf1e58 2019-05-07T12:26:46 support custom random data source via mp_rand_source * deprecate MP_PRNG_ENABLE_LTM_RNG * custom mp_rand_source is used always if set, which should be more aligned with user expectations * use custom source in tune.c * don't call random number generator once per digit, which is slow
Daniel Mendler ff561404 2019-04-07T15:29:11 shorter headers
Daniel Mendler 70a30ae7 2019-04-07T02:29:28 remove footers
Daniel Mendler 5da4e0ac 2019-04-04T23:06:00 remove unnecessary size_t casts, fix Wconversion/Wsign-conversion issues Wconversion and Wsign-conversion is still not activated by default, since there are many issues in demo.c.
Steffen Jaeckel 1c8c5348 2019-01-15T18:20:24 Merge pull request #147 from czurnieden/moarvm_workarounds workaround for the MoarVM problem with MP_GEN_RAND et al. (cherry picked from commit 11d6e0391421bc996b2cf780f3f4c3fa634001d0)
czurnieden 08eb995d 2019-01-13T20:21:36 implemented Steffen Jaeckels superior suggestion regarding MoarVM's problem
czurnieden aadb1efa 2019-01-13T01:07:42 changes for the Clang compiler
czurnieden b7216e89 2019-01-13T00:51:02 workaround for the MoarVM problem with MP_GEN_RAND et al.
Steffen Jaeckel 18355de6 2018-12-29T17:56:20 Update file headers [skip ci]
Steffen Jaeckel 8b9f98ba 2018-09-23T21:37:58 auto-format by executing `make astyle`
czurnieden 9034e712 2018-05-02T21:43:17 Do not use installed headers for building
Steffen Jaeckel ef6d85a1 2018-04-14T14:33:36 don't use rand() in mp_rand() This fixes #103
Steffen Jaeckel f51249b6 2018-02-02T12:07:21 clean-up file headers
Steffen Jaeckel e156e7ef 2017-10-19T11:41:10 fix clang build for MP_{8,16}BIT
Francois Perrad bdbed000 2017-10-15T19:57:12 literal suffix
Francois Perrad 2344bcea 2017-08-30T20:23:46 format with astyle (step 6)
Francois Perrad 45771cc9 2017-08-30T19:07:12 format with astyle (step 1)
Francois Perrad ef6c71f1 2015-11-29T14:58:46 return type of function on the same line
Francois Perrad d6a9a58f 2017-08-30T20:08:58 remove space after function name and cast
Steffen Jaeckel 6f212942 2017-08-28T16:27:26 replace SVN tags
Steffen Jaeckel 712b3597 2017-04-10T16:34:03 fix mp_rand() for MP_{8,16}BIT
Steffen Jaeckel bc11ea75 2017-04-09T00:32:57 don't include static function in callgraph
Steffen Jaeckel d5b0f1e9 2016-04-10T13:55:42 loop&shift until enough random data has been read
Steffen Jaeckel 7cf5c050 2016-04-10T01:01:29 make sure the entire mp_digit is filled with random data
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.
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>
Carlin 5d1096b0 2014-12-12T01:42:30 use arc4random() instead of rand() on *BSD
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 fdfa2f4f 2005-03-12T11:55:11 added libtommath-0.35
Tom St Denis e549ccfe 2004-10-29T22:07:18 added libtommath-0.32
Tom St Denis c1da6aa2 2003-08-05T01:24:44 added libtommath-0.25
Tom St Denis 82f48582 2003-03-13T02:11:11 added libtommath-0.14
Tom St Denis b66471f7 2003-02-28T16:09:08 added libtommath-0.13
Tom St Denis 57354e11 2003-02-28T16:08:34 added libtommath-0.12