Home | History | Annotate | Download | only in utility

Lines Matching refs:RR

46   BIGNUM *N0inv= NULL, *R = NULL, *RR = NULL, *RRTemp = NULL, *NnumBits = NULL;
47 BIGNUM *n = NULL, *rr = NULL;
65 RR = BN_new();
69 rr = BN_new();
91 /* Calculate RR = R^2 mod N */
92 BN_copy(RR, R);
93 BN_mul(RRTemp, RR, R, bn_ctx);
94 BN_mod(RR, RRTemp, N, bn_ctx);
113 BN_mod(rr, RR, B, bn_ctx); /* rr = RR mod B */
114 rrout = BN_get_word(rr);
118 BN_rshift(RR, RR, 32); /* RR = RR/B */
132 BN_free(rr);