Searched refs:rnd (Results 1 - 25 of 62) sorted by last modified time

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/rand/
H A Drand_unix.c131 u_int32_t rnd = 0, i; local
136 rnd = arc4random();
137 buf[i] = rnd;
138 rnd >>= 8;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/rc4/asm/
H A Drc4-ia64.S95 .rotr dat[4],key_x[4],tx[2],rnd[2],key_y[2],ty[1];
129 (p18) dep rnd[1]=rnd[1],ksch,OFF,8} // &key[(tx+ty)&255]
133 { .mmi; (p18) LDKEY rnd[1]=[rnd[1]] // rnd=key[(tx+ty)&255]
143 { .mmb; (p17) add rnd[0]=tx[1],ty[0] // tx+=ty
144 (p18) xor dat[2]=dat[2],rnd[1] // dat^=rnd
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/engines/rsaref/
H A Drsaref.c463 R_RANDOM_STRUCT rnd; local
472 R_RandomInit(&rnd);
473 R_GetRandomBytesNeeded((unsigned int *)&i,&rnd);
478 R_RandomUpdate(&rnd,buf,(unsigned int)((i>16)?16:i));
484 if ((i=RSAPublicEncrypt(to,(unsigned int *)&outlen,(unsigned char *)from,len,&RSAkey,&rnd)) != 0)
492 R_RandomFinal(&rnd);
493 memset(&rnd,0,sizeof(rnd));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/include/openssl/
H A Dbn.h324 int BN_rand(BIGNUM *rnd, int bits, int top,int bottom);
325 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top,int bottom);
326 int BN_rand_range(BIGNUM *rnd, BIGNUM *range);
327 int BN_pseudo_rand_range(BIGNUM *rnd, BIGNUM *range);
493 int BN_bntest_rand(BIGNUM *rnd, int bits, int top,int bottom);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/test/
H A DMakefile300 rm -f .rnd tmp.bntest tmp.bctest *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log
H A Dtestgen18 echo "string to make the random number generator think it has entropy" >> ./.rnd
H A Dtestgen.com19 $ append/new nl: .rnd
20 $ open/append random_file .rnd
H A Dtestss23 echo "string to make the random number generator think it has entropy" >> ./.rnd
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/bn/
H A Dbn.h324 int BN_rand(BIGNUM *rnd, int bits, int top,int bottom);
325 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top,int bottom);
326 int BN_rand_range(BIGNUM *rnd, BIGNUM *range);
327 int BN_pseudo_rand_range(BIGNUM *rnd, BIGNUM *range);
493 int BN_bntest_rand(BIGNUM *rnd, int bits, int top,int bottom);
H A Dbn_prime.c126 static int probable_prime(BIGNUM *rnd, int bits);
127 static int probable_prime_dh(BIGNUM *rnd, int bits,
129 static int probable_prime_dh_safe(BIGNUM *rnd, int bits,
136 BIGNUM *rnd=NULL; local
148 if ((rnd=BN_new()) == NULL) goto err;
151 rnd=ret;
156 if (!probable_prime(rnd,bits)) goto err;
162 if (!probable_prime_dh_safe(rnd,bits,add,rem,ctx))
167 if (!probable_prime_dh(rnd,bits,add,rem,ctx))
171 /* if (BN_mod_word(rnd,(BN_ULON
349 probable_prime(BIGNUM *rnd, int bits) argument
380 probable_prime_dh(BIGNUM *rnd, int bits, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx) argument
[all...]
H A Dbn_rand.c118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom) argument
126 BN_zero(rnd);
199 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
210 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
212 return bnrand(0, rnd, bits, top, bottom);
215 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
217 return bnrand(1, rnd, bits, top, bottom);
221 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
223 return bnrand(2, rnd, bits, top, bottom);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/mm/
H A Dmmap.c23 unsigned rnd = get_random_int() & 0xfffffff; local
24 mm->mmap_base += ((unsigned long)rnd) << PAGE_SHIFT;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/include/bcmcrypto/
H A Dbn.h356 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
357 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
358 int BN_rand_range(BIGNUM *rnd, BIGNUM *range);
359 int BN_pseudo_rand_range(BIGNUM *rnd, BIGNUM *range);
518 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/fpsp040/
H A Dround.S183 |Jump table for adding 1 to the l-bit indexed by rnd prec
H A Dsetox.S115 | N = rnd-to-int( X*64/log2 (1+eps) ), |eps|<=2^(-24)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/ifpsp060/src/
H A Dfplsp.S584 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
641 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
700 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
761 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
818 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
877 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
938 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
995 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
1054 mov.b FPCR_MODE(%a6),%d0 # pass rnd mode,prec
1115 mov.b FPCR_MODE(%a6),%d0 # pass rnd mod
[all...]
H A Dfpsp.S698 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
787 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
941 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
1061 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
1299 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
1532 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
1844 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
2089 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
2592 mov.b FPCR_MODE(%a6),%d0 # pass: rnd mode,prec
3675 mov.b FPCR_MODE(%a6),%d0 # pass rnd pre
[all...]
H A Dpfpsp.S697 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
786 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
940 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
1060 mov.b FPCR_MODE(%a6),%d0 # pass rnd prec/mode
1298 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
1531 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
1843 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
2088 mov.b FPCR_MODE(%a6),%d0 # fetch rnd mode/prec
2591 mov.b FPCR_MODE(%a6),%d0 # pass: rnd mode,prec
3674 mov.b FPCR_MODE(%a6),%d0 # pass rnd pre
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/math-emu/
H A Dfp_arith.c85 if (FPDATA->rnd == FPCR_ROUND_RM)
637 fp_roundint(dest, FPDATA->rnd);
682 oldround = FPDATA->rnd;
683 FPDATA->rnd = FPCR_ROUND_RZ;
685 FPDATA->rnd = oldround;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/kernel/
H A Dmodule.c119 #define rnd(x) (((x)+0x1000)&~0x1fff) macro
127 #define lrsel(v,a) (((v)+rnd(a))>>11)
129 #define rrsel(v,a) ((((v)+rnd(a))&0x7ff)+((a)-rnd(a)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/include/
H A Dlibbb.h801 /* rnd is additional random input. New one is returned.
803 * rnd = crypt_make_salt(buf1, 4, 0);
804 * rnd = crypt_make_salt(buf2, 4, rnd);
805 * rnd = crypt_make_salt(buf3, 4, rnd);
808 extern int crypt_make_salt(char *p, int cnt, int rnd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dsha1.c38 #define rnd(f,k) \ macro
64 rnd(ch, 0x5a827999);
68 rnd(parity, 0x6ed9eba1);
72 rnd(maj, 0x8f1bbcdc);
76 rnd(parity, 0xca62c1d6);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/loginutils/
H A Dchpasswd.c29 int rnd = rnd; /* we *want* it to be non-initialized! */ local
47 rnd = crypt_make_salt(salt, 1, rnd);
50 rnd = crypt_make_salt(salt + 3, 4, rnd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dacct.c322 int exp, rnd; local
324 exp = rnd = 0;
326 rnd = value & (1 << (EXPSIZE - 1)); /* Round up? */
334 if (rnd && (++value > MAXFRACT)) {
364 int exp, rnd; local
367 rnd = 0;
369 rnd = value & 1;
377 if (rnd && (++value > MAXFRACT2)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-frv/
H A Dmath-emu.h101 unsigned short rnd; member in struct:fp_data

Completed in 252 milliseconds

123