Lines Matching refs:RR
225 return bn_mul_mont_fixed_top(r, a, &(mont->RR), mont, ctx);
245 bn_init(&ctx->RR);
256 BN_clear_free(&mont->RR);
274 R = &(mont->RR); /* grab RR as a temp */
393 /* setup RR for conversions */
394 BN_zero(&(mont->RR));
395 if (!BN_set_bit(&(mont->RR), mont->ri * 2))
397 if (!BN_mod(&(mont->RR), &(mont->RR), &(mont->N), ctx))
400 for (i = mont->RR.top, ret = mont->N.top; i < ret; i++)
401 mont->RR.d[i] = 0;
402 mont->RR.top = ret;
403 mont->RR.flags |= BN_FLG_FIXED_TOP;
416 if (!BN_copy(&(to->RR), &(from->RR)))