Home | History | Annotate | Download | only in bn

Lines Matching defs:c1

318   int n = n2 / 2, c1, c2;
341 c1 = bn_cmp_part_words(a, &(a[n]), tna, n - tna);
344 switch (c1 * 3 + c2) {
407 /* t[32] holds (a[0]-a[1])*(b[1]-b[0]), c1 is the sign
411 c1 = (int)(bn_add_words(t, r, &(r[n2]), n2));
415 c1 -= (int)(bn_sub_words(&(t[n2]), t, &(t[n2]), n2));
418 c1 += (int)(bn_add_words(&(t[n2]), &(t[n2]), t, n2));
424 * c1 holds the carry bits */
425 c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
426 if (c1) {
429 ln = (lo + c1) & BN_MASK2;
434 if (ln < (BN_ULONG)c1) {
451 int c1, c2, neg;
460 c1 = bn_cmp_part_words(a, &(a[n]), tna, n - tna);
463 switch (c1 * 3 + c2) {
543 /* t[32] holds (a[0]-a[1])*(b[1]-b[0]), c1 is the sign
548 c1 = (int)(bn_add_words(t, r, &(r[n2]), n2));
552 c1 -= (int)(bn_sub_words(&(t[n2]), t, &(t[n2]), n2));
555 c1 += (int)(bn_add_words(&(t[n2]), &(t[n2]), t, n2));
561 * c1 holds the carry bits */
562 c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
563 if (c1) {
566 ln = (lo + c1) & BN_MASK2;
571 if (ln < (BN_ULONG)c1) {
726 int zero, c1;
741 c1 = bn_cmp_words(a, &(a[n]), n);
743 if (c1 > 0) {
745 } else if (c1 < 0) {
766 c1 = (int)(bn_add_words(t, r, &(r[n2]), n2));
769 c1 -= (int)(bn_sub_words(&(t[n2]), t, &(t[n2]), n2));
774 * c1 holds the carry bits */
775 c1 += (int)(bn_add_words(&(r[n]), &(r[n]), &(t[n2]), n2));
776 if (c1) {
779 ln = (lo + c1) & BN_MASK2;
784 if (ln < (BN_ULONG)c1) {