HomeSort by: relevance | last modified time | path
    Searched refs:urandom (Results 1 - 25 of 60) sorted by relevancy

1 2 3

  /src/crypto/external/apache2/openssl/lib/libcrypto/
rnd_keys.c 27 int urandom; local
30 urandom = open("/dev/urandom", O_RDONLY);
32 if (urandom < 0)
35 if (read(urandom, key,
37 close(urandom);
40 close(urandom);
  /src/crypto/external/apache2/openssl/lib/libdes/
ornd_keys.c 27 int urandom; local
30 urandom = open("/dev/urandom", O_RDONLY);
32 if (urandom < 0)
35 if (read(urandom, key,
37 close(urandom);
40 close(urandom);
  /src/crypto/external/bsd/openssl/lib/libcrypto/
rnd_keys.c 27 int urandom; local
30 urandom = open("/dev/urandom", O_RDONLY);
32 if (urandom < 0)
35 if (read(urandom, key,
37 close(urandom);
40 close(urandom);
  /src/crypto/external/bsd/openssl/lib/libdes/
ornd_keys.c 27 int urandom; local
30 urandom = open("/dev/urandom", O_RDONLY);
32 if (urandom < 0)
35 if (read(urandom, key,
37 close(urandom);
40 close(urandom);
  /src/crypto/external/bsd/openssl.old/lib/libcrypto/
rnd_keys.c 27 int urandom; local
30 urandom = open("/dev/urandom", O_RDONLY);
32 if (urandom < 0)
35 if (read(urandom, key,
37 close(urandom);
40 close(urandom);
  /src/crypto/external/bsd/openssl.old/lib/libdes/
ornd_keys.c 27 int urandom; local
30 urandom = open("/dev/urandom", O_RDONLY);
32 if (urandom < 0)
35 if (read(urandom, key,
37 close(urandom);
40 close(urandom);
  /src/external/lgpl3/gmp/dist/tests/mpf/
t-muldiv.c 66 res_prec = urandom () % bprec + 1;
75 if ((urandom () & 1) != 0)
77 size = urandom () % (2 * SIZE) - SIZE;
78 exp = urandom () % SIZE;
83 ulimb = urandom ();
88 if ((urandom () & 1) != 0)
90 size = urandom () % (2 * SIZE) - SIZE;
91 exp = urandom () % SIZE;
96 vlimb = urandom ();
t-add.c 66 size = urandom () % (2 * SIZE) - SIZE;
67 exp = urandom () % SIZE;
70 size = urandom () % (2 * SIZE) - SIZE;
71 exp = urandom () % SIZE;
t-dm2exp.c 66 res_prec = urandom () % (bprec + 100);
74 pow2 = urandom () % 0x10000;
78 un = urandom () % (2 * SIZE) - SIZE;
79 ue = urandom () % SIZE;
reuse.c 122 mpf_random2 (in1, urandom () % SIZE - SIZE/2, urandom () % EXPO);
123 mpf_random2 (in2, urandom () % SIZE - SIZE/2, urandom () % EXPO);
147 in2i = urandom ();
172 in1i = urandom ();
t-sub.c 64 size = urandom () % (2 * SIZE) - SIZE;
65 exp = urandom () % SIZE;
68 size = urandom () % (2 * SIZE) - SIZE;
69 exp = urandom () % SIZE;
72 if ((urandom () & 1) != 0)
74 else if ((urandom () & 1) != 0)
  /src/tests/sbin/ifconfig/
t_random_garbage.sh 31 echo $(od -An -N2 -i /dev/urandom | sed 's/ //')
35 echo $(cat /dev/urandom | head -n 1 | base64)
  /src/external/lgpl3/gmp/dist/tests/mpz/
t-cong_2exp.c 125 d = urandom() % (8*GMP_LIMB_BITS);
127 mpz_mul_2exp (a, a, urandom() % (2*GMP_LIMB_BITS));
128 mpz_mul_2exp (c, c, urandom() % (2*GMP_LIMB_BITS));
145 mpz_combit (a, urandom() % d);
169 d = urandom() % m;
170 ea = urandom() % m;
171 ec = urandom() % m;
172 en = urandom() % m;
t-hamdist.c 90 mpz_mul_2exp (x, x, urandom() % (4 * GMP_NUMB_BITS));
94 mpz_mul_2exp (y, y, urandom() % (4 * GMP_NUMB_BITS));
dive_ui.c 46 d = (unsigned long) urandom();
  /src/external/lgpl3/gmp/dist/tests/mpq/
t-cmp.c 68 size = urandom () % SIZE - SIZE/2;
72 size = urandom () % SIZE - SIZE/2;
77 size = urandom () % SIZE - SIZE/2;
81 size = urandom () % SIZE - SIZE/2;
t-cmp_z.c 119 sizes_test (urandom () % (i + 1) + 1);
120 size = urandom () % SIZE - SIZE/2;
124 size = urandom () % (SIZE/2);
129 size = urandom () % SIZE - SIZE/2;
t-cmp_ui.c 69 size = urandom () % SIZE - SIZE/2;
73 size = urandom () % SIZE - SIZE/2;
t-get_d.c 67 size = urandom () % SIZE - SIZE/2;
71 size = urandom () % SIZE - SIZE/2;
82 size = urandom () % EPSIZE + 1;
84 size = urandom () % EPSIZE + 1;
  /src/external/lgpl3/gmp/dist/tests/
t-sub.c 78 mh = urandom ();
79 ml = urandom ();
80 sh = urandom ();
81 sl = urandom ();
  /src/external/bsd/unbound/dist/contrib/
unbound.init 57 if ! egrep -q '^/[^[:space:]]+[[:space:]]+'${rootdir}'/dev/urandom' /proc/mounts; then
59 [ -e ${rootdir}/dev/urandom ] || touch ${rootdir}/dev/urandom
60 mount --bind -n /dev/urandom ${rootdir}/dev/urandom >/dev/null 2>&1;
82 if egrep -q '^/[^[:space:]]+[[:space:]]+'${rootdir}'/dev/urandom' /proc/mounts; then
83 umount ${rootdir}/dev/urandom >/dev/null 2>&1
unbound.init_fedora 45 mount --bind -n /dev/urandom ${rootdir}/dev/urandom >/dev/null 2>&1;
62 for mountfile in /dev/log /dev/urandom /etc/localtime /etc/resolv.conf /var/run/unbound
  /src/tests/sbin/sysctl/
t_random_garbage.sh 33 echo $(od -An -N2 -i /dev/urandom | sed 's/ //')
37 echo $(cat /dev/urandom | head -n 1 | base64)
  /src/external/bsd/unbound/dist/testdata/ede.tdir/bogus/
make-broken-zone.sh 21 CSK=`ldns-keygen -a ECDSAP256SHA256 -k -r /dev/urandom dnssec-failures.test`
45 CSK=`ldns-keygen -a ECDSAP256SHA256 -k -r /dev/urandom dnskey-failures.test`
56 CSK=`ldns-keygen -a ECDSAP256SHA256 -k -r /dev/urandom nsec-failures.test`
67 CSK=`ldns-keygen -a ECDSAP256SHA256 -k -r /dev/urandom rrsig-failures.test`
  /src/external/lgpl3/gmp/dist/tests/mpn/
t-div.c 171 nbits = urandom () % (maxnbits - GMP_NUMB_BITS) + 2 * GMP_NUMB_BITS;
176 dbits = urandom () % (nbits - 1) % maxdbits + 1;
202 RANDFUNC (q, rands, urandom () % (nbits - dbits + 1));
203 RANDFUNC (r, rands, urandom () % mpz_sizeinbase (d, 2));
231 clearn = urandom () % nn;
236 mpn_sub_1 (np + nn - dn, dnp, dn, urandom ());
239 mpn_add_1 (np + nn - dn, dnp, dn, urandom ());
246 rran0 = urandom ();
247 rran1 = urandom ();
248 qran0 = urandom ();
    [all...]

Completed in 64 milliseconds

1 2 3