mirror of
https://github.com/pseXperiments/ff-Goldilocks.git
synced 2026-01-09 13:07:59 -05:00
expose inner field
This commit is contained in:
@@ -18,7 +18,7 @@ use crate::util::{assume, try_inverse_u64};
|
||||
/// where the value can be between 0 and 2^64.
|
||||
/// For unique representation of its form, use `to_canonical_u64`
|
||||
#[derive(Clone, Copy, Debug, Default, Eq, Serialize, Deserialize, Hash)]
|
||||
pub struct Goldilocks(pub(crate) u64);
|
||||
pub struct Goldilocks(pub u64);
|
||||
|
||||
impl SerdeObject for Goldilocks {
|
||||
/// The purpose of unchecked functions is to read the internal memory representation
|
||||
|
||||
Reference in New Issue
Block a user