Constant time cmov (#241)
* Constant time `cmov` * Adjust byte size * Move from `to_signed_bytes_le` to `to_bytes_le` * Add experimental p256 warning * Remove redundant sign handling in `cmov` * Remove unnecessary `Sub` implementation * Improve note on missing constant-time implementations * Move `inv0()` to `FieldElement` * Fix Rust 1.51 compilation * Remove unnecessary reference Co-authored-by: Kevin Lewi <[email protected]>
This commit is contained in:
+2
-1
@@ -819,7 +819,8 @@
|
||||
//! [curve25519-dalek](https://doc.dalek.rs/curve25519_dalek/index.html#backends-and-features) and allow for selecting
|
||||
//! the corresponding backend for the curve arithmetic used. The `u64_backend` feature is included as the default.
|
||||
//!
|
||||
//! - The `p256` feature enables the use of `p256::ProjectivePoint` as a `Group` for `CipherSuite`.
|
||||
//! - The `p256` feature enables the use of `p256::ProjectivePoint` as a `Group` for `CipherSuite`. Note that this
|
||||
//! is currently an experimental feature ⚠️, and is not yet ready for production use.
|
||||
//!
|
||||
//! - The `bench` feature is used only for running performance benchmarks for this implementation.
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user