Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/include/secp256k1.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
/** Opaque data structured that holds a parsed ECDSA signature. | /** Opaque data structured that holds a parsed ECDSA signature. | ||||
* | * | ||||
* The exact representation of data inside is implementation defined and not | * The exact representation of data inside is implementation defined and not | ||||
* guaranteed to be portable between different platforms or versions. It is | * guaranteed to be portable between different platforms or versions. It is | ||||
* however guaranteed to be 64 bytes in size, and can be safely copied/moved. | * however guaranteed to be 64 bytes in size, and can be safely copied/moved. | ||||
* If you need to convert to a format suitable for storage, transmission, or | * If you need to convert to a format suitable for storage, transmission, or | ||||
* comparison, use the secp256k1_ecdsa_signature_serialize_* and | * comparison, use the secp256k1_ecdsa_signature_serialize_* and | ||||
* secp256k1_ecdsa_signature_serialize_* functions. | * secp256k1_ecdsa_signature_parse_* functions. | ||||
*/ | */ | ||||
typedef struct { | typedef struct { | ||||
unsigned char data[64]; | unsigned char data[64]; | ||||
} secp256k1_ecdsa_signature; | } secp256k1_ecdsa_signature; | ||||
/** A pointer to a function to deterministically generate a nonce. | /** A pointer to a function to deterministically generate a nonce. | ||||
* | * | ||||
* Returns: 1 if a nonce was successfully generated. 0 will cause signing to fail. | * Returns: 1 if a nonce was successfully generated. 0 will cause signing to fail. | ||||
▲ Show 20 Lines • Show All 542 Lines • Show Last 20 Lines |