@@ -21,6 +21,7 @@ extern zend_module_entry secp256k1_module_entry;
21
21
#define SECP256K1_PUBKEY_RES_NAME "secp256k1_pubkey"
22
22
#define SECP256K1_SIG_RES_NAME "secp256k1_ecdsa_signature"
23
23
#define SECP256K1_SCRATCH_SPACE_RES_NAME "secp256k1_scratch_space"
24
+ #define SECP256K1_XONLY_PUBKEY_RES_NAME "secp256k1_xonly_pubkey"
24
25
#ifdef SECP256K1_MODULE_RECOVERY
25
26
#define SECP256K1_RECOVERABLE_SIG_RES_NAME "secp256k1_ecdsa_recoverable_signature"
26
27
#endif
@@ -64,8 +65,8 @@ PHP_FUNCTION(secp256k1_ec_pubkey_parse);
64
65
PHP_FUNCTION (secp256k1_ec_pubkey_serialize );
65
66
66
67
PHP_FUNCTION (secp256k1_ec_privkey_tweak_add );
67
- PHP_FUNCTION (secp256k1_ec_privkey_tweak_mul );
68
68
PHP_FUNCTION (secp256k1_ec_pubkey_tweak_add );
69
+ PHP_FUNCTION (secp256k1_ec_privkey_tweak_mul );
69
70
PHP_FUNCTION (secp256k1_ec_pubkey_tweak_mul );
70
71
71
72
PHP_FUNCTION (secp256k1_ec_pubkey_combine );
@@ -76,6 +77,15 @@ PHP_FUNCTION(secp256k1_scratch_space_destroy);
76
77
PHP_FUNCTION (secp256k1_nonce_function_default );
77
78
PHP_FUNCTION (secp256k1_nonce_function_rfc6979 );
78
79
80
+ PHP_FUNCTION (secp256k1_xonly_pubkey_create );
81
+ PHP_FUNCTION (secp256k1_xonly_pubkey_parse );
82
+ PHP_FUNCTION (secp256k1_xonly_pubkey_serialize );
83
+ PHP_FUNCTION (secp256k1_xonly_pubkey_from_pubkey );
84
+ PHP_FUNCTION (secp256k1_xonly_pubkey_to_pubkey );
85
+ PHP_FUNCTION (secp256k1_xonly_privkey_tweak_add );
86
+ PHP_FUNCTION (secp256k1_xonly_pubkey_tweak_add );
87
+ PHP_FUNCTION (secp256k1_xonly_pubkey_tweak_verify );
88
+
79
89
/* Recovery module */
80
90
#ifdef SECP256K1_MODULE_RECOVERY
81
91
PHP_FUNCTION (secp256k1_ecdsa_sign_recoverable );
0 commit comments