Expand description
Mina Schnorr signature scheme
An implementation of the singer interface for the Mina signature algorithm
Details: https://github.com/MinaProtocol/mina/blob/develop/docs/specs/signatures/description.md
Re-exportsยง
use alloc::boxed::Box;๐use alloc::string::String;๐use alloc::vec;๐use alloc::vec;๐use num_bigint::BigUint;๐use crate::BaseField;๐use crate::CurvePoint;๐use crate::Hashable;๐use crate::Keypair;๐use crate::NonceMode;๐use crate::PubKey;๐use crate::ScalarField;๐use crate::Signature;๐use crate::Signer;๐use ark_ec::AffineRepr;๐use ark_ec::CurveGroup;๐use ark_ff::BigInteger;๐use ark_ff::Field;๐use ark_ff::PrimeField;๐use ark_ff::Zero;๐use blake2::digest::Update;๐use blake2::digest::VariableOutput;๐use blake2::Blake2bVar;๐use core::ops::Add;๐use core::ops::Neg;๐use mina_hasher;๐use mina_hasher::DomainParameter;๐use mina_hasher::Hasher;๐use mina_hasher::ROInput;๐use o1_utils::FieldHelpers;๐
Structsยง
- Message
- Internal message structure for Schnorr signature hash computation.
- Schnorr
- Schnorr signer context for the Mina signature algorithm
Constantsยง
- BLAK
E2B_ ๐OUTPUT_ SIZE BLAKE2boutput size in bytes for nonce derivation.
Functionsยง
- create_
kimchi ๐ - create_
legacy ๐