Skip to content

Commit a74f824

Browse files
committed
regenerate stubs
1 parent b1f0629 commit a74f824

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

stubs/const.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@
1818
const SECP256K1_TAG_PUBKEY_HYBRID_ODD = 7;
1919
const SECP256K1_TYPE_RECOVERABLE_SIG = "secp256k1_ecdsa_recoverable_signature";
2020
const SECP256K1_TYPE_SCHNORRSIG = "secp256k1_schnorrsig";
21+
const SECP256K1_TYPE_SCHNORRSIG_PUBKEY = "secp256k1_schnorrsig_pubkey";

stubs/functions.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,27 @@ function secp256k1_ecdsa_recover($context, &$ecPublicKey, $ecdsaRecoverableSigna
394394
* @return int
395395
*/
396396
function secp256k1_ecdh($context, string &$result, $ecPublicKey, string $privKey, ?callable $hashfxn, ?int $outputLen, $data): int {}
397+
/**
398+
* @param resource $context
399+
* @param resource|null $pubkey
400+
* @param string $seckey
401+
* @return int
402+
*/
403+
function secp256k1_schnorrsig_pubkey_create($context, &$pubkey, string $seckey): int {}
404+
/**
405+
* @param resource $context
406+
* @param resource|null $pubkey
407+
* @param string $input32
408+
* @return int
409+
*/
410+
function secp256k1_schnorrsig_pubkey_parse($context, &$pubkey, string $input32): int {}
411+
/**
412+
* @param resource $context
413+
* @param string|null $output32
414+
* @param resource $pubkey
415+
* @return int
416+
*/
417+
function secp256k1_schnorrsig_pubkey_serialize($context, ?string &$output32, $pubkey): int {}
397418
/**
398419
* Serialize a Schnorr signature.
399420
*

0 commit comments

Comments
 (0)