Searched refs:tmp_2 (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12.1/crypto/openssl/crypto/ec/ |
| H A D | ec_asn1.c | 369 BIGNUM *tmp_1 = NULL, *tmp_2 = NULL; in ec_asn1_group2curve() local 376 if ((tmp_1 = BN_new()) == NULL || (tmp_2 = BN_new()) == NULL) { in ec_asn1_group2curve() 382 if (!EC_GROUP_get_curve(group, NULL, tmp_1, tmp_2, NULL)) { in ec_asn1_group2curve() 399 || BN_bn2binpad(tmp_2, b_buf, len) < 0) { in ec_asn1_group2curve() 436 BN_free(tmp_2); in ec_asn1_group2curve()
|
| H A D | ecp_smpl.c | 246 BIGNUM *a, *b, *order, *tmp_1, *tmp_2; in ec_GFp_simple_group_check_discriminant() local 262 tmp_2 = BN_CTX_get(ctx); in ec_GFp_simple_group_check_discriminant() 290 if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx)) in ec_GFp_simple_group_check_discriminant() 292 if (!BN_lshift(tmp_1, tmp_2, 2)) in ec_GFp_simple_group_check_discriminant() 296 if (!BN_mod_sqr(tmp_2, b, p, ctx)) in ec_GFp_simple_group_check_discriminant() 298 if (!BN_mul_word(tmp_2, 27)) in ec_GFp_simple_group_check_discriminant() 302 if (!BN_mod_add(a, tmp_1, tmp_2, p, ctx)) in ec_GFp_simple_group_check_discriminant()
|