Commit Graph
17 Commits
Author SHA1 Message Date
daxpeddaandGitHub b2f6d5eac8 Update to digest 0.10 (#36) 2021-12-23 15:58:00 -05:00
daxpeddaandGitHub 140f9e063d Configure Rustfmt and Taplo (#38)
* Configure rustfmt

* Add Taplo configuration and run in CI
2021-12-22 19:17:03 -05:00
Kevin LewiandGitHub d9dc5d0a13 Updating test vectors to sync with draft version 08 (#32) 2021-10-25 22:06:42 -07:00
daxpeddaandGitHub 14830f1436 Remove allocations by serialize (#29)
* Changed `expand_message_xmd` input to `Iterator`

* Changed `hash_to_scalar` input to `Iterator`

* Fix rustfmt

* Add documentation for private helper types

* Fix documentation

* Improve `chain!()` syntax bias

* Move helper functions to `mod util`
2021-10-15 16:56:21 -07:00
daxpeddaandGitHub de91fafdb3 Group improvements (#28)
* Implement `ConstantTimeEq` for `Group` and `Group::Scalar`

* Changed `expand_message_xmd` `dst` parameter to `GenericArray<u8, D>`

* Remove allocation for `dst_prime` in `expand_message_xmd`

* Remove allocation for `msg_prime` and `b` in `expand_message_xmd`

* Remove unnecessary references in `expand_message_xmd`

* Return `GenericArray` from `expand_message_xmd`

* Oxidize loop in `expand_message_xmd`

* Remove allocation for `b` in `expand_message_xmd`

* Remove allocation for `xor`

* De-duplicate code in `expand_message_xmd`

* Remove unnecessary features

* Make ristretto optional and export all backends

* Make `rand` optional

* Fix wrong documentation

* Document `rand` feature

* Remove empty line

* Fix rustfmt

* Fix testing with other backends

* Iterate by value in `expand_message_xmd`

* Fix typo

* Rename `ristretto_x` features to `ristretto255_x`

* Remove `rand` re-export

* Improve `expand_message_xmd` loop

* Remove unnecessary `#[doc(cfg())]`

* Remove unnecessary `pub(crate)` for `mod p256`

* Fix `p256` only build

* Rename `serialize` feature to `serde`

* Fix missing `Cargo.toml` update
2021-10-14 11:09:00 -07:00
daxpeddaandGitHub c93600498e Add clippy::cargo and remove dependencies (#23) 2021-10-05 17:52:08 -07:00
daxpeddaandGitHub 6fb4cad59c Remove CipherSuite (#20)
* Remove `Hash`

* Remove `CipherSuite`

* Remove single field `struct`s
2021-10-05 15:53:18 -07:00
daxpeddaandGitHub a3db6cd9d2 P256 improvements (#21)
* P256 improvements

* Fix Rust 1.51 compilation
2021-10-04 13:50:29 -07:00
daxpeddaandGitHub a1ab892bdb P256 improvements (#18) 2021-09-30 14:00:58 -07:00
Kevin LewiandGitHub 1d6113f319 Publishing v0.1 (#15) 2021-09-29 18:19:32 -07:00
Kevin LewiandGitHub 6632f6a771 Fixing p256 to_bytes() bug (#16) 2021-09-29 18:11:50 -07:00
Kevin LewiandGitHub bdc5833510 Minor fixups, adding more tests, making p256 experimental (#14) 2021-09-29 17:02:40 -07:00
Kevin LewiandGitHub 4206fdbf48 Adding dual license (#11) 2021-09-27 18:53:06 -07:00
Kevin LewiandGitHub f6f85e0a25 Adding deserialization checks (#10) 2021-09-27 18:29:08 -07:00
Kevin LewiandGitHub 485d18deec Matching to latest test vectors with metadata mode (#3) 2021-09-13 16:02:09 -07:00
Kevin LewiandGitHub fe3222d148 Adding p256 support and no_std CI (#2) 2021-09-09 02:59:11 -07:00
Kevin LewiandGitHub bb4b9d0909 Initial implementation (#1) 2021-09-09 01:56:54 -07:00