Skip to content
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: 2 additions & 0 deletions k256/src/arithmetic/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ type BasepointTable = primeorder::BasepointTable<ProjectivePoint, WINDOW_SIZE>;
pub(super) static BASEPOINT_TABLE: BasepointTable = BasepointTable::new();

impl PrimeCurveWithBasepointTable<WINDOW_SIZE> for Secp256k1 {
/// Workaround for rust-lang/rust#140653: hide from rustdoc const-eval (E0080) until MSRV 1.90
#[doc(hidden)]
const BASEPOINT_TABLE: &'static BasepointTable = &BASEPOINT_TABLE;
}
2 changes: 2 additions & 0 deletions p256/src/arithmetic/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ pub(super) type BasepointTable = primeorder::BasepointTable<ProjectivePoint, WIN
pub(super) static BASEPOINT_TABLE: BasepointTable = BasepointTable::new();

impl PrimeCurveWithBasepointTable<WINDOW_SIZE> for NistP256 {
/// Workaround for rust-lang/rust#140653: hide from rustdoc const-eval (E0080) until MSRV 1.90
#[doc(hidden)]
const BASEPOINT_TABLE: &'static BasepointTable = &BASEPOINT_TABLE;
}

Expand Down
2 changes: 2 additions & 0 deletions p384/src/arithmetic/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ pub(super) type BasepointTable = primeorder::BasepointTable<ProjectivePoint, WIN
pub(super) static BASEPOINT_TABLE: BasepointTable = BasepointTable::new();

impl PrimeCurveWithBasepointTable<WINDOW_SIZE> for NistP384 {
/// Workaround for rust-lang/rust#140653: hide from rustdoc const-eval (E0080) until MSRV 1.90
#[doc(hidden)]
const BASEPOINT_TABLE: &'static BasepointTable = &BASEPOINT_TABLE;
}

Expand Down
2 changes: 2 additions & 0 deletions p521/src/arithmetic/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ pub(super) type BasepointTable = primeorder::BasepointTable<ProjectivePoint, WIN
pub(super) static BASEPOINT_TABLE: BasepointTable = BasepointTable::new();

impl PrimeCurveWithBasepointTable<WINDOW_SIZE> for NistP521 {
/// Workaround for rust-lang/rust#140653: hide from rustdoc const-eval (E0080) until MSRV 1.90
#[doc(hidden)]
const BASEPOINT_TABLE: &'static BasepointTable = &BASEPOINT_TABLE;
}

Expand Down
2 changes: 2 additions & 0 deletions sm2/src/arithmetic/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ pub(super) type BasepointTable = primeorder::BasepointTable<ProjectivePoint, WIN
pub(super) static BASEPOINT_TABLE: BasepointTable = BasepointTable::new();

impl PrimeCurveWithBasepointTable<WINDOW_SIZE> for Sm2 {
/// Workaround for rust-lang/rust#140653: hide from rustdoc const-eval (E0080) until MSRV 1.90
#[doc(hidden)]
const BASEPOINT_TABLE: &'static BasepointTable = &BASEPOINT_TABLE;
}

Expand Down
Loading