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

Refactor some internals of ff #492

Merged
merged 8 commits into from
Oct 26, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix documentation
  • Loading branch information
Pratyush committed Oct 26, 2022
commit 5262076a3fcfc3e8344ce3b833f70edef38ce06b
6 changes: 3 additions & 3 deletions ff/src/fields/cyclotomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub trait CyclotomicMultSubgroup: crate::Field {
/// By default this is `false`, but should be set to `true` for quadratic extensions.
const INVERSE_IS_FAST: bool = false;

/// Compute a square in the cyclotomic subgroup. By default this is computed using [`Field::square`], but for
/// Compute a square in the cyclotomic subgroup. By default this is computed using [`Field::square`](crate::Field::square), but for
/// degree 12 extensions, this can be computed faster than normal squaring.
///
/// # Warning
Expand All @@ -26,7 +26,7 @@ pub trait CyclotomicMultSubgroup: crate::Field {
}

/// Square `self` in place. By default this is computed using
/// [`Field::square_in_place`], but for degree 12 extensions,
/// [`Field::square_in_place`](crate::Field::square_in_place), but for degree 12 extensions,
/// this can be computed faster than normal squaring.
///
/// # Warning
Expand Down Expand Up @@ -68,7 +68,7 @@ pub trait CyclotomicMultSubgroup: crate::Field {
result
}

/// Set `self` to be the result of exponentiating [`self`] by `e`,
/// Set `self` to be the result of exponentiating `self` by `e`,
/// using efficient cyclotomic algorithms.
///
/// # Warning
Expand Down