Home
last modified time | relevance | path

Searched refs:u_is_odd (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Dmontgomery_inv.c127 uint64_t u_is_odd = UINT64_C(0) - (u & 1); // Either 0xff..ff or 0. in bn_neg_inv_mod_r_u64() local
148 uint64_t beta_if_u_is_odd = beta & u_is_odd; // Either |beta| or 0. in bn_neg_inv_mod_r_u64()
151 uint64_t alpha_if_u_is_odd = alpha & u_is_odd; // Either |alpha| or 0. in bn_neg_inv_mod_r_u64()
Dgcd_extra.c94 BN_ULONG u_is_odd = word_is_odd_mask(u->d[0]); in bn_gcd_consttime() local
96 assert(!(u_is_odd & v_is_odd)); in bn_gcd_consttime()
99 shift += 1 & (~u_is_odd & ~v_is_odd); in bn_gcd_consttime()
102 maybe_rshift1_words(u->d, ~u_is_odd, tmp->d, width); in bn_gcd_consttime()