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: 1 addition & 1 deletion bignp256/benches/field.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! bign-curve256v1 `FieldElement` benchmarks

use bignp256::arithmetic::FieldElement;
use bignp256::FieldElement;
use criterion::{criterion_group, criterion_main};

const FE_A: FieldElement = FieldElement::from_hex_vartime(
Expand Down
5 changes: 4 additions & 1 deletion bignp256/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,14 @@ pub use {
secret_key::SecretKey,
};

#[cfg(feature = "arithmetic")]
pub use arithmetic::FieldElement;

/// Bign256 result type
pub type Result<T> = core::result::Result<T, Error>;

#[cfg(feature = "arithmetic")]
pub mod arithmetic;
pub(crate) mod arithmetic;

#[cfg(any(feature = "test-vectors", test))]
pub mod test_vectors;
Expand Down