/freebsd-10.0-release/lib/libc/stdlib/ |
H A D | Makefile.inc | 12 random.c reallocf.c realpath.c remque.c strfmon.c strtoimax.c \ 27 radixsort.3 rand.3 random.3 reallocf.3 \ 42 MLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \ 43 random.3 srandomdev.3
|
/freebsd-10.0-release/release/picobsd/tinyware/passwd/ |
H A D | local_passwd.c | 164 /* grab a random printable character that isn't a colon */ 172 to64(&salt[5], random(), 4); 185 to64(&salt[0], random(), 3); 188 to64(&salt[8], random(), 5); 189 to64(&salt[13], random(), 5); 190 to64(&salt[17], random(), 5); 191 to64(&salt[22], random(), 5);
|
/freebsd-10.0-release/games/random/ |
H A D | random.c | 41 static const char sccsid[] = "@(#)random.c 8.5 (Berkeley) 4/5/94"; 131 errx(1, "denominator must be <= 256 for random exit."); 159 /* Compute a random exit status between 0 and denom - 1. */ 161 return (int)(denom * random() / RANDOM_MAX_PLUS1); 165 * We find a random number between 0 and denom - 1 and, if it's 169 selected = (int)(denom * random() / RANDOM_MAX_PLUS1) == 0; 179 selected = (int)(denom * random() / 192 fprintf(stderr, "usage: random [-elrUuw] [-f filename] [denominator]\n");
|
/freebsd-10.0-release/sys/dev/random/ |
H A D | harvest.c | 38 #include <sys/random.h> 46 #include <dev/random/randomdev_soft.h> 113 log(LOG_WARNING, "random device not loaded; using insecure entropy\n"); 119 /* Fill buf[] with random(9) output */ 121 randval = random();
|
H A D | random_adaptors.h | 38 const char *name; /* name of random adaptor */ 50 * random module (SI_SUB_DRIVERS/SI_ORDER_MIDDLE) 61 MODULE_DEPEND(name, random, 1, 1, 1); 66 /* kern.random sysctls */
|
H A D | live_entropy_sources.c | 36 #include <sys/random.h> 45 #include <dev/random/randomdev.h> 46 #include <dev/random/randomdev_soft.h> 47 #include <dev/random/random_adaptors.h> 48 #include <dev/random/random_harvestq.h>
|
H A D | random_adaptors.c | 39 #include <sys/random.h> 45 #include <dev/random/randomdev.h> 46 #include <dev/random/randomdev_soft.h> 47 #include <dev/random/random_adaptors.h> 98 * Walk a list of registered random(4) adaptors and pick the last non-selected 113 if (TUNABLE_STR_FETCH("kern.random.active_adaptor", rngs, sizeof(rngs))) { 120 printf("%s random adaptor is not available," 145 printf("Falling back to <%s> random adaptor\n", 234 SYSCTL_NODE(_kern, OID_AUTO, random, CTLFLAG_RW, 0, "Random Number Generator");
|
H A D | random_harvestq.c | 44 #include <sys/random.h> 52 #include <dev/random/randomdev.h> 53 #include <dev/random/randomdev_soft.h> 54 #include <dev/random/random_adaptors.h> 55 #include <dev/random/random_harvestq.h> 56 #include <dev/random/live_entropy_sources.h> 57 #include <dev/random/rwfile.h> 114 printf("random: read %zu bytes from preloaded cache\n", size); 118 printf("random: no preloaded entropy cache available\n"); 132 printf("random [all...] |
H A D | randomdev_soft.c | 52 #include <sys/random.h> 61 #include <dev/random/randomdev.h> 62 #include <dev/random/randomdev_soft.h> 63 #include <dev/random/random_harvestq.h> 64 #include <dev/random/random_adaptors.h> 66 #include <dev/random/yarrow.h> 69 #include <dev/random/fortuna.h> 109 TUNABLE_INT("kern.random.sys.seeded", &random_context.seeded); 207 printf("random: unblocking device.\n"); 243 printf("random [all...] |
/freebsd-10.0-release/tools/regression/acct/ |
H A D | pack.c | 84 tv.tv_sec = random(); 85 tv.tv_usec = (random() % 1000000); 89 l = random();
|
/freebsd-10.0-release/contrib/bzip2/ |
H A D | spewG.c | 44 p = 25+random()%50;
|
/freebsd-10.0-release/tools/regression/geom_gate/ |
H A D | test-1.sh | 12 dd if=/dev/random of=$work bs=1m count=1 >/dev/null 2>&1 13 dd if=/dev/random of=$src bs=1m count=1 >/dev/null 2>&1
|
H A D | test-1.t | 12 dd if=/dev/random of=$work bs=1m count=1 >/dev/null 2>&1 13 dd if=/dev/random of=$src bs=1m count=1 >/dev/null 2>&1
|
H A D | test-3.sh | 11 dd if=/dev/random of=$work bs=1m count=1 >/dev/null 2>&1 12 dd if=/dev/random of=$src bs=1m count=1 >/dev/null 2>&1
|
H A D | test-3.t | 11 dd if=/dev/random of=$work bs=1m count=1 >/dev/null 2>&1 12 dd if=/dev/random of=$src bs=1m count=1 >/dev/null 2>&1
|
/freebsd-10.0-release/contrib/apr/include/ |
H A D | apr_random.h | 93 * Generate cryptographically insecure random bytes. 95 * @param random Buffer to fill with random bytes 99 void *random, 103 * Generate cryptographically secure random bytes. 105 * @param random Buffer to fill with random bytes 109 void *random,
|
/freebsd-10.0-release/contrib/libstdc++/include/precompiled/ |
H A D | stdtr1c++.h | 54 #include <tr1/random>
|
/freebsd-10.0-release/lib/libc/db/test/hash.tests/ |
H A D | driver2.c | 93 key.size = 128 + (random()&1023); 94 content.size = 128 + (random()&1023);
|
/freebsd-10.0-release/sys/mips/conf/ |
H A D | DIR-825 | 22 nodevice random
|
/freebsd-10.0-release/tools/regression/geom_eli/ |
H A D | delkey.t | 15 dd if=/dev/random of=${keyfile1} bs=512 count=16 >/dev/null 2>&1 16 dd if=/dev/random of=${keyfile2} bs=512 count=16 >/dev/null 2>&1 17 dd if=/dev/random of=${keyfile3} bs=512 count=16 >/dev/null 2>&1 18 dd if=/dev/random of=${keyfile4} bs=512 count=16 >/dev/null 2>&1
|
H A D | init-i-P.t | 12 dd if=/dev/random of=${keyfile} bs=512 count=16 >/dev/null 2>&1
|
H A D | setkey.t | 17 dd if=/dev/random of=${rnd} bs=512 count=${sectors} >/dev/null 2>&1 19 dd if=/dev/random of=${keyfile1} bs=512 count=16 >/dev/null 2>&1 20 dd if=/dev/random of=${keyfile2} bs=512 count=16 >/dev/null 2>&1 21 dd if=/dev/random of=${keyfile3} bs=512 count=16 >/dev/null 2>&1 22 dd if=/dev/random of=${keyfile4} bs=512 count=16 >/dev/null 2>&1 23 dd if=/dev/random of=${keyfile5} bs=512 count=16 >/dev/null 2>&1
|
/freebsd-10.0-release/tools/test/malloc/ |
H A D | main.c | 35 j = random() % NBUCKETS; 36 k = random() % NSIZE;
|
/freebsd-10.0-release/contrib/apr-util/include/private/ |
H A D | apr_dbd_internal.h | 130 * @param random - 1 to support random access to results (seek any row); 136 const char *statement, int random); 158 * @param rownum - row number, or -1 for "next row". Ignored if random 229 * @param random - Whether to support random-access to results 235 apr_dbd_prepared_t *statement, int random, va_list args); 255 * @param random - Whether to support random-access to results 261 int random, cons [all...] |
/freebsd-10.0-release/sys/dev/syscons/dragon/ |
H A D | dragon_saver.c | 39 #include <sys/random.h> 142 dragon_pal[3+tmp] = (u_char)random(); 146 mul = ((random() & 7) + 1) * (SCRW / 320); 147 org_x = random() % SCRW; org_y = random() % SCRH;
|