Searched refs:mp_rand (Results 1 - 8 of 8) sorted by relevance

/external/dropbear/libtommath/etc/
H A Dmont.c18 mp_rand(&modulus, x);
27 mp_rand(&p, x/2); /* p = random */
H A Dtune.c67 mp_rand (&a, size);
68 mp_rand (&b, size);
96 mp_rand (&a, size);
/external/dropbear/libtommath/
H A Dbn_mp_rand.c20 mp_rand (mp_int * a, int digits) function
H A Dtommath.h284 int mp_rand(mp_int *a, int digits);
/external/dropbear/libtommath/demo/
H A Dtiming.c111 mp_rand(&a, cnt);
112 mp_rand(&b, cnt);
132 mp_rand(&a, cnt);
133 mp_rand(&b, cnt);
164 mp_rand(&a, cnt);
165 mp_rand(&b, cnt);
185 mp_rand(&a, cnt);
286 mp_rand(&a, cnt);
287 mp_rand(&b, cnt);
H A Ddemo.c77 mp_rand(&a, i);
86 mp_rand(&c, 1 + abs(rand()) % (2*i));
132 mp_rand(&a, n);
151 mp_rand(&a, n);
270 mp_rand(&b, (cnt / DIGIT_BIT + 1) * 2);
289 mp_rand(&a, abs(rand()) % 128 + 1);
311 mp_rand(&b, cnt - 1);
363 mp_rand(&b, 64);
/external/dropbear/libtomcrypt/testprof/
H A Dx86_prof.c642 /*#warning you need an mp_rand!!!*/
654 mp_rand(&a, x);
655 mp_rand(&b, x);
685 mp_rand(&a, x);
/external/dropbear/libtommath/pre_gen/
H A Dmpi.c6324 mp_rand (mp_int * a, int digits) function

Completed in 141 milliseconds