Expand description
Falcon-512 with Poseidon2 hashing signature helpers.
Functions in this module generate data for the
miden::core::crypto::dsa::falcon512_poseidon2::verify MASM procedure.
Structs§
- Public
Key - Public key represented as a polynomial with coefficients over the Falcon prime field.
- Secret
Key - Represents the secret key for Falcon DSA.
- Signature
- A deterministic Falcon512 Poseidon2 signature over a message.
Functions§
- encode_
signature - Encodes the provided Falcon public key and signature into a vector of field elements in the
format expected by
miden::core::crypto::dsa::falcon512_poseidon2::verifyprocedure. - sign
- Signs the provided message with the provided secret key and returns the resulting signature
encoded in the format required by the
falcon512_poseidon2::verifyprocedure, orNoneif the secret key is malformed due to either incorrect length or failed decoding.