|
|
@ -47,11 +47,8 @@ typedef struct secp256k1_context_struct secp256k1_context;
|
|
|
|
* 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 or transmission, use
|
|
|
|
* If you need to convert to a format suitable for storage, transmission, or
|
|
|
|
* secp256k1_ec_pubkey_serialize and secp256k1_ec_pubkey_parse.
|
|
|
|
* comparison, use secp256k1_ec_pubkey_serialize and secp256k1_ec_pubkey_parse.
|
|
|
|
*
|
|
|
|
|
|
|
|
* Furthermore, it is guaranteed that identical public keys (ignoring
|
|
|
|
|
|
|
|
* compression) will have identical representation, so they can be memcmp'ed.
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
typedef struct {
|
|
|
|
typedef struct {
|
|
|
|
unsigned char data[64];
|
|
|
|
unsigned char data[64];
|
|
|
@ -62,12 +59,9 @@ typedef struct {
|
|
|
|
* 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 or transmission, use
|
|
|
|
* If you need to convert to a format suitable for storage, transmission, or
|
|
|
|
* the secp256k1_ecdsa_signature_serialize_* and
|
|
|
|
* comparison, use the secp256k1_ecdsa_signature_serialize_* and
|
|
|
|
* secp256k1_ecdsa_signature_serialize_* functions.
|
|
|
|
* secp256k1_ecdsa_signature_serialize_* functions.
|
|
|
|
*
|
|
|
|
|
|
|
|
* Furthermore, it is guaranteed to identical signatures will have identical
|
|
|
|
|
|
|
|
* representation, so they can be memcmp'ed.
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
typedef struct {
|
|
|
|
typedef struct {
|
|
|
|
unsigned char data[64];
|
|
|
|
unsigned char data[64];
|
|
|
|