This commit is contained in:
mllwchrry
2026-02-16 16:12:41 +02:00
parent 347d6adfd2
commit a8e6a3cc34
4 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ extern "C" {
* If you need to convert to a format suitable for storage, transmission, or
* comparison, use secp256k1_ecdsa_s2c_opening_serialize and secp256k1_ecdsa_s2c_opening_parse.
*/
typedef struct {
typedef struct secp256k1_ecdsa_s2c_opening {
unsigned char data[64];
} secp256k1_ecdsa_s2c_opening;

View File

@@ -17,7 +17,7 @@ extern "C" {
* If you need to convert to a format suitable for storage, transmission, or
* comparison, use secp256k1_generator_serialize and secp256k1_generator_parse.
*/
typedef struct {
typedef struct secp256k1_generator {
unsigned char data[64];
} secp256k1_generator;
@@ -100,7 +100,7 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_generator_generate_blin
* comparison, use secp256k1_pedersen_commitment_serialize and
* secp256k1_pedersen_commitment_parse.
*/
typedef struct {
typedef struct secp256k1_pedersen_commitment {
unsigned char data[64];
} secp256k1_pedersen_commitment;

View File

@@ -39,7 +39,7 @@ extern "C" {
* The representation is exposed to allow creation of these objects on the
* stack; please *do not* use these internals directly.
*/
typedef struct {
typedef struct secp256k1_surjectionproof {
#ifdef VERIFY
/** Mark whether this proof has gone through `secp256k1_surjectionproof_initialize` */
int initialized;
@@ -100,7 +100,7 @@ SECP256K1_API int secp256k1_surjectionproof_serialize(
* data the API user wants to use as an asset tag. Its contents have no
* semantic meaning to libsecp whatsoever.
*/
typedef struct {
typedef struct secp256k1_fixed_asset_tag {
unsigned char data[32];
} secp256k1_fixed_asset_tag;

View File

@@ -31,7 +31,7 @@ extern "C" {
* stack; please *do not* use these internals directly. To learn the number
* of keys for a signature, use `secp256k1_whitelist_signature_n_keys`.
*/
typedef struct {
typedef struct secp256k1_whitelist_signature {
size_t n_keys;
/* e0, scalars */
unsigned char data[32 * (1 + SECP256K1_WHITELIST_MAX_N_KEYS)];