Lines Matching refs:group

859 static char *php_openssl_conf_get_string(CONF *conf, const char *group, const char *name) {  in php_openssl_conf_get_string()  argument
863 char *str = NCONF_get_string(conf, group, name); in php_openssl_conf_get_string()
868 static long php_openssl_conf_get_number(CONF *conf, const char *group, const char *name) { in php_openssl_conf_get_number() argument
872 NCONF_get_number(conf, group, name, &res); in php_openssl_conf_get_number()
4359 EC_GROUP *group = NULL; in php_openssl_pkey_init_legacy_ec() local
4372 if (!(group = EC_GROUP_new_by_curve_name(nid))) { in php_openssl_pkey_init_legacy_ec()
4375 EC_GROUP_set_asn1_flag(group, OPENSSL_EC_NAMED_CURVE); in php_openssl_pkey_init_legacy_ec()
4392 if (!(group = EC_GROUP_new_curve_GFp(p, a, b, bctx))) { in php_openssl_pkey_init_legacy_ec()
4396 if (!(point_g = EC_POINT_new(group))) { in php_openssl_pkey_init_legacy_ec()
4402 …if (!(EC_POINT_oct2point(group, point_g, (unsigned char *)Z_STRVAL_P(generator_zv), Z_STRLEN_P(gen… in php_openssl_pkey_init_legacy_ec()
4415 if (!EC_POINT_set_affine_coordinates_GFp(group, point_g, g_x, g_y, bctx)) { in php_openssl_pkey_init_legacy_ec()
4422 if (!EC_GROUP_set_seed(group, (unsigned char *)Z_STRVAL_P(seed_zv), Z_STRLEN_P(seed_zv))) { in php_openssl_pkey_init_legacy_ec()
4433 if (!EC_GROUP_set_generator(group, point_g, order, cofactor)) { in php_openssl_pkey_init_legacy_ec()
4436 EC_GROUP_set_asn1_flag(group, OPENSSL_EC_EXPLICIT_CURVE); in php_openssl_pkey_init_legacy_ec()
4439 EC_GROUP_set_point_conversion_form(group, POINT_CONVERSION_UNCOMPRESSED); in php_openssl_pkey_init_legacy_ec()
4441 if (!EC_KEY_set_group(eckey, group)) { in php_openssl_pkey_init_legacy_ec()
4455 point_q = EC_POINT_new(group); in php_openssl_pkey_init_legacy_ec()
4456 if (!point_q || !EC_POINT_mul(group, point_q, d, NULL, NULL, bctx)) { in php_openssl_pkey_init_legacy_ec()
4461 point_q = EC_POINT_new(group); in php_openssl_pkey_init_legacy_ec()
4462 if (!point_q || !EC_POINT_set_affine_coordinates_GFp(group, point_q, x, y, bctx)) { in php_openssl_pkey_init_legacy_ec()
4482 EC_GROUP_free(group); in php_openssl_pkey_init_legacy_ec()
4508 EC_GROUP *group = NULL; in php_openssl_pkey_init_ec() local
4529 if (!(group = EC_GROUP_new_by_curve_name(nid))) { in php_openssl_pkey_init_ec()
4559 if (!(group = EC_GROUP_new_curve_GFp(p, a, b, bctx))) { in php_openssl_pkey_init_ec()
4563 if (!(point_g = EC_POINT_new(group))) { in php_openssl_pkey_init_ec()
4569 …if (!EC_POINT_oct2point(group, point_g, (unsigned char *)Z_STRVAL_P(generator_zv), Z_STRLEN_P(gene… in php_openssl_pkey_init_ec()
4583 if (!EC_POINT_set_affine_coordinates(group, point_g, g_x, g_y, bctx)) { in php_openssl_pkey_init_ec()
4588 EC_POINT_point2buf(group, point_g, POINT_CONVERSION_COMPRESSED, &point_g_buf, bctx); in php_openssl_pkey_init_ec()
4600 if (!EC_GROUP_set_seed(group, (unsigned char *)Z_STRVAL_P(seed_zv), Z_STRLEN_P(seed_zv)) || in php_openssl_pkey_init_ec()
4608 !EC_GROUP_set_generator(group, point_g, order, cofactor)) { in php_openssl_pkey_init_ec()
4612 nid = EC_GROUP_check_named_curve(group, 0, bctx); in php_openssl_pkey_init_ec()
4622 point_q = EC_POINT_new(group); in php_openssl_pkey_init_ec()
4623 if (!point_q || !EC_POINT_mul(group, point_q, d, NULL, NULL, bctx) || in php_openssl_pkey_init_ec()
4629 point_q = EC_POINT_new(group); in php_openssl_pkey_init_ec()
4630 if (!point_q || !EC_POINT_set_affine_coordinates(group, point_q, x, y, bctx)) { in php_openssl_pkey_init_ec()
4637 EC_POINT_point2buf(group, point_q, POINT_CONVERSION_COMPRESSED, &point_q_buf, bctx); in php_openssl_pkey_init_ec()
4680 EC_GROUP_free(group); in php_openssl_pkey_init_ec()