Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor documentation typos #178

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/elliptic/curves/bls12_381/g2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ impl ECPoint for G2Point {
}

impl G2Point {
/// Converts message to G1 point.
/// Converts message to G2 point.
///
/// Uses [expand_message_xmd][xmd] based on sha256.
///
Expand Down
2 changes: 1 addition & 1 deletion src/elliptic/curves/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ pub trait ECPoint: Zeroize + Clone + PartialEq + fmt::Debug + Sync + Send + 'sta
/// For curves with co-factor ≠ 1, following check must be carried out:
///
/// ```text
/// P ≠ 0 ∧ qP 0
/// P ≠ 0 ∧ qP = 0
/// ```
///
/// For curves with co-factor = 1, the check above can be reduced to: `P ≠ 0`.
Expand Down