mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Merge branch 'feature/private-limbs' into develop
This commit is contained in:
commit
eda4abbea8
2 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ use utils::{load3, load4};
|
|||
/// faster. However, the `FieldElement64` implementation requires Rust's
|
||||
/// `u128`, which is not yet stable.
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct FieldElement32(pub [i32; 10]);
|
||||
pub struct FieldElement32(pub (crate) [i32; 10]);
|
||||
|
||||
impl Debug for FieldElement32 {
|
||||
fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ pub type Limb = u64;
|
|||
/// which gives even better performance. This implementation requires Rust's
|
||||
/// `u128`, which is not yet stable.
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct FieldElement64(pub [u64; 5]);
|
||||
pub struct FieldElement64(pub (crate) [u64; 5]);
|
||||
|
||||
impl Debug for FieldElement64 {
|
||||
fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
|
||||
|
|
|
|||
Loading…
Reference in a new issue