 |
Bitcoin Core
22.99.0
P2P Digital Currency
|
Go to the documentation of this file.
21 if (signature_bytes.data() ==
nullptr) {
Opaque data structured that holds a parsed ECDSA signature.
#define SECP256K1_CONTEXT_VERIFY
Flags to pass to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context...
FUZZ_TARGET(secp256k1_ecdsa_signature_parse_der_lax)
int ecdsa_signature_parse_der_lax(const secp256k1_context *ctx, secp256k1_ecdsa_signature *sig, const unsigned char *input, size_t inputlen)
This function is taken from the libsecp256k1 distribution and implements DER parsing for ECDSA signat...
SECP256K1_API secp256k1_context * secp256k1_context_create(unsigned int flags) SECP256K1_WARN_UNUSED_RESULT
Create a secp256k1 context object (in dynamically allocated memory).
void ECC_Stop()
Deinitialize the elliptic curve support.
bool SigHasLowR(const secp256k1_ecdsa_signature *sig)
std::vector< uint8_t > ConsumeRandomLengthByteVector(FuzzedDataProvider &fuzzed_data_provider, const std::optional< size_t > &max_length=std::nullopt) noexcept
void ECC_Start()
Initialize the elliptic curve support.
SECP256K1_API void secp256k1_context_destroy(secp256k1_context *ctx) SECP256K1_ARG_NONNULL(1)
Destroy a secp256k1 context object (created in dynamically allocated memory).
static secp256k1_context * ctx