arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
feat: add Debug and Clone derives for Falcon signature
Bobbin Threadbare bobbinth@protonmail.com
Sun, 28 Jan 2024 20:50:52 -0800
commit

d59ffe274ac8141e3f4f93bb440529f2533189f6

parent

727ed8fb3ed05a20c0db23e7b9fd5947f7ab2589

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/dsa/rpo_falcon512/signature.rs → src/dsa/rpo_falcon512/signature.rs

@@ -41,6 +41,7 @@ /// 2. 40 bytes for the nonce.

/// 3. 625 bytes encoding the `s2` polynomial above. /// /// The total size of the signature (including the extended public key) is 1563 bytes. +#[derive(Debug, Clone)] pub struct Signature { pub(super) pk: PublicKeyBytes, pub(super) sig: SignatureBytes,