Searched defs:random (Results 1 - 6 of 6) sorted by relevance
/osnet-11/usr/src/lib/storage/libg_fc/common/ |
H A D | cmd.c | 76 int random; local 82 * as 'seed' to generate a random number. Then, 85 * the seed so that the random number is always 87 * generate a random number at the same time. 98 /* get a random number. */ 101 random = rand_r(&seed); 104 random = ((random % 500) + 100) * MILLISEC; 105 tval.tv_sec = random / MICROSEC; 106 tval.tv_usec = random [all...] |
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | misc.c | 28 RANDOM - compute a random number between 0 and 2147483647L or 2147483562? 30 int32_t random(void) function
|
/osnet-11/usr/src/lib/libsip/common/ |
H A D | sip_gids.c | 135 uint32_t random; local 147 * Get a 32-bit random # 149 if (sip_get_random((char *)&random, sizeof (random)) != 0) 161 (void) snprintf(guid, SIP_RANDOM_LEN + 1, "%u%u", random, time);
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_crypt.c | 124 unsigned random; local 146 random = seed % 65521; 148 ic = (random&MASK)%(k+1); 149 random >>= 8; 154 ic = (random&MASK) % k;
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | random.c | 50 * random.c: 51 * An improved random number generation package. In addition to the standard 55 * initialized to contain information for random number generation with that 60 * generates far better random numbers than a linear congruential generator. 70 * The random number generation technique is a linear feedback shift register 77 * by pseudo-random carries out of the lower bits. The total period of the 89 * For each of the currently supported random number generators, we have a 91 * many bytes of state info to support this random number generator), a degree 137 * away with just one pointer, but the code for random() is more efficient this 149 * Note that for efficiency of random(), w 360 random(void) function [all...] |
/osnet-11/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 4648 unsigned char *random = NULL; local 4743 random = malloc(bytes); 4744 if (random == NULL) { 4748 if (RAND_bytes(random, bytes) != 1) { 4753 rkey->keydata.val = (uchar_t *)random;
|
Completed in 48 milliseconds