daxpedda
1a61401272
General improvements ( #65 )
...
* Relax `hash_to_scalar` and `hash_to_group` bounds
* Rename `util` to `common` and shuffle some stuff around
* Don't generate unnecessary public key
* Simplify 'elliptic-curve` serializing element implementation
* Fix new Clippy 1.59 warnings
* Simplify `Ristretto255::random_scalar` implementation
* Update `derive-where`
* Fix panic during Ristretto255 deserialization
* Remove iteration during de/serialization
2022-04-01 12:18:32 -07:00
Kevin Lewi and daxpedda
f8e0600b22
Merging Version 09 changes into main ( #60 )
...
* Syncing new test vectors and base mode
* Working set of test vectors for VOPRF mode
* Adding POPRF
* POPRF test vectors in sync
* Address review (#59 )
Co-authored-by: daxpedda <[email protected] >
2022-02-13 04:00:11 -08:00
daxpedda
b59b359aa3
General improvements ( #56 )
...
* Apply Rust traits to all public types and other improvements
* Move methods into appropriate section
* Check for zero scalars
* Change element and scalar de/serialization from `GenericArray` to slice
* Customize `serde` serialization
2022-01-27 16:38:17 -08:00
daxpedda
b01b8ed409
Document all Errors ( #55 )
...
* Document all `Error`s
* Fix inaccuracies
2022-01-24 20:55:02 -08:00
daxpedda
16e072dcd4
Group trait overhaul part 2 (#53 )
...
* Rely on elliptic-curve for hash-to-curve and P-256 implementations
* Update MSRV
* Remove unnecessary `#[macro_use]`
* Re-introduce `CipherSuite`
* Provide types for length shortcuts
* Remove `SUITE_ID` from `Group`
* Blanket implementation for RustCrypto `Curve`s
* Remove the p256 crate feature
* Rename `ristretto_*` crate features to `ristretto-*` for consistency
* Remove unnecessary allowed Clippy lints
* Remove some unnecessary constraints
2022-01-21 13:52:09 -08:00