serai/crypto/ciphersuite/src
Luke Parker 7a05466049
3.6.2 Test nonce generation
There's two ways which this could be tested.

1) Preprocess not taking in an arbitrary RNG item, yet the relevant bytes

This would be an unsafe level of refactoring, in my opinion.

2) Test random_nonce and test the passed in RNG eventually ends up at
random_nonce.

This takes the latter route, both verifying random_nonce meets the vectors
and that the FROST machine calls random_nonce properly.
2023-02-28 21:02:12 -05:00
..
dalek.rs 3.5.2 Add more tests to ff-group-tests 2023-02-24 06:03:56 -05:00
ed448.rs 3.1.4 Further document hash_to_F which may collide 2023-02-23 01:09:22 -05:00
kp256.rs 3.5.2 Add more tests to ff-group-tests 2023-02-24 06:03:56 -05:00
lib.rs 3.6.2 Test nonce generation 2023-02-28 21:02:12 -05:00