Lines Matching refs:tmp2
28 BIGNUM *tmp1, *tmp2, *x, *y; in ossl_ec_GFp_simple_set_compressed_coordinates() local
41 tmp2 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
58 if (!group->meth->field_sqr(group, tmp2, x_, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
60 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
63 if (!BN_mod_sqr(tmp2, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
65 if (!BN_mod_mul(tmp1, tmp2, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
71 if (!BN_mod_lshift1_quick(tmp2, x, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
73 if (!BN_mod_add_quick(tmp2, tmp2, x, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
75 if (!BN_mod_sub_quick(tmp1, tmp1, tmp2, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
79 if (!group->meth->field_decode(group, tmp2, group->a, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
81 if (!BN_mod_mul(tmp2, tmp2, x, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
85 if (!group->meth->field_mul(group, tmp2, group->a, x, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
89 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
95 if (!group->meth->field_decode(group, tmp2, group->b, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
97 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()