Available on crate feature
tests only.Expand description
Tests for application-provided curves and algorithms.
Modules§
Constants§
- PARTICIPANTS
- Constant amount of participants to use when testing.
- THRESHOLD
- Constant threshold of participants to use when signing.
Functions§
- algorithm_
machines - Spawn algorithm machines for a random selection of signers, each executing the given algorithm.
- algorithm_
machines_ without_ clone - Spawn algorithm machines for a random selection of signers, each executing the given algorithm.
- clone_
without - Clone a map without a specific value.
- key_gen
- Create a key, for testing purposes.
- recover_
key - Recover a shared secret from a collection of
dkg::ThresholdKeys. - sign
- Execute the signing protocol, randomly caching various machines to ensure they can cache successfully.
- sign_
without_ caching - Execute the signing protocol, without caching any machines. This isn’t as comprehensive at testing as sign, and accordingly isn’t preferred, yet is usable for machines not supporting caching.
- sign_
without_ clone - Execute the signing protocol, randomly caching various machines to ensure they can cache successfully.
- test_
ciphersuite - Run a variety of tests against a ciphersuite.
- test_
offset_ schnorr - Test an offset Schnorr signature.
- test_
schnorr - Test a basic Schnorr signature.
- test_
schnorr_ blame - Test blame for an invalid Schnorr signature share.
- test_
schnorr_ with_ keys - Test a basic Schnorr signature with the provided keys.