aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-04-07 14:07:32 +0200
committerMattias Andrée <maandree@kth.se>2016-04-07 14:07:32 +0200
commit8e65feb3bf14f50760507c3a269c21cfce49d2c1 (patch)
tree1bf5892de68ab704202ccf07541a452fe00e2260
parentAdd rand(3), lrand(3), and random(3) to zrand (diff)
downloadlibzahl-8e65feb3bf14f50760507c3a269c21cfce49d2c1.tar.gz
libzahl-8e65feb3bf14f50760507c3a269c21cfce49d2c1.tar.bz2
libzahl-8e65feb3bf14f50760507c3a269c21cfce49d2c1.tar.xz
zptest: use DEFAULT_RANDOM
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--src/zptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zptest.c b/src/zptest.c
index 005a2bd..29e50b7 100644
--- a/src/zptest.c
+++ b/src/zptest.c
@@ -39,7 +39,7 @@ zptest(z_t witness, z_t n, int t)
zrsh(d, n1, r);
while (t--) {
- zrand(a, FAST_RANDOM, UNIFORM, n4);
+ zrand(a, DEFAULT_RANDOM, UNIFORM, n4);
zadd_unsigned(a, a, libzahl_const_2);
zmodpow(x, a, d, n);