mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
* Removed Scalar::{from_bits, from_bytes_clamped}; all constructible scalars are now reduced mod l
* Made Scalar::reduce() not pub; fixed test warning
* Added benches for scalar add/sub/mul
* Docs
* Added EdwardsPoint::mul_base_clamped and gated Scalar::from_bits behind legacy_compatibility
* Added unit test for Mul impl on unreduced Scalars
* Added Montgomery::mul_base_clamped
* Added BasepointTable::mul_base_clamped
* Removed invalid scalar arithmetic test; this functionality is no longer supported
* Made clamp_integer() const
* Updated readme and changelog
* Added BasepointTable::mul_base_clamped to tests
* Added proper deprecation notice to Scalar::from_bits; added legacy_compatibility to Makefile and docsrs flags
12 lines
367 B
Makefile
12 lines
367 B
Makefile
FEATURES := serde rand_core digest legacy_compatibility
|
|
|
|
export RUSTFLAGS := --cfg=curve25519_dalek_backend="simd"
|
|
export RUSTDOCFLAGS := \
|
|
--cfg docsrs \
|
|
--html-in-header docs/assets/rustdoc-include-katex-header.html
|
|
|
|
doc:
|
|
cargo +nightly rustdoc --features "$(FEATURES)"
|
|
|
|
doc-internal:
|
|
cargo +nightly rustdoc --features "$(FEATURES)" -- --document-private-items
|