Skip to content

Commit

Permalink
regenerate stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
afk11 committed Sep 5, 2019
1 parent 95b893e commit 5cb78a7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions stubs/const.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
const SECP256K1_TAG_PUBKEY_HYBRID_ODD = 7;
const SECP256K1_TYPE_RECOVERABLE_SIG = "secp256k1_ecdsa_recoverable_signature";
const SECP256K1_TYPE_SCHNORRSIG = "secp256k1_schnorrsig";
const SECP256K1_TYPE_SCHNORRSIG_PUBKEY = "secp256k1_schnorrsig_pubkey";
21 changes: 21 additions & 0 deletions stubs/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,27 @@ function secp256k1_ecdsa_recover($context, &$ecPublicKey, $ecdsaRecoverableSigna
* @return int
*/
function secp256k1_ecdh($context, string &$result, $ecPublicKey, string $privKey, ?callable $hashfxn, ?int $outputLen, $data): int {}
/**
* @param resource $context
* @param resource|null $pubkey
* @param string $seckey
* @return int
*/
function secp256k1_schnorrsig_pubkey_create($context, &$pubkey, string $seckey): int {}
/**
* @param resource $context
* @param resource|null $pubkey
* @param string $input32
* @return int
*/
function secp256k1_schnorrsig_pubkey_parse($context, &$pubkey, string $input32): int {}
/**
* @param resource $context
* @param string|null $output32
* @param resource $pubkey
* @return int
*/
function secp256k1_schnorrsig_pubkey_serialize($context, ?string &$output32, $pubkey): int {}
/**
* Serialize a Schnorr signature.
*
Expand Down

0 comments on commit 5cb78a7

Please sign in to comment.