28 #ifndef SECP256K1_CONTRIB_BER_PRIVATEKEY_H 29 #define SECP256K1_CONTRIB_BER_PRIVATEKEY_H 59 unsigned char *privkey,
61 const unsigned char *seckey,
81 unsigned char *seckey,
82 const
unsigned char *privkey,
#define SECP256K1_WARN_UNUSED_RESULT
Definition: secp256k1.h:149
SECP256K1_WARN_UNUSED_RESULT int ec_privkey_import_der(const secp256k1_context *ctx, unsigned char *seckey, const unsigned char *privkey, size_t privkeylen) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3)
Definition: lax_der_privatekey_parsing.c:12
Definition: secp256k1.c:52
static secp256k1_context * ctx
Definition: tests.c:46
#define SECP256K1_ARG_NONNULL(_x)
Definition: secp256k1.h:154
SECP256K1_WARN_UNUSED_RESULT int ec_privkey_export_der(const secp256k1_context *ctx, unsigned char *privkey, size_t *privkeylen, const unsigned char *seckey, int compressed) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4)
Definition: lax_der_privatekey_parsing.c:56