A Rust implementation of the Gravity-post-quantum signature schemes.
To configure the scheme's parameters (height of Merkle trees, number of subtrees, size of cache, etc.), modify them in the file
There is currently no option to do this at runtime.
Extensive unit tests are implemented to check the logic of the signature scheme. High-level test vectors generated with the reference C implementation check the overall consistency.
You may want to use
cargo test --release, because the implementation is quite slow in non-release mode.
The Gravity-SPHINCS signature scheme is still young and has not yet been independently audited, nor has this code. For now, this is simply a proposal so don't use it in production!