summaryrefslogtreecommitdiff
path: root/randclr.c
Commit message (Collapse)AuthorAgeFilesLines
* Update license to version 3.tege2007-09-181-4/+2
|
* Update FSF's address.tege2006-02-151-2/+2
|
* 2002-09-24 Pedro Gimeno <pggimeno@wanadoo.es>Kevin Ryde2002-09-241-1/+1
| | | | | * gmp-impl.h: Remove type cast in RNG_FNPTR and RNG_STATE, to allow them to be used as lvalues. All callers changed.
* 2002-09-18 Pedro Gimeno <pggimeno@wanadoo.es>Kevin Ryde2002-09-181-23/+2
| | | | * randsd.c, randclr.c: Use function pointer scheme.
* * randclr.c, randraw.c: Use ASSERT(0) for unrecognised algorithms.Kevin Ryde2001-07-101-1/+2
| | | | | | Only gmp_randinit needs to check for an invalid algorithm choice, after that rstate->_mp_alg should be valid and an ASSERT of that suffices.
* Remove K&R function headers.tege2001-01-021-6/+1
|
* Corresponding changes for:tege2000-12-121-6/+6
| | | | | | * gmp-h.in (__gmp_randstate_struct): Prefix field names with _mp_ to keep out of user name space. (__gmp_randata_lc): Likewise.
* * * (__gmp_allocate_func etc): Rename from _mp_allocate_func etc.Kevin Ryde2000-10-211-2/+2
| | | | (__gmp_default_allocate etc): Rename from _mp_default_allocate etc.
* Copyright (C) -> Copyright.Kevin Ryde2000-10-151-1/+1
|
* *** empty log message ***tege2000-07-241-4/+4
|
* Rename most of the random number functions, structs and some of the struct ↵Linus Nordberg2000-04-101-12/+12
| | | | members.
* (gmp_rand_clear): Don't use free().Linus Nordberg2000-04-011-5/+12
| | | | | Disable BBS algorithm. Set `gmp_errno' on error.
* Remove stupid __gmp_rand_init_common*() funcs.Linus Nordberg1999-05-251-10/+4
| | | | | Clean up gmp.h. Minor docu adds.
* The `gmp_rand_state' is now an array with one element rather than a pointer ↵Linus Nordberg1999-05-231-2/+2
| | | | | | to a struct. Add (partial) documentation for random functions.
* Include stdlib.hLinus Nordberg1999-05-201-0/+1
|
* Add _ui variants of random funcs.Linus Nordberg1999-05-201-1/+1
|
* Split urandom.c into several files.Linus Nordberg1999-04-121-0/+52