Lines Matching refs:n5
659 BIGNUM *n0, *n1, *n2, *n3, *n4, *n5, *n6;
685 n5 = BN_CTX_get(ctx);
740 /* n5, n6 */
741 if (!BN_mod_sub_quick(n5, n1, n3, p))
745 /* n5 = n1 - n3 */
748 if (BN_is_zero(n5)) {
774 if (!BN_copy(&r->Z, n5))
787 if (!field_mul(group, &r->Z, n0, n5, ctx))
791 /* Z_r = Z_a * Z_b * n5 */
796 if (!field_sqr(group, n4, n5, ctx))
802 /* X_r = n6^2 - n5^2 * 'n7' */
809 /* n9 = n5^2 * 'n7' - 2 * X_r */
814 if (!field_mul(group, n5, n4, n5, ctx))
815 goto end; /* now n5 is n5^3 */
816 if (!field_mul(group, n1, n2, n5, ctx))
826 /* Y_r = (n6 * 'n9' - 'n8' * 'n5^3') / 2 */