Home
last modified time | relevance | path

Searched refs:BN_set_word (Results 1 – 25 of 30) sorted by relevance

12

/external/openssl/crypto/dh/
Ddh_gen.c127 if (!BN_set_word(t1,24)) goto err; in dh_builtin_genparams()
128 if (!BN_set_word(t2,11)) goto err; in dh_builtin_genparams()
134 if (!BN_set_word(t1,12)) goto err; in dh_builtin_genparams()
135 if (!BN_set_word(t2,5)) goto err; in dh_builtin_genparams()
141 if (!BN_set_word(t1,10)) goto err; in dh_builtin_genparams()
142 if (!BN_set_word(t2,3)) goto err; in dh_builtin_genparams()
153 if (!BN_set_word(t1,2)) goto err; in dh_builtin_genparams()
154 if (!BN_set_word(t2,1)) goto err; in dh_builtin_genparams()
160 if (!BN_set_word(ret->g,g)) goto err; in dh_builtin_genparams()
Dp512.c83 BN_set_word(dh->g,2); in main()
Dp1024.c90 BN_set_word(dh->g,2); in main()
Dp192.c78 BN_set_word(dh->g,3); in main()
Ddh_check.c130 BN_set_word(q,1); in DH_check_pub_key()
/external/openssl/crypto/bn/
Dbn_sqrt.c84 if (!BN_set_word(ret, BN_is_bit_set(a, 0))) in BN_mod_sqrt()
104 if (!BN_set_word(ret, BN_is_one(a))) in BN_mod_sqrt()
217 if (!BN_set_word(y, i)) goto end; in BN_mod_sqrt()
228 if (!BN_set_word(y, i)) goto end; in BN_mod_sqrt()
Dbn_word.c137 if(BN_is_zero(a)) return BN_set_word(a, w); in BN_add_word()
183 i = BN_set_word(a,w); in BN_sub_word()
Dexpspeed.c237 if (!BN_set_word(a, 64)) goto err; in do_mul_exp()
238 if (!BN_set_word(b, P_MOD_64)) goto err; in do_mul_exp()
Dbn_gcd.c379 if (!BN_set_word(D,2)) goto err; in BN_mod_inverse()
385 if (!BN_set_word(D,3)) goto err; in BN_mod_inverse()
Dbn.h412 #define BN_one(a) (BN_set_word((a),1))
422 #define BN_zero(a) (BN_set_word((a),0))
488 int BN_set_word(BIGNUM *a, BN_ULONG w);
Dbn_mont.c488 if (!BN_set_word(Ri,BN_MASK2)) goto err; /* Ri-- (mod word size) */ in BN_MONT_CTX_set()
Dbntest.c1764 if (!BN_set_word(p, primes[i])) goto err; in test_sqrt()
1768 if (!BN_set_word(a, 32)) goto err; in test_sqrt()
1769 if (!BN_set_word(r, 2*i + 1)) goto err; in test_sqrt()
Dbn_lib.c586 int BN_set_word(BIGNUM *a, BN_ULONG w) in BN_set_word() function
Dbn_exp.c747 (BN_set_word(r, (w)) && BN_to_montgomery(r, r, (mont), ctx)) in BN_mod_exp_mont_word()
/external/chromium/crypto/
Drsa_private_key_openssl.cc56 if (!rsa_key.get() || !bn.get() || !BN_set_word(bn.get(), 65537L)) in Create()
/external/openssl/crypto/jpake/
Djpaketest.c144 BN_set_word(g, 2); in main()
/external/chromium/third_party/libjingle/source/talk/base/
Dopensslidentity.cc72 !BN_set_word(exponent, 0x10001) || // 65537 RSA exponent in MakeKey()
/external/openssl/include/openssl/
Dbn.h412 #define BN_one(a) (BN_set_word((a),1))
422 #define BN_zero(a) (BN_set_word((a),0))
488 int BN_set_word(BIGNUM *a, BN_ULONG w);
/external/openssl/apps/
Dgenrsa.c276 if(!BN_set_word(bn, f4) || !RSA_generate_key_ex(rsa, num, bn, &cb)) in MAIN()
/external/openssl/crypto/dsa/
Ddsa_gen.c303 if (!BN_set_word(test,h)) goto err; in dsa_builtin_paramgen()
/external/openssl/crypto/asn1/
Da_object.c147 if (!bl || !BN_set_word(bl, l)) in a2d_ASN1_OBJECT()
/external/openssl/crypto/ec/
Dec_curve.c1973 || !BN_set_word(x, (BN_ULONG)data->cofactor)) in ec_group_new_from_data()
/external/openssl/crypto/rsa/
Drsa_pmeth.c529 if (!rctx->pub_exp || !BN_set_word(rctx->pub_exp, RSA_F4)) in pkey_rsa_keygen()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c427 if (dh->g == NULL || BN_set_word(dh->g, 2) != 1) in dh5_init()
/external/openssl/crypto/objects/
Dobj_dat.c525 if (!BN_set_word(bl, l)) in OBJ_obj2txt()

12