Lines Matching refs:R
26 BIGNUM *A, *B, *X, *Y, *M, *D, *T, *R = NULL; in bn_mod_inverse_no_branch() local
45 R = BN_new(); in bn_mod_inverse_no_branch()
47 R = in; in bn_mod_inverse_no_branch()
48 if (R == NULL) in bn_mod_inverse_no_branch()
171 if (!BN_copy(R, Y)) in bn_mod_inverse_no_branch()
174 if (!BN_nnmod(R, Y, n, ctx)) in bn_mod_inverse_no_branch()
183 ret = R; in bn_mod_inverse_no_branch()
188 BN_free(R); in bn_mod_inverse_no_branch()
202 BIGNUM *A, *B, *X, *Y, *M, *D, *T, *R = NULL; in int_bn_mod_inverse() local
234 R = BN_new(); in int_bn_mod_inverse()
236 R = in; in int_bn_mod_inverse()
237 if (R == NULL) in int_bn_mod_inverse()
496 if (!BN_copy(R, Y)) in int_bn_mod_inverse()
499 if (!BN_nnmod(R, Y, n, ctx)) in int_bn_mod_inverse()
506 ret = R; in int_bn_mod_inverse()
509 BN_free(R); in int_bn_mod_inverse()