| /src/crypto/external/apache2/openssl/dist/crypto/ec/ |
| ecp_smpl.c | 254 BIGNUM *a, *b, *order, *tmp_1, *tmp_2; local 268 tmp_1 = BN_CTX_get(ctx); 295 if (!BN_mod_sqr(tmp_1, a, p, ctx)) 297 if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx)) 299 if (!BN_lshift(tmp_1, tmp_2, 2)) 301 /* tmp_1 = 4*a^3 */ 309 if (!BN_mod_add(a, tmp_1, tmp_2, p, ctx))
|
| ec_asn1.c | 304 BIGNUM *tmp_1 = NULL, *tmp_2 = NULL; local 311 if ((tmp_1 = BN_new()) == NULL || (tmp_2 = BN_new()) == NULL) { 317 if (!EC_GROUP_get_curve(group, NULL, tmp_1, tmp_2, NULL)) { 331 if (BN_bn2binpad(tmp_1, a_buf, len) < 0 367 BN_free(tmp_1);
|
| /src/crypto/external/bsd/openssl/dist/crypto/ec/ |
| ecp_smpl.c | 254 BIGNUM *a, *b, *order, *tmp_1, *tmp_2; local 268 tmp_1 = BN_CTX_get(ctx); 295 if (!BN_mod_sqr(tmp_1, a, p, ctx)) 297 if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx)) 299 if (!BN_lshift(tmp_1, tmp_2, 2)) 301 /* tmp_1 = 4*a^3 */ 309 if (!BN_mod_add(a, tmp_1, tmp_2, p, ctx))
|
| ec_asn1.c | 312 BIGNUM *tmp_1 = NULL, *tmp_2 = NULL; local 319 if ((tmp_1 = BN_new()) == NULL || (tmp_2 = BN_new()) == NULL) { 325 if (!EC_GROUP_get_curve(group, NULL, tmp_1, tmp_2, NULL)) { 341 if (BN_bn2binpad(tmp_1, a_buf, len) < 0 378 BN_free(tmp_1);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/ec/ |
| ecp_smpl.c | 246 BIGNUM *a, *b, *order, *tmp_1, *tmp_2; local 261 tmp_1 = BN_CTX_get(ctx); 288 if (!BN_mod_sqr(tmp_1, a, p, ctx)) 290 if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx)) 292 if (!BN_lshift(tmp_1, tmp_2, 2)) 294 /* tmp_1 = 4*a^3 */ 302 if (!BN_mod_add(a, tmp_1, tmp_2, p, ctx))
|
| ec_asn1.c | 375 BIGNUM *tmp_1 = NULL, *tmp_2 = NULL; local 382 if ((tmp_1 = BN_new()) == NULL || (tmp_2 = BN_new()) == NULL) { 388 if (!EC_GROUP_get_curve(group, NULL, tmp_1, tmp_2, NULL)) { 404 if (BN_bn2binpad(tmp_1, a_buf, len) < 0 441 BN_free(tmp_1);
|