mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Clarify wording on canonical scalars
This commit is contained in:
parent
35e1b07e72
commit
46048e451b
1 changed files with 4 additions and 2 deletions
|
|
@ -69,8 +69,10 @@
|
|||
//! ## Scalars
|
||||
//!
|
||||
//! Scalars are represented by the `Scalar` struct. Each scalar has a
|
||||
//! canonical representative mod the group order; see
|
||||
//! `Scalar::from_canonical_bytes()` and `Scalar::is_canonical()`.
|
||||
//! canonical representative mod the group order. To attempt to load
|
||||
//! a supposedly-canonical scalar, use
|
||||
//! `Scalar::from_canonical_bytes()`. To check whether a
|
||||
//! representative is canonical, use `Scalar::is_canonical()`.
|
||||
//!
|
||||
//! ## Scalar Multiplication
|
||||
//!
|
||||
|
|
|
|||
Loading…
Reference in a new issue