@@ -324,6 +324,45 @@ function secp256k1_xonly_pubkey_parse($context, &$pubkey, string $input32): int
324324 * @return int
325325 */
326326function secp256k1_xonly_pubkey_serialize ($ context , ?string &$ output32 , $ pubkey ): int {}
327+ /**
328+ * @param resource $context
329+ * @param resource|null $xonly_pubkey
330+ * @param int|null $sign
331+ * @param resource $pubkey
332+ * @return int
333+ */
334+ function secp256k1_xonly_pubkey_from_pubkey ($ context , &$ xonly_pubkey , ?int &$ sign , $ pubkey ): int {}
335+ /**
336+ * @param resource $context
337+ * @param resource|null $pubkey
338+ * @param resource $xonly_pubkey
339+ * @param int $sign
340+ * @return int
341+ */
342+ function secp256k1_xonly_pubkey_to_pubkey ($ context , &$ pubkey , $ xonly_pubkey , int $ sign ): int {}
343+ /**
344+ * @param resource $context
345+ * @param string $seckey
346+ * @param string $tweak32
347+ * @return int
348+ */
349+ function secp256k1_xonly_privkey_tweak_add ($ context , string &$ seckey , string $ tweak32 ): int {}
350+ /**
351+ * @param resource $context
352+ * @param resource|null $outputPubKey
353+ * @param resource $internalPubKey
354+ * @param string $tweak32
355+ * @return int
356+ */
357+ function secp256k1_xonly_pubkey_tweak_add ($ context , &$ outputPubKey , $ internalPubKey , string $ tweak32 ): int {}
358+ /**
359+ * @param resource $context
360+ * @param resource $outputPubKey
361+ * @param resource $internalPubKey
362+ * @param string $tweak32
363+ * @return int
364+ */
365+ function secp256k1_xonly_pubkey_tweak_verify ($ context , $ outputPubKey , $ internalPubKey , string $ tweak32 ): int {}
327366/**
328367 * Parse a compact ECDSA signature (64 bytes + recovery id).
329368 *
0 commit comments