Home
last modified time | relevance | path

Searched refs:BN_abs_is_word (Results 1 – 6 of 6) sorted by relevance

/external/openssl/crypto/bn/
Dbn_sqrt.c76 if (!BN_is_odd(p) || BN_abs_is_word(p, 1)) in BN_mod_sqrt()
78 if (BN_abs_is_word(p, 2)) in BN_mod_sqrt()
Dbn_kron.c100 ret = BN_abs_is_word(A, 1); in BN_kronecker()
Dbn.h405 #define BN_abs_is_word(a,w) ((((a)->top == 1) && ((a)->d[0] == (BN_ULONG)(w))) || \ macro
408 #define BN_is_one(a) (BN_abs_is_word((a),1) && !(a)->neg)
409 #define BN_is_word(a,w) (BN_abs_is_word((a),(w)) && (!(w) || !(a)->neg))
Dbn_gf2m.c557 if (BN_abs_is_word(u, 1)) break; in BN_GF2m_mod_inv()
679 else if (BN_abs_is_word(a, 1)) in BN_GF2m_mod_div()
747 if (BN_abs_is_word(b, 1)) in BN_GF2m_mod_exp_arr()
Dbntest.c1994 if(!BN_is_zero(c) && !BN_abs_is_word(c, 1)) in test_rshift1()
/external/openssl/include/openssl/
Dbn.h405 #define BN_abs_is_word(a,w) ((((a)->top == 1) && ((a)->d[0] == (BN_ULONG)(w))) || \ macro
408 #define BN_is_one(a) (BN_abs_is_word((a),1) && !(a)->neg)
409 #define BN_is_word(a,w) (BN_abs_is_word((a),(w)) && (!(w) || !(a)->neg))