We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4be5c83 commit b5e32c0Copy full SHA for b5e32c0
2 files changed
bignp256/benches/field.rs
@@ -1,6 +1,6 @@
1
//! bign-curve256v1 `FieldElement` benchmarks
2
3
-use bignp256::arithmetic::FieldElement;
+use bignp256::FieldElement;
4
use criterion::{criterion_group, criterion_main};
5
6
const FE_A: FieldElement = FieldElement::from_hex_vartime(
bignp256/src/lib.rs
@@ -43,11 +43,14 @@ pub use {
43
secret_key::SecretKey,
44
};
45
46
+#[cfg(feature = "arithmetic")]
47
+pub use arithmetic::FieldElement;
48
+
49
/// Bign256 result type
50
pub type Result<T> = core::result::Result<T, Error>;
51
52
#[cfg(feature = "arithmetic")]
-pub mod arithmetic;
53
+pub(crate) mod arithmetic;
54
55
#[cfg(any(feature = "test-vectors", test))]
56
pub mod test_vectors;
0 commit comments