Home
last modified time | relevance | path

Searched refs:tmp_2 (Results 1 – 2 of 2) sorted by relevance

/openssl/crypto/ec/
H A Dec_asn1.c313 BIGNUM *tmp_1 = NULL, *tmp_2 = NULL; in ec_asn1_group2curve() local
320 if ((tmp_1 = BN_new()) == NULL || (tmp_2 = BN_new()) == NULL) { in ec_asn1_group2curve()
326 if (!EC_GROUP_get_curve(group, NULL, tmp_1, tmp_2, NULL)) { in ec_asn1_group2curve()
341 || BN_bn2binpad(tmp_2, b_buf, len) < 0) { in ec_asn1_group2curve()
377 BN_free(tmp_2); in ec_asn1_group2curve()
H A Decp_smpl.c254 BIGNUM *a, *b, *order, *tmp_1, *tmp_2; in ossl_ec_GFp_simple_group_check_discriminant() local
269 tmp_2 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_group_check_discriminant()
297 if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx)) in ossl_ec_GFp_simple_group_check_discriminant()
299 if (!BN_lshift(tmp_1, tmp_2, 2)) in ossl_ec_GFp_simple_group_check_discriminant()
303 if (!BN_mod_sqr(tmp_2, b, p, ctx)) in ossl_ec_GFp_simple_group_check_discriminant()
305 if (!BN_mul_word(tmp_2, 27)) in ossl_ec_GFp_simple_group_check_discriminant()
309 if (!BN_mod_add(a, tmp_1, tmp_2, p, ctx)) in ossl_ec_GFp_simple_group_check_discriminant()

Completed in 13 milliseconds