Home
last modified time | relevance | path

Searched refs:g_x (Results 1 – 3 of 3) sorted by relevance

/php-src/ext/openssl/tests/
H A Decc_custom_params.phpt34 $g_x = hex2bin('4AD5F7048DE709AD51236DE65E4D4B482C836DC6E4106640');
44 'g_x' => $g_x,
81 // EC - missing "generator" or "g_x" and "g_y" param
112 Warning: openssl_pkey_new(): Missing params: generator or g_x and g_y in %s on line %d
H A Decc_sm2.phpt43 $g_x = hex2bin('32C4AE2C1F1981195F9904466A39C9948FE30BBFF2660BE1715A4589334C74C7');
53 'g_x' => $g_x,
/php-src/ext/openssl/
H A Dopenssl.c4377 BIGNUM *p = NULL, *a = NULL, *b = NULL, *order = NULL, *g_x = NULL, *g_y = NULL , *cofactor = NULL; in php_openssl_pkey_init_legacy_ec() local
4428 OPENSSL_PKEY_SET_BN(data, g_x); in php_openssl_pkey_init_legacy_ec()
4431 if (!g_x || !g_y) { in php_openssl_pkey_init_legacy_ec()
4437 if (!EC_POINT_set_affine_coordinates_GFp(group, point_g, g_x, g_y, bctx)) { in php_openssl_pkey_init_legacy_ec()
4511 BN_free(g_x); in php_openssl_pkey_init_legacy_ec()
4524 BIGNUM *p = NULL, *a = NULL, *b = NULL, *order = NULL, *g_x = NULL, *g_y = NULL, *cofactor = NULL; in php_openssl_pkey_init_ec() local
4596 OPENSSL_PKEY_SET_BN(data, g_x); in php_openssl_pkey_init_ec()
4599 if (!g_x || !g_y) { in php_openssl_pkey_init_ec()
4605 if (!EC_POINT_set_affine_coordinates(group, point_g, g_x, g_y, bctx)) { in php_openssl_pkey_init_ec()
4711 BN_free(g_x); in php_openssl_pkey_init_ec()

Completed in 21 milliseconds