MystenLabs / fastcrypto

Common cryptographic library used in software at Mysten Labs.
Apache License 2.0
238 stars 138 forks source link

Refactor VDF impl #826

Closed jonas-lj closed 1 week ago

jonas-lj commented 1 week ago

Refactor the VDF implementation. No functionality has been changed.

The challenge computation function in Wesolowski's construction is now a function pointer instead of a generic type.

The Parameter trait is removed.