Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
secp256k1_extrakeys.h
Go to the documentation of this file.
1#ifndef SECP256K1_EXTRAKEYS_H
2#define SECP256K1_EXTRAKEYS_H
3
4#include "secp256k1.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
22typedef struct {
23 unsigned char data[64];
25
33typedef struct {
34 unsigned char data[96];
36
48 const secp256k1_context* ctx,
50 const unsigned char *input32
52
62 const secp256k1_context* ctx,
63 unsigned char *output32,
66
77 const secp256k1_context* ctx,
78 const secp256k1_xonly_pubkey* pk1,
79 const secp256k1_xonly_pubkey* pk2
81
94 const secp256k1_context* ctx,
95 secp256k1_xonly_pubkey *xonly_pubkey,
96 int *pk_parity,
99
121 const secp256k1_context* ctx,
122 secp256k1_pubkey *output_pubkey,
123 const secp256k1_xonly_pubkey *internal_pubkey,
124 const unsigned char *tweak32
126
151 const secp256k1_context* ctx,
152 const unsigned char *tweaked_pubkey32,
153 int tweaked_pk_parity,
154 const secp256k1_xonly_pubkey *internal_pubkey,
155 const unsigned char *tweak32
157
167 const secp256k1_context* ctx,
168 secp256k1_keypair *keypair,
169 const unsigned char *seckey
171
180 const secp256k1_context* ctx,
181 unsigned char *seckey,
182 const secp256k1_keypair *keypair
184
194 const secp256k1_context* ctx,
196 const secp256k1_keypair *keypair
198
214 const secp256k1_context* ctx,
216 int *pk_parity,
217 const secp256k1_keypair *keypair
219
240 const secp256k1_context* ctx,
241 secp256k1_keypair *keypair,
242 const unsigned char *tweak32
244
245#ifdef __cplusplus
246}
247#endif
248
249#endif /* SECP256K1_EXTRAKEYS_H */
#define SECP256K1_ARG_NONNULL(_x)
Definition secp256k1.h:169
#define SECP256K1_API
Definition secp256k1.h:154
#define SECP256K1_WARN_UNUSED_RESULT
Definition secp256k1.h:164
SECP256K1_API int secp256k1_xonly_pubkey_cmp(const secp256k1_context *ctx, const secp256k1_xonly_pubkey *pk1, const secp256k1_xonly_pubkey *pk2) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3)
Definition main_impl.h:58
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_keypair_pub(const secp256k1_context *ctx, secp256k1_pubkey *pubkey, const secp256k1_keypair *keypair) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3)
Definition main_impl.h:223
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_keypair_sec(const secp256k1_context *ctx, unsigned char *seckey, const secp256k1_keypair *keypair) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3)
Definition main_impl.h:213
SECP256K1_API int secp256k1_xonly_pubkey_serialize(const secp256k1_context *ctx, unsigned char *output32, const secp256k1_xonly_pubkey *pubkey) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3)
Definition main_impl.h:43
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_xonly_pubkey_tweak_add_check(const secp256k1_context *ctx, const unsigned char *tweaked_pubkey32, int tweaked_pk_parity, const secp256k1_xonly_pubkey *internal_pubkey, const unsigned char *tweak32) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(4) SECP256K1_ARG_NONNULL(5)
Definition main_impl.h:134
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_keypair_create(const secp256k1_context *ctx, secp256k1_keypair *keypair, const unsigned char *seckey) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3)
Definition main_impl.h:195
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_xonly_pubkey_from_pubkey(const secp256k1_context *ctx, secp256k1_xonly_pubkey *xonly_pubkey, int *pk_parity, const secp256k1_pubkey *pubkey) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(4)
Definition main_impl.h:98
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_keypair_xonly_tweak_add(const secp256k1_context *ctx, secp256k1_keypair *keypair, const unsigned char *tweak32) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3)
Definition main_impl.h:254
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_xonly_pubkey_tweak_add(const secp256k1_context *ctx, secp256k1_pubkey *output_pubkey, const secp256k1_xonly_pubkey *internal_pubkey, const unsigned char *tweak32) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4)
Definition main_impl.h:117
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_keypair_xonly_pub(const secp256k1_context *ctx, secp256k1_xonly_pubkey *pubkey, int *pk_parity, const secp256k1_keypair *keypair) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(4)
Definition main_impl.h:233
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_xonly_pubkey_parse(const secp256k1_context *ctx, secp256k1_xonly_pubkey *pubkey, const unsigned char *input32) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3)
Definition main_impl.h:21
CK_BYTE_PTR pubkey