• Home
  • Raw
  • Download

Lines Matching refs:rr

66   BN_ULONG *rr;  in bn_mul_normal()  local
79 rr = &(r[na]); in bn_mul_normal()
84 rr[0] = bn_mul_words(r, a, na, b[0]); in bn_mul_normal()
91 rr[1] = bn_mul_add_words(&(r[1]), a, na, b[1]); in bn_mul_normal()
95 rr[2] = bn_mul_add_words(&(r[2]), a, na, b[2]); in bn_mul_normal()
99 rr[3] = bn_mul_add_words(&(r[3]), a, na, b[3]); in bn_mul_normal()
103 rr[4] = bn_mul_add_words(&(r[4]), a, na, b[4]); in bn_mul_normal()
104 rr += 4; in bn_mul_normal()
585 BIGNUM *rr; in BN_mul() local
601 if ((rr = BN_CTX_get(ctx)) == NULL) { in BN_mul()
605 rr = r; in BN_mul()
607 rr->neg = a->neg ^ b->neg; in BN_mul()
612 if (bn_wexpand(rr, 16) == NULL) { in BN_mul()
615 rr->top = 16; in BN_mul()
616 bn_mul_comba8(rr->d, a->d, b->d); in BN_mul()
642 if (bn_wexpand(rr, k * 4) == NULL) { in BN_mul()
645 bn_mul_part_recursive(rr->d, a->d, b->d, j, al - j, bl - j, t->d); in BN_mul()
651 if (bn_wexpand(rr, k * 2) == NULL) { in BN_mul()
654 bn_mul_recursive(rr->d, a->d, b->d, j, al - j, bl - j, t->d); in BN_mul()
656 rr->top = top; in BN_mul()
661 if (bn_wexpand(rr, top) == NULL) { in BN_mul()
664 rr->top = top; in BN_mul()
665 bn_mul_normal(rr->d, a->d, al, b->d, bl); in BN_mul()
668 bn_correct_top(rr); in BN_mul()
669 if (r != rr && !BN_copy(r, rr)) { in BN_mul()
822 BIGNUM *tmp, *rr; in BN_sqr() local
832 rr = (a != r) ? r : BN_CTX_get(ctx); in BN_sqr()
834 if (!rr || !tmp) { in BN_sqr()
839 if (bn_wexpand(rr, max) == NULL) { in BN_sqr()
844 bn_sqr_comba4(rr->d, a->d); in BN_sqr()
846 bn_sqr_comba8(rr->d, a->d); in BN_sqr()
850 bn_sqr_normal(rr->d, a->d, al, t); in BN_sqr()
861 bn_sqr_recursive(rr->d, a->d, al, tmp->d); in BN_sqr()
866 bn_sqr_normal(rr->d, a->d, al, tmp->d); in BN_sqr()
871 rr->neg = 0; in BN_sqr()
875 rr->top = max - 1; in BN_sqr()
877 rr->top = max; in BN_sqr()
880 if (rr != r && !BN_copy(r, rr)) { in BN_sqr()