Austin Schuh | dace2a6 | 2020-08-18 10:56:48 -0700 | [diff] [blame] | 1 | /* |
| 2 | |
| 3 | Copyright 2011, 2018 Free Software Foundation, Inc. |
| 4 | |
| 5 | This file is part of the GNU MP Library test suite. |
| 6 | |
| 7 | The GNU MP Library test suite is free software; you can redistribute it |
| 8 | and/or modify it under the terms of the GNU General Public License as |
| 9 | published by the Free Software Foundation; either version 3 of the License, |
| 10 | or (at your option) any later version. |
| 11 | |
| 12 | The GNU MP Library test suite is distributed in the hope that it will be |
| 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
| 15 | Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License along with |
| 18 | the GNU MP Library test suite. If not, see https://www.gnu.org/licenses/. */ |
| 19 | |
| 20 | #include "../mini-gmp.h" |
| 21 | #include "hex-random.h" |
| 22 | |
| 23 | void mini_urandomb (mpz_t, unsigned long); |
| 24 | void mini_rrandomb (mpz_t, unsigned long); |
| 25 | void mini_rrandomb_export (mpz_t r, void *dst, size_t *countp, |
| 26 | int order, size_t size, int endian, |
| 27 | unsigned long bits); |
| 28 | |
| 29 | void mini_random_op2 (enum hex_random_op, unsigned long, mpz_t, mpz_t); |
| 30 | void mini_random_op3 (enum hex_random_op, unsigned long, mpz_t, mpz_t, mpz_t); |
| 31 | void mini_random_op4 (enum hex_random_op, unsigned long, mpz_t, mpz_t, mpz_t, mpz_t); |
| 32 | void mini_random_scan_op (enum hex_random_op, unsigned long, mpz_t, mp_bitcnt_t *, mp_bitcnt_t *); |
| 33 | void mini_random_bit_op (enum hex_random_op, unsigned long, mpz_t, mp_bitcnt_t *, mpz_t); |
| 34 | void mini_random_lucm_op (unsigned long, mpz_t, mpz_t, mpz_t, |
| 35 | long *, unsigned long *, int *); |