Home
last modified time | relevance | path

Searched refs:BN_set_word (Results 1 – 25 of 26) 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.h386 #define BN_one(a) (BN_set_word((a),1))
396 #define BN_zero(a) (BN_set_word((a),0))
462 int BN_set_word(BIGNUM *a, BN_ULONG w);
Dbntest.c1762 if (!BN_set_word(p, primes[i])) goto err; in test_sqrt()
1766 if (!BN_set_word(a, 32)) goto err; in test_sqrt()
1767 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_mont.c645 if (!BN_set_word(Ri,BN_MASK2)) goto err; /* Ri-- (mod word size) */ in BN_MONT_CTX_set()
Dbn_exp.c746 (BN_set_word(r, (w)) && BN_to_montgomery(r, r, (mont), ctx)) in BN_mod_exp_mont_word()
/external/openssl/crypto/pqueue/
Dpq_compat.h90 #define pq_64bit_assign_word(x, y) BN_set_word(x, y)
/external/openssl/include/openssl/
Dpq_compat.h90 #define pq_64bit_assign_word(x, y) BN_set_word(x, y)
Dbn.h386 #define BN_one(a) (BN_set_word((a),1))
396 #define BN_zero(a) (BN_set_word((a),0))
462 int BN_set_word(BIGNUM *a, BN_ULONG w);
/external/openssl/apps/
Dgenrsa.c269 if(!BN_set_word(bn, f4) || !RSA_generate_key_ex(rsa, num, bn, &cb)) in MAIN()
Dreq.c767 if(!bn || !rsa || !BN_set_word(bn, 0x10001) || in MAIN()
/external/openssl/crypto/dsa/
Ddsa_gen.c280 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.c1184 if (!BN_hex2bn(&order, data->order) || !BN_set_word(x, data->cofactor)) in ec_group_new_from_data()
/external/openssl/crypto/objects/
Dobj_dat.c495 if (!BN_set_word(bl, l)) in OBJ_obj2txt()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2438 if (!BN_set_word(dh->g, g))
2495 if (!BN_set_word(dh->g, g))
/external/openssl/ssl/
Dssltest.c2110 if(!bn || !rsa_tmp || !BN_set_word(bn, RSA_F4)) in tmp_rsa_cb()

12