Lines Matching refs:d0
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()
174 # define bn_div_words(n0,n1,d0) \ argument
178 : "a"(n1), "d"(n0), "r"(d0) \
188 # define bn_div_words(n0,n1,d0) \ argument
192 : "a"(n1), "d"(n0), "r"(d0) \
270 BN_ULONG d0, d1; in bn_div_fixed_top() local
323 d0 = sdiv->d[div_n - 1]; in bn_div_fixed_top()
346 q = bn_div_3_words(wnumtop, d1, d0); in bn_div_fixed_top()
352 if (n0 == d0) in bn_div_fixed_top()
360 q = (BN_ULONG)(((((BN_ULLONG) n0) << BN_BITS2) | n1) / d0); in bn_div_fixed_top()
362 q = bn_div_words(n0, n1, d0); in bn_div_fixed_top()
370 rem = (n1 - q * d0) & BN_MASK2; in bn_div_fixed_top()
378 rem += d0; in bn_div_fixed_top()
379 if (rem < d0) in bn_div_fixed_top()
386 q = bn_div_words(n0, n1, d0); in bn_div_fixed_top()
388 rem = (n1 - q * d0) & BN_MASK2; in bn_div_fixed_top()
411 rem += d0; in bn_div_fixed_top()
412 if (rem < d0) in bn_div_fixed_top()