Home
last modified time | relevance | path

Searched refs:rnd (Results 1 – 25 of 107) sorted by relevance

12345

/freebsd/contrib/file/magic/Magdir/
H A Dringdove11 # pcb-rnd
12 0 regex/128l ha:pcb-rnd-board-v[0-9]+[\ \t\r\n]*[{] pcb-rnd board file (lihata)
14 0 regex/128l ha:pcb-rnd-buffer-v[0-9]+[\ \t\r\n]*[{] pcb-rnd paste buffer content (lihata)
15 0 regex/128l li:pcb-rnd-conf-v[0-9]+[\ \t\r\n]*[{] pcb-rnd configuration (lihata)
16 0 regex/128l ha:pcb-rnd-drc-query-v[0-9]+[\ \t\r\n]*[{] pcb-rnd drc query string (lihata)
17 0 regex/128l li:pcb-rnd-font-v[0-9]+[\ \t\r\n]*[{] pcb-rnd vector font (lihata)
18 0 regex/128l ha:pcb-rnd-log-v[0-9]+[\ \t\r\n]*[{] pcb-rnd message log dump (lihata)
19 0 regex/128l ha:pcb-rnd-padstack-v[0-9]+[\ \t\r\n]*[{] pcb-rnd padstack (lihata)
20 0 regex/128l li:pcb-rnd-view-list-v[0-9]+[\ \t\r\n]*[{] pcb-rnd view list (lihata)
24 # sch-rnd (cschem data model)
[all …]
/freebsd/tests/sys/acl/
H A Daclfuzzer.sh43 rnd=`jot -r 1`
44 rnd=`expr $rnd % $max`
46 echo $rnd
51 rnd=`rnd_from_0_to 3`
52 case $rnd in
62 rnd=`rnd_from_0_to 4`
63 case $rnd in
78 case $rnd in
104 case $rnd in
113 case $rnd in
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fpsetround.c64 } rnd[] = { variable
93 for (size_t i = 0; i < __arraycount(rnd); i++) in getname()
94 if (rnd[i].rm == r) in getname()
95 return rnd[i].n; in getname()
113 fprintf(stderr, "%4.4s %-5.5s %6d %8d\n", rnd[r].n, in test()
135 for (size_t i = 0; i < __arraycount(rnd); i++) { in ATF_TC_BODY()
137 const int o = rnd[i].rm; in ATF_TC_BODY()
138 const int n = rnd[j].rm; in ATF_TC_BODY()
148 ATF_CHECK_EQ(r = FLT_ROUNDS, rnd[j].rf); in ATF_TC_BODY()
149 if (r != rnd[j].rf) in ATF_TC_BODY()
[all …]
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_prime.c490 if (safe && !BN_set_bit(rnd, 1)) in probable_prime()
520 if (!BN_add_word(rnd, delta)) in probable_prime()
522 if (BN_num_bits(rnd) != bits) in probable_prime()
524 bn_check_top(rnd); in probable_prime()
559 if (!BN_mod(t1, rnd, add, ctx)) in probable_prime_dh()
561 if (!BN_sub(rnd, rnd, t1)) in probable_prime_dh()
567 if (!BN_add(rnd, rnd, rem)) in probable_prime_dh()
571 if (BN_num_bits(rnd) < bits in probable_prime_dh()
573 if (!BN_add(rnd, rnd, add)) in probable_prime_dh()
600 if (!BN_add_word(rnd, delta)) in probable_prime_dh()
[all …]
H A Dbn_rand.c33 BN_zero(rnd); in bnrand()
89 if (!BN_bin2bn(buf, bytes, rnd)) in bnrand()
94 bn_check_top(rnd); in bnrand()
102 int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, in BN_rand_ex() argument
108 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_rand() argument
110 return bnrand(NORMAL, rnd, bits, top, bottom, 0, NULL); in BN_rand()
113 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_bntest_rand() argument
115 return bnrand(TESTING, rnd, bits, top, bottom, 0, NULL); in BN_bntest_rand()
126 int BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_priv_rand() argument
128 return bnrand(PRIVATE, rnd, bits, top, bottom, 0, NULL); in BN_priv_rand()
[all …]
H A Dbn_depr.c27 BIGNUM *rnd = NULL; in BN_generate_prime() local
32 if ((rnd = BN_new()) == NULL) in BN_generate_prime()
35 rnd = ret; in BN_generate_prime()
36 if (!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb)) in BN_generate_prime()
40 return rnd; in BN_generate_prime()
42 BN_free(rnd); in BN_generate_prime()
/freebsd/lib/libc/gen/
H A Darc4random.c107 u_char rnd[KEYSZ + IVSZ]; in _rs_stir() local
136 if (getentropy(rnd, sizeof rnd) == -1) in _rs_stir()
141 _rs_init(rnd, sizeof(rnd)); in _rs_stir()
145 _rs_init(rnd, sizeof(rnd)); in _rs_stir()
148 _rs_rekey(rnd, sizeof(rnd)); in _rs_stir()
149 explicit_bzero(rnd, sizeof(rnd)); /* discard source seed */ in _rs_stir()
/freebsd/sys/net/route/
H A Droute_ctl.c360 rnd->rnd_nhop = rt->rt_nhop; in lookup_prefix_bysa()
363 rnd->rnd_nhop = NULL; in lookup_prefix_bysa()
364 rnd->rnd_weight = 0; in lookup_prefix_bysa()
588 struct route_nhop_data rnd; in rib_del_route_px() local
965 struct route_nhop_data rnd; in rib_del_route() local
1011 struct route_nhop_data rnd; in rt_delete_conditional() local
1221 rt->rt_nhop = rnd->rnd_nhop; in add_route()
1226 if (!NH_IS_NHGRP(rnd->rnd_nhop) && nhop_get_expire(rnd->rnd_nhop)) in add_route()
1292 if (rnd->rnd_nhop == NULL) in change_route()
1298 if (!NH_IS_NHGRP(rnd->rnd_nhop) && nhop_get_expire(rnd->rnd_nhop)) in change_route()
[all …]
/freebsd/usr.bin/enigma/
H A Denigma.c38 unsigned rnd; in setup() local
63 rnd = seed % 65521; in setup()
65 ic = (rnd&MASK)%(k+1); in setup()
66 rnd >>= 8; in setup()
71 ic = (rnd&MASK) % k; in setup()
142 unsigned rnd; in shuffle() local
147 rnd = seed % 65521; in shuffle()
149 ic = (rnd&MASK)%(k+1); in shuffle()
/freebsd/contrib/unbound/compat/
H A Darc4random.c183 u_char rnd[KEYSZ + IVSZ]; in _rs_stir() local
186 if (getentropy(rnd, sizeof rnd) == -1) { in _rs_stir()
188 fallback_getentropy_urandom(rnd, sizeof rnd) == -1) { in _rs_stir()
198 _rs_init(rnd, sizeof(rnd)); in _rs_stir()
200 _rs_rekey(rnd, sizeof(rnd)); in _rs_stir()
201 explicit_bzero(rnd, sizeof(rnd)); /* discard source seed */ in _rs_stir()
/freebsd/crypto/openssh/openbsd-compat/
H A Darc4random.c113 u_char rnd[KEYSZ + IVSZ]; in _rs_stir() local
116 if (getentropy(rnd, sizeof rnd) == -1) in _rs_stir()
120 _rs_init(rnd, sizeof(rnd)); in _rs_stir()
122 _rs_rekey(rnd, sizeof(rnd)); in _rs_stir()
123 explicit_bzero(rnd, sizeof(rnd)); /* discard source seed */ in _rs_stir()
/freebsd/tests/sys/geom/class/eli/
H A Donetime_test.sh14 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=${sectors} status=none
16 md_rnd=`dd if=rnd bs=${secsize} count=${sectors} status=none | md5`
43 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
62 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=${sectors} status=none
64 md_rnd=`dd if=rnd bs=${secsize} count=${sectors} status=none | md5`
86 atf_check dd if=/dev/random of=rnd bs=$MAX_SECSIZE count=$sectors \
144 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
155 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=${sectors} status=none
157 md_rnd=`dd if=rnd bs=${secsize} count=${sectors} status=none | md5`
H A Dintegrity_test.sh16 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=1 status=none
29 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=2 status=none
60 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
83 atf_check dd if=rnd of=sector bs=1 count=8 seek=64 conv=notrunc status=none
106 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
127 atf_check dd if=rnd of=sector bs=1 count=16 conv=notrunc status=none
150 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
H A Dsetkey_test.sh18 atf_check dd if=/dev/random of=rnd bs=512 count=${sectors} status=none
19 hash1=`dd if=rnd bs=512 count=${sectors} status=none | md5`
31 dd if=rnd of=/dev/${md}.eli bs=512 count=${sectors} status=none
108 atf_check dd if=/dev/random of=rnd bs=512 count=${sectors} status=none
109 hash1=`dd if=rnd bs=512 count=${sectors} status=none | md5`
119 dd if=rnd of=/dev/${md}.eli bs=512 count=${sectors} status=none
/freebsd/crypto/openssl/doc/man3/
H A DBN_rand.pod14 int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom,
16 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
18 int BN_priv_rand_ex(BIGNUM *rnd, int bits, int top, int bottom,
20 int BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom);
22 int BN_rand_range_ex(BIGNUM *rnd, const BIGNUM *range, unsigned int strength,
24 int BN_rand_range(BIGNUM *rnd, const BIGNUM *range);
28 int BN_priv_rand_range(BIGNUM *rnd, const BIGNUM *range);
34 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
35 int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);
62 number I<rnd>, of security strength at least I<strength> bits,
[all …]
/freebsd/contrib/lua/src/
H A Dltablib.c250 unsigned int i, rnd = 0; in l_randomizePivot() local
254 rnd += buff[i]; in l_randomizePivot()
255 return rnd; in l_randomizePivot()
334 static IdxT choosePivot (IdxT lo, IdxT up, unsigned int rnd) { in choosePivot() argument
336 IdxT p = rnd % (r4 * 2) + (lo + r4); in choosePivot()
346 unsigned int rnd) { in auxsort() argument
359 if (up - lo < RANLIMIT || rnd == 0) /* small interval or no randomize? */ in auxsort()
362 p = choosePivot(lo, up, rnd); in auxsort()
384 auxsort(L, lo, p - 1, rnd); /* call recursively for lower interval */ in auxsort()
389 auxsort(L, p + 1, up, rnd); /* call recursively for upper interval */ in auxsort()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dcluster.sh80 rnd(void) {
101 ln = rnd() % BSIZE + 1; function
102 offset = rnd() % (MX - ln); function
139 ln = rnd() % BSIZE + 1; function
140 offset = rnd() % (MX - ln); function
183 offset = rnd() % MX; function
184 offset = rnd(); function
/freebsd/sys/netlink/route/
H A Drt.c224 if (NH_IS_NHGRP(rnd->rnd_nhop)) { in dump_rc_nhop()
225 dump_rc_nhg(nw, rnd->rnd_nhgrp, rtm); in dump_rc_nhop()
326 dump_rc_nhop(nw, rnd, rtm); in dump_px()
357 struct route_nhop_data rnd = { in report_operation() local
528 struct route_nhop_data rnd; member
552 rt_get_rnd(rt, &wa->rnd); in dump_rtentry()
613 struct route_nhop_data rnd; in handle_rtm_getroute() local
639 rt_get_rnd(rt, &rnd); in handle_rtm_getroute()
640 rnd.rnd_nhop = nhop_select_func(rnd.rnd_nhop, 0); in handle_rtm_getroute()
966 &rnd, op_flags, &rc); in rtnl_handle_newroute()
[all …]
/freebsd/crypto/openssl/crypto/camellia/asm/
H A Dcmll-x86.pl480 my ($i0,$i1,$i2,$i3,$rot,$rnd,@T)=@_;
482 $rnd *= 2;
500 my ($i0,$i1,$i2,$i3,$rot,$rnd,@T)=@_;
502 $rnd *= 2;
533 my ($rnd,$key,@T)=@_;
536 &mov (&DWP($bias+$rnd*8+0,$key),@T[0]);
537 &mov (&DWP($bias+$rnd*8+4,$key),@T[1]) if ($#T>=1);
538 &mov (&DWP($bias+$rnd*8+8,$key),@T[2]) if ($#T>=2);
543 my ($rnd,$key,@T)=@_;
546 &mov (@T[0],&DWP($bias+$rnd*8+0,$key));
[all …]
/freebsd/contrib/ntp/libntp/lib/isc/
H A Drandom.c102 isc_uint32_t rnd; in isc_random_jitter() local
109 isc_random_get(&rnd); in isc_random_jitter()
110 return (max - rnd % jitter); in isc_random_jitter()
/freebsd/sys/netinet/
H A Din_fib.c281 uint32_t flags, struct route_nhop_data *rnd) in fib4_lookup_rt() argument
306 rnd->rnd_nhop = rt->rt_nhop; in fib4_lookup_rt()
307 rnd->rnd_weight = rt->rt_weight; in fib4_lookup_rt()
320 struct route_nhop_data rnd; in fib4_lookup_debugnet() local
322 rt = fib4_lookup_rt(fibnum, dst, scopeid, NHR_UNLOCKED, &rnd); in fib4_lookup_debugnet()
324 struct nhop_object *nh = nhop_select(rnd.rnd_nhop, 0); in fib4_lookup_debugnet()
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dauditdistd.c227 unsigned char rnd[32], hash[32], resp[32]; in listen_accept() local
324 if (adist_random(rnd, sizeof(rnd)) == -1) { in listen_accept()
330 if (proto_send(conn, rnd, sizeof(rnd)) == -1) { in listen_accept()
345 (int)strlen(adhost->adh_password), rnd, (int)sizeof(rnd), hash, in listen_accept()
359 if (proto_recv(conn, rnd, sizeof(rnd)) == -1) { in listen_accept()
367 (int)strlen(adhost->adh_password), rnd, (int)sizeof(rnd), hash, in listen_accept()
H A Dsender.c136 unsigned char rnd[32], hash[32], resp[32]; in sender_connect() local
222 if (proto_recv(conn, rnd, sizeof(rnd)) == -1) { in sender_connect()
231 (int)strlen(adhost->adh_password), rnd, (int)sizeof(rnd), hash, in sender_connect()
247 if (adist_random(rnd, sizeof(rnd)) == -1) { in sender_connect()
254 if (proto_send(conn, rnd, sizeof(rnd)) == -1) { in sender_connect()
271 (int)strlen(adhost->adh_password), rnd, (int)sizeof(rnd), hash, in sender_connect()
/freebsd/sys/netinet6/
H A Din6_fib.c294 uint32_t scopeid, uint32_t flags, struct route_nhop_data *rnd) in fib6_lookup_rt() argument
321 rnd->rnd_nhop = rt->rt_nhop; in fib6_lookup_rt()
322 rnd->rnd_weight = rt->rt_weight; in fib6_lookup_rt()
335 struct route_nhop_data rnd; in fib6_lookup_debugnet() local
337 rt = fib6_lookup_rt(fibnum, dst6, scopeid, NHR_UNLOCKED, &rnd); in fib6_lookup_debugnet()
339 struct nhop_object *nh = nhop_select(rnd.rnd_nhop, 0); in fib6_lookup_debugnet()
/freebsd/contrib/bearssl/src/rsa/
H A Drsa_oaep_pad.c45 br_rsa_oaep_pad(const br_prng_class **rnd, const br_hash_class *dig, in br_rsa_oaep_pad() argument
95 (*rnd)->generate(rnd, buf + 1, hlen); in br_rsa_oaep_pad()

12345