Skip to content

Commit 5f027ac

Browse files
committed
musig: reword docs for serialized data length constants
1 parent 80e78a5 commit 5f027ac

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

secp256k1-sys/src/lib.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,12 +1450,11 @@ pub const MUSIG_PUBNONCE_LEN: usize = 132;
14501450
pub const MUSIG_AGGNONCE_LEN: usize = 132;
14511451

14521452
/// Serialized length (in bytes) of the aggregated nonce.
1453-
/// This is the compact form (typically using a compressed representation) used for
1454-
/// transmitting or storing the aggregated nonce.
1453+
/// The serialized form is used for transmitting or storing the aggregated nonce.
14551454
pub const MUSIG_AGGNONCE_SERIALIZED_LEN: usize = 66;
14561455

14571456
/// Serialized length (in bytes) of an individual public nonce.
1458-
/// This compact serialized form is what gets exchanged between signers.
1457+
/// The serialized form is used for transmission between signers.
14591458
pub const MUSIG_PUBNONCE_SERIALIZED_LEN: usize = 66;
14601459

14611460
/// Length (in bytes) of the session structure.
@@ -1468,8 +1467,8 @@ pub const MUSIG_SESSION_LEN: usize = 133;
14681467
pub const MUSIG_PART_SIG_LEN: usize = 36;
14691468

14701469
/// Serialized length (in bytes) of a partial signature.
1471-
/// This is the compact form (typically just the 32-byte scalar) that is used when communicating
1472-
/// partial signatures to be combined into the final signature.
1470+
/// The serialized form is used for transmitting partial signatures to be
1471+
/// aggregated into the final signature.
14731472
pub const MUSIG_PART_SIG_SERIALIZED_LEN: usize = 32;
14741473

14751474
#[repr(C)]

0 commit comments

Comments
 (0)