HomeSort by relevance Sort by last modified time
    Searched refs:rnd (Results 1 - 25 of 26) sorted by null

1 2

  /onnv/onnv-gate/usr/src/lib/libc/amd64/fp/
fpgetround.c 45 return ((fp_rnd)cw.rnd);
fpsetround.c 50 oldrnd = (fp_rnd)cw.rnd;
51 cw.rnd = newrnd;
  /onnv/onnv-gate/usr/src/lib/libc/i386/fp/
fpgetround.c 45 return ((fp_rnd)cw.rnd);
fpsetround.c 62 oldrnd = (fp_rnd)cw.rnd;
63 cw.rnd = newrnd;
  /onnv/onnv-gate/usr/src/common/openssl/crypto/bn/
bn_depr.c 73 BIGNUM *rnd=NULL; local
80 if ((rnd=BN_new()) == NULL) goto err;
83 rnd=ret;
84 if(!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb))
90 if (!found && (ret == NULL) && (rnd != NULL)) BN_free(rnd);
91 return(found ? rnd : NULL);
bn_rand.c 118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
126 BN_zero(rnd);
199 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
207 bn_check_top(rnd);
211 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
213 return bnrand(0, rnd, bits, top, bottom);
216 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom)
218 return bnrand(1, rnd, bits, top, bottom);
222 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom)
224 return bnrand(2, rnd, bits, top, bottom)
    [all...]
bn_prime.c 131 static int probable_prime(BIGNUM *rnd, int bits);
132 static int probable_prime_dh(BIGNUM *rnd, int bits,
134 static int probable_prime_dh_safe(BIGNUM *rnd, int bits,
376 static int probable_prime(BIGNUM *rnd, int bits)
383 if (!BN_rand(rnd,bits,1,1)) return(0);
386 mods[i]=BN_mod_word(rnd,(BN_ULONG)primes[i]);
390 /* check that rnd is not a prime and also
391 * that gcd(rnd-1,primes) == 1 (except for 2) */
403 if (!BN_add_word(rnd,delta)) return(0);
404 bn_check_top(rnd);
    [all...]
bn.h 394 int BN_rand(BIGNUM *rnd, int bits, int top,int bottom);
395 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top,int bottom);
396 int BN_rand_range(BIGNUM *rnd, BIGNUM *range);
397 int BN_pseudo_rand_range(BIGNUM *rnd, BIGNUM *range);
749 int BN_bntest_rand(BIGNUM *rnd, int bits, int top,int bottom);
  /onnv/onnv-gate/usr/src/uts/common/ipp/meters/
tswtcl.c 72 uint32_t min = 0, additive, rnd; local
145 rnd = min + (additive % (tswtcl_data->avg_rate - min + 1));
148 if (aminusc >= rnd) {
170 rnd = min + (additive % (tswtcl_data->avg_rate - min + 1));
174 if (aminusp >= rnd) {
176 } else if ((cfg_parms->pminusc + aminusp) >= rnd) {
  /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
combine_keys.c 40 * rnd = n-fold(R1 | R2) [ Note: output size of nfold must be appropriately
42 * tkey = random-to-key(rnd)
83 unsigned char *r1, *r2, *combined, *rnd, *output; local
126 if ((rnd = (unsigned char *) malloc(keybytes)) == NULL) {
135 free(rnd);
142 free(rnd);
194 krb5_nfold((keybytes * 2) * 8, combined, keybytes * 8, rnd);
199 printf("rnd =");
201 printf(" %02x", (unsigned char) rnd[i]);
212 randbits.data = (char *) rnd;
    [all...]
  /onnv/onnv-gate/usr/src/common/openssl/crypto/rand/
rand_unix.c 144 u_int32_t rnd = 0, i; local
149 rnd = arc4random();
150 buf[i] = rnd;
151 rnd >>= 8;
  /onnv/onnv-gate/usr/src/head/
ieeefp.h 296 rnd: 2, /* rounding control field */ member in struct:_cw87
317 rnd: 2, /* rounding control */ member in struct:_mxcsr
  /onnv/onnv-gate/usr/src/lib/crypt_modules/bsdbf/
arc4random.c 95 uint rnd[(128 - sizeof(struct timeval)) / sizeof(uint)]; member in struct:__anon2781
101 (void) read(fd, rdat.rnd, sizeof(rdat.rnd));
  /onnv/onnv-gate/usr/src/uts/common/io/usb/clients/usbser/
usbser_rseq.c 125 int rnd, rval, i; local
132 rnd = random() % num;
133 rval = func(rseq, num, arg, flags, sarg1, rnd);
  /onnv/onnv-gate/usr/src/cmd/ssh/ssh-keysign/
ssh-keysign.c 160 u_int32_t rnd[256]; local
202 rnd[i] = arc4random();
203 RAND_seed(rnd, sizeof(rnd));
  /onnv/onnv-gate/usr/src/cmd/ssh/libssh/common/
packet.c 496 u_int32_t rnd = 0; local
522 rnd = arc4random();
523 cp[7 - i] = rnd & 0xff;
524 rnd >>= 8;
731 u_int32_t rnd = 0; local
791 rnd = arc4random();
792 cp[i] = rnd & 0xff;
793 rnd >>= 8;
1697 u_int32_t rnd = 0; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/os/
mutex.c 311 ulong_t rnd; /* random factor */ local
320 rnd = (((long)curthread >> PTR24_LSB) ^ (long)MUTEX_GETTICK());
321 cur_backoff = (uint_t)(rnd % (backoff - mutex_backoff_base + 1)) +
  /onnv/onnv-gate/usr/src/uts/sparc/sys/fpu/
fpu_simulator.h 93 unsigned int rnd : 2; /* rounding direction */ member in struct:__anon25
123 #define rnd fsr.rnd macro
  /onnv/onnv-gate/usr/src/common/openssl/apps/
openssl.cnf 9 RANDFILE = $ENV::HOME/.rnd
  /onnv/onnv-gate/usr/src/cmd/ssh/sshd/
sshd.c 476 u_int32_t rnd = 0; local
489 rnd = arc4random();
490 sensitive_data.ssh1_cookie[i] = rnd & 0xff;
491 rnd >>= 8;
1716 u_int32_t rnd = 0; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/isns/isnsd/
esi.c 387 double rnd; local
400 rnd = (rand() + 1) / (double)(RAND_MAX + 1);
401 t = (uint32_t)(intval * rnd);
  /onnv/onnv-gate/usr/src/cmd/ssh/ssh/
clientloop.c 300 u_int32_t rnd = 0; local
307 rnd = arc4random();
309 rnd & 0xff);
310 rnd >>= 8;
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/proc/
prcontrol.c 106 size_t rnd; local
202 rnd = size & (sizeof (long) - 1);
204 if (rnd != 0)
205 size += sizeof (long) - rnd;
527 size_t rnd; local
619 rnd = size & (sizeof (int32_t) - 1);
621 if (rnd != 0)
622 size += sizeof (int32_t) - rnd;
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/inet/ip/
ip_ndp.c 4883 clock_t rnd, frac; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/sparc/fpu/
fpu_simulator.c 190 pfpsd->fp_direction = GSR_IM(gsr) ? GSR_IRND(gsr) : fsr.rnd;

Completed in 1260 milliseconds

1 2