Searched refs:BN_is_odd (Results 1 - 14 of 14) sorted by relevance

/barrelfish-master/lib/openssl-1.0.0d/crypto/bn/
H A Dbn_kron.c106 if (!BN_is_odd(A) && !BN_is_odd(B))
H A Dbn_gcd.c160 if (BN_is_odd(a))
162 if (BN_is_odd(b))
178 if (BN_is_odd(b))
256 if (BN_is_odd(n) && (BN_num_bits(n) <= (BN_BITS <= 32 ? 450 : 2048)))
281 if (BN_is_odd(X))
300 if (BN_is_odd(Y))
H A Dbn_gf2m.c546 while (!BN_is_odd(u))
549 if (BN_is_odd(b))
658 while (!BN_is_odd(a))
661 if (BN_is_odd(u)) if (!BN_GF2m_add(u, u, p)) goto err;
674 if (BN_is_odd(v)) if (!BN_GF2m_add(v, v, p)) goto err;
676 } while (!BN_is_odd(b));
687 if (BN_is_odd(u)) if (!BN_GF2m_add(u, u, p)) goto err;
689 } while (!BN_is_odd(a));
H A Dbn_exp.c143 if (BN_is_odd(p))
212 /* if ((m->d[m->top-1]&BN_TBIT) && BN_is_odd(m)) */
214 if (BN_is_odd(m))
392 if (!BN_is_odd(m))
759 if (!BN_is_odd(m))
H A Dbn_sqrt.c76 if (!BN_is_odd(p) || BN_abs_is_word(p, 1))
H A Dbn_prime.c260 if (!BN_is_odd(a))
H A Dbntest.c1096 if((BN_is_odd(&a) && BN_is_odd(&c)) || (!BN_is_odd(&a) && !BN_is_odd(&c)))
H A Dbn.h392 #define BN_is_odd(a) (((a)->top > 0) && ((a)->d[0] & 1)) macro
/barrelfish-master/lib/openssl-1.0.0d/crypto/ec/
H A Decp_smpl.c176 if (BN_num_bits(p) <= 2 || !BN_is_odd(p))
730 if (y_bit != BN_is_odd(y))
748 if (y_bit != BN_is_odd(y))
827 if ((form == POINT_CONVERSION_COMPRESSED || form == POINT_CONVERSION_HYBRID) && BN_is_odd(y))
976 if (y_bit != BN_is_odd(y))
1149 if (BN_is_odd(n0))
H A Dec2_smpl.c474 z0 = (BN_is_odd(z)) ? 1 : 0;
564 if (BN_is_odd(yxi)) buf[0]++;
716 if (y_bit != BN_is_odd(yxi))
H A Dectest.c663 if (BN_is_odd(y)) ABORT;
1144 if (BN_is_odd(y)) ABORT;
/barrelfish-master/lib/openssl-1.0.0d/test/
H A Dbntest.c1096 if((BN_is_odd(&a) && BN_is_odd(&c)) || (!BN_is_odd(&a) && !BN_is_odd(&c)))
H A Dectest.c663 if (BN_is_odd(y)) ABORT;
1144 if (BN_is_odd(y)) ABORT;
/barrelfish-master/include/openssl/
H A Dbn.h392 #define BN_is_odd(a) (((a)->top > 0) && ((a)->d[0] & 1)) macro

Completed in 134 milliseconds