breakingbread
1451f937ca
chore: bump to v1.0.0-rc.0, implement zeroize for deps and license fix ( #9 )
...
Rust CI / cargo fmt (push) Successful in 3s
Rust CI / cargo clippy (push) Successful in 26s
Rust CI / test (1.87.0 / no backend / no frontend) (push) Successful in 1m23s
Rust CI / test (stable / no backend / no frontend) (push) Successful in 1m17s
Rust CI / test (1.87.0 / no backend / --features danger) (push) Successful in 1m25s
Rust CI / test (stable / no backend / --features danger) (push) Successful in 1m19s
Rust CI / test (1.87.0 / no backend / --features serde) (push) Successful in 1m30s
Rust CI / test (stable / no backend / --features serde) (push) Successful in 1m23s
Rust CI / test (1.87.0 / --features ristretto255-ciphersuite / no frontend) (push) Successful in 1m34s
Rust CI / test (stable / --features ristretto255-ciphersuite / no frontend) (push) Successful in 1m29s
Rust CI / test (1.87.0 / --features ristretto255-ciphersuite / --features danger) (push) Successful in 1m34s
Rust CI / test (stable / --features ristretto255-ciphersuite / --features danger) (push) Successful in 1m30s
Rust CI / test (1.87.0 / --features ristretto255-ciphersuite / --features serde) (push) Successful in 1m34s
Rust CI / test (stable / --features ristretto255-ciphersuite / --features serde) (push) Successful in 1m27s
Rust CI / cargo audit (push) Successful in 4s
Rust CI / no-std (thumbv6m-none-eabi / no backend) (push) Successful in 12s
Rust CI / no-std (wasm32-unknown-unknown / no backend) (push) Successful in 13s
Rust CI / no-std (thumbv6m-none-eabi / --features ristretto255-ciphersuite) (push) Successful in 11s
Rust CI / no-std (wasm32-unknown-unknown / --features ristretto255-ciphersuite) (push) Successful in 13s
Publish / publish (release) Successful in 17s
Reviewed-on: #9
Co-authored-by: UneBaguette <[email protected] >
Co-committed-by: UneBaguette <[email protected] >
2026-07-02 15:16:25 +02:00
daxpedda
68cc7d3709
Test P-521 ( #127 )
2023-11-12 16:14:52 -08:00
Kevin Lewi
f79ebf9844
Updating dual-license language ( #110 )
2023-05-22 23:04:39 -07:00
daxpedda
83eb78b232
Test P-384 ( #84 )
2023-02-08 15:48:12 -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
daxpedda
652fd1d1d0
Group trait overhaul (#52 )
...
* Decouple element from `Group`
* Change `SUITE_ID` to `u16` and rework `get_context_string()`
* Rework scalar de-serialization
* Rename `Group` methods
- `random_nonzero_scalar` -> `random_scalar`
- `scalar_as_bytes` -> `serialize_scalar`
- `scalar_invert` -> `invert_scalar`
* Rework element de-serialization
* Rename and remove `Group` methods
`to_arr` -> `serialize_elem`
`base_point` -> `base_elem`
`is_identity` -> removed
`identity` -> `identity_elem`
`zero_scalar` -> hidden behind `cfg(test)`
* Sort `Group` methods
* Rework `expand_message_xmd` and remove utility
* Improve P256 `hash_to_scalar`
2022-01-18 03:34:28 -08:00
daxpedda
55ef981a3f
General Improvements ( #47 )
...
* Introduce `Result` shorthand, re-export and rename `InternalError`
* Re-export some public API relevant types
* Move `deserialize`
* Remove branch in `i2osp`
* Make `serialize` and `serialize_owned` methods
* Update p256
2021-12-25 16:54:27 -05:00
daxpedda
6669a0c4e6
Introduce ristretto255 crate feature ( #35 )
2021-12-23 01:50:48 -05:00
daxpedda
140f9e063d
Configure Rustfmt and Taplo ( #38 )
...
* Configure rustfmt
* Add Taplo configuration and run in CI
2021-12-22 19:17:03 -05:00
daxpedda
b1b315f23c
General improvements ( #34 )
...
* Minor improvements
* Fix `Debug` implementation
* Fix de-serialization
* Fix accidental usage of nightly
* Fix MSRV warning
* Replace macro with derive-where
* Add `rust-version` into `Cargo.toml`
* Move Serde trait implementation macro to `serialization` module
* Add ability to test without a Ristretto backend
* Improve docs
* Fix testing multiple backends together
* Implement `Ord` and `PartialOrd`
* `no_std` by default
* Remove unnecessary `doc_cfg`
* Remove dev-dependency on self
* Implement `Ord` and `PartialOrd` for `InternalError`
* Remove base64 encoding for serde
* Only take references
* Remove unnecessary qualifications from super-trait times
2021-12-21 14:17:02 -05:00
daxpedda
6fb4cad59c
Remove CipherSuite ( #20 )
...
* Remove `Hash`
* Remove `CipherSuite`
* Remove single field `struct`s
2021-10-05 15:53:18 -07:00
daxpedda
2d8780476a
Use Clippy on test code too ( #22 )
2021-10-05 15:19:20 -07:00
Kevin Lewi
4206fdbf48
Adding dual license ( #11 )
2021-09-27 18:53:06 -07:00
Kevin Lewi
f6f85e0a25
Adding deserialization checks ( #10 )
2021-09-27 18:29:08 -07:00