Home
last modified time | relevance | path

Searched refs:BN_rand (Results 1 – 12 of 12) sorted by relevance

/external/openssl/crypto/bn/
Dbnspeed.c193 BN_rand(a,sizes[i],1,0); in do_mul()
196 BN_rand(b,sizes[j],1,0); in do_mul()
209 BN_rand(a,sizes[i],1,0); in do_mul()
221 BN_rand(a,sizes[i]-1,1,0); in do_mul()
224 BN_rand(b,sizes[j],1,0); in do_mul()
Dexp.c33 BN_rand(&a,size,0,0);
34 BN_rand(&b,size,1,0);
35 BN_rand(&c,size,0,1);
Dexptest.c110 BN_rand(a,NUM_BITS+c,0,0); in main()
114 BN_rand(b,NUM_BITS+c,0,0); in main()
118 BN_rand(m,NUM_BITS+c,0,1); in main()
Dbn_rand.c211 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_rand() function
232 int (*bn_rand)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand : BN_rand; in bn_rand_range()
Dbn_prime.c384 if (!BN_rand(rnd,bits,1,1)) return(0); in probable_prime()
415 if (!BN_rand(rnd,bits,0,1)) goto err; in probable_prime_dh()
459 if (!BN_rand(q,bits,0,1)) goto err; in probable_prime_dh_safe()
Dbn.h435 int BN_rand(BIGNUM *rnd, int bits, int top,int bottom);
Dbn_gf2m.c911 if (!BN_rand(rho, p[0], 0, 0)) goto err; in BN_GF2m_mod_solve_quad_arr()
Dbntest.c1076 BN_rand(&a,512,0,0); in test_gf2m_add()
/external/openssl/crypto/jpake/
Djpaketest.c150 BN_rand(secret, 32, -1, 0); in main()
/external/openssl/crypto/dh/
Ddh_key.c142 if (!BN_rand(priv_key, l, 0, 0)) goto err; in generate_key()
/external/openssl/include/openssl/
Dbn.h435 int BN_rand(BIGNUM *rnd, int bits, int top,int bottom);
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2439 BN_rand(r, size * 8, 0, 0);