diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-12-13 12:43:08 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-12-13 12:38:38 +0100 |
commit | fad80b3a1e531e699af52086cc988c63f15e939d (patch) | |
tree | e0b223204ed49728ec584286f01ae5f886c5e014 /src/secp256k1/include/secp256k1.h | |
parent | e591c1049fe5e0256ac14a92f460f374a55ffd4e (diff) | |
parent | 64dfdde0aa7f7ef24e6cbf3c57e6d24efc55367e (diff) | |
download | bitcoin-fad80b3a1e531e699af52086cc988c63f15e939d.tar.xz |
Merge commit '64dfdde0aa7f7ef24e6cbf3c57e6d24efc55367e' into HEAD
Diffstat (limited to 'src/secp256k1/include/secp256k1.h')
-rw-r--r-- | src/secp256k1/include/secp256k1.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/secp256k1/include/secp256k1.h b/src/secp256k1/include/secp256k1.h index 7145dbcc54..f268e309d0 100644 --- a/src/secp256k1/include/secp256k1.h +++ b/src/secp256k1/include/secp256k1.h @@ -47,11 +47,8 @@ typedef struct secp256k1_context_struct secp256k1_context; * The exact representation of data inside is implementation defined and not * 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. - * If you need to convert to a format suitable for storage or transmission, 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. + * If you need to convert to a format suitable for storage, transmission, or + * comparison, use secp256k1_ec_pubkey_serialize and secp256k1_ec_pubkey_parse. */ typedef struct { unsigned char data[64]; @@ -62,12 +59,9 @@ typedef struct { * The exact representation of data inside is implementation defined and not * 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. - * If you need to convert to a format suitable for storage or transmission, use - * the secp256k1_ecdsa_signature_serialize_* and + * If you need to convert to a format suitable for storage, transmission, or + * comparison, use the secp256k1_ecdsa_signature_serialize_* and * secp256k1_ecdsa_signature_serialize_* functions. - * - * Furthermore, it is guaranteed to identical signatures will have identical - * representation, so they can be memcmp'ed. */ typedef struct { unsigned char data[64]; |