Lines Matching refs:d1
91 BN_ULONG bn_div_3_words(const BN_ULONG *m, BN_ULONG d1, BN_ULONG d0);
115 static BN_ULONG bn_div_3_words(const BN_ULONG *m, BN_ULONG d1, BN_ULONG d0) in bn_div_3_words() argument
118 BN_ULLONG D = ((BN_ULLONG)d0 << BN_BITS2) | d1; in bn_div_3_words()
270 BN_ULONG d0, d1; in bn_div_fixed_top() local
324 d1 = (div_n == 1) ? 0 : sdiv->d[div_n - 2]; in bn_div_fixed_top()
346 q = bn_div_3_words(wnumtop, d1, d0); in bn_div_fixed_top()
372 t2 = (BN_ULLONG) d1 *q; in bn_div_fixed_top()
381 t2 -= d1; in bn_div_fixed_top()
392 BN_UMULT_LOHI(t2l, t2h, d1, q); in bn_div_fixed_top()
394 t2l = d1 * q; in bn_div_fixed_top()
395 t2h = BN_UMULT_HIGH(d1, q); in bn_div_fixed_top()
399 t2l = LBITS(d1); in bn_div_fixed_top()
400 t2h = HBITS(d1); in bn_div_fixed_top()
414 if (t2l < d1) in bn_div_fixed_top()
416 t2l -= d1; in bn_div_fixed_top()