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

/freebsd-9.3-release/crypto/openssl/crypto/ec/
H A Dec_asn1.c426 BIGNUM *tmp_1 = NULL, *tmp_2 = NULL; local
435 if ((tmp_1 = BN_new()) == NULL || (tmp_2 = BN_new()) == NULL) {
444 if (!EC_GROUP_get_curve_GFp(group, NULL, tmp_1, tmp_2, NULL)) {
450 if (!EC_GROUP_get_curve_GF2m(group, NULL, tmp_1, tmp_2, NULL)) {
457 len_2 = (size_t)BN_num_bytes(tmp_2);
484 if ((len_2 = BN_bn2bin(tmp_2, buffer_2)) == 0) {
527 if (tmp_2)
528 BN_free(tmp_2);
H A Decp_smpl.c282 BIGNUM *a, *b, *order, *tmp_1, *tmp_2; local
298 tmp_2 = BN_CTX_get(ctx);
326 if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx))
328 if (!BN_lshift(tmp_1, tmp_2, 2))
332 if (!BN_mod_sqr(tmp_2, b, p, ctx))
334 if (!BN_mul_word(tmp_2, 27))
336 /* tmp_2 = 27*b^2 */
338 if (!BN_mod_add(a, tmp_1, tmp_2, p, ctx))

Completed in 104 milliseconds