Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crate-crypto/Ed448-Goldilocks
/ functions
Functions
233 in github.com/crate-crypto/Ed448-Goldilocks
⨍
Functions
233
◇
Types & classes
18
Method
default
()
src/field/fiat_u64/prime_field.rs:104
Method
default
()
src/field/u32/prime_field.rs:95
Function
derive_base_points
()
src/curve/edwards/extended.rs:438
Method
double
Doubles a point (3.3) https://iacr.org/archive/asiacrypt2008/53500329/53500329.pdf
src/curve/twedwards/extensible.rs:53
Function
double_base_scalar_mul
XXX: Really in-efficient way to do double base scala mul Replace it with endomorphism from pornin or use naf form Computes aA + bB where B is the Twis
src/curve/scalar_mul/double_base.rs:10
Method
encode
(&self)
src/ristretto/ristretto.rs:48
Method
eq
(&self, other: &CompressedRistretto)
src/ristretto/ristretto.rs:25
Method
eq
(&self, other: &ExtendedPoint)
src/curve/edwards/extended.rs:82
Method
eq
(&self, other: &MontgomeryPoint)
src/curve/montgomery/montgomery.rs:60
Method
eq
(&self, other: &ExtensiblePoint)
src/curve/twedwards/extensible.rs:35
Method
eq
(&self, other: &ExtendedPoint)
src/curve/twedwards/extended.rs:42
Method
eq
(&self, other: &ProjectiveNielsPoint)
src/curve/twedwards/projective.rs:24
Method
eq
(&self, other: &CompressedDecaf)
src/decaf/decaf.rs:28
Method
eq
(&self, other: &FieldElement)
src/field/mod.rs:25
Method
eq
(&self, other: &Scalar)
src/field/scalar.rs:34
Method
equals
(&self, other: &RistrettoPoint)
src/ristretto/ristretto.rs:42
Method
equals
Checks if two AffineNielsPoints are equal Returns true if they are
src/curve/twedwards/affine.rs:105
Method
equals
(&self, other: &DecafPoint)
src/decaf/decaf.rs:49
Method
fmt
(&self, formatter: &mut fmt::Formatter)
src/ristretto/ristretto.rs:13
Method
fmt
(&self, formatter: &mut fmt::Formatter)
src/curve/montgomery/montgomery.rs:48
Method
fmt
(&self, formatter: &mut fmt::Formatter)
src/decaf/decaf.rs:16
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/field/fiat_u64/prime_field.rs:17
Method
from
(point: &ExtendedPoint)
src/curve/scalar_mul/window/wnaf/mod.rs:11
Method
from
(a: u32)
src/field/scalar.rs:41
Method
from_bytes
(bytes: [u8; 56])
src/field/scalar.rs:149
Method
from_bytes
This does not check if the encoding is canonical (ie if the input is reduced) We parse in chunks of 56 bytes, the first 28 bytes will contain the i'th
src/field/fiat_u64/prime_field.rs:156
Method
from_bytes
This does not check if the encoding is canonical (ie if the input is reduced) We parse in chunks of 56 bytes, the first 28 bytes will contain the i'th
src/field/u32/prime_field.rs:141
Method
from_bytes_mod_order_wide
Construct a `Scalar` by reducing a 912-bit little-endian integer modulo the group order ℓ.
src/field/scalar.rs:304
Method
from_canonical_bytes
Attempt to construct a `Scalar` from a canonical byte representation. # Return - `Some(s)`, where `s` is the `Scalar` corresponding to `bytes`, if `
src/field/scalar.rs:277
Method
from_raw_slice
Helper function for internally constructing a field element
src/field/fiat_u64/prime_field.rs:149
Method
from_raw_slice
Helper function for internally constructing a field element
src/field/u32/prime_field.rs:134
Method
generator
Generator for the prime subgroup
src/curve/edwards/extended.rs:105
Method
generator
Returns the generator specified in RFC7748
src/curve/montgomery/montgomery.rs:123
Method
generator
Generator for the prime subgroup
src/curve/twedwards/extended.rs:66
Method
generator
()
src/decaf/decaf.rs:45
Method
halve
Halves a Scalar modulo the prime
src/field/scalar.rs:250
Method
identity
()
src/ristretto/ristretto.rs:38
Method
identity
Identity point
src/curve/edwards/extended.rs:96
Method
identity
()
src/curve/edwards/affine.rs:11
Method
identity
()
src/curve/montgomery/montgomery.rs:192
Method
identity
()
src/curve/twedwards/extensible.rs:42
Method
identity
Identity point
src/curve/twedwards/extended.rs:56
Method
identity
()
src/curve/twedwards/projective.rs:48
Method
identity
Identity element
src/curve/twedwards/affine.rs:27
Method
identity
()
src/decaf/decaf.rs:41
Method
index
(&self, index: usize)
src/field/scalar.rs:48
Method
index
(&self, a: usize)
src/field/fiat_u64/prime_field.rs:28
Method
index
(&self, a: usize)
src/field/u32/prime_field.rs:19
Method
index_mut
(&mut self, index: usize)
src/field/scalar.rs:53
Method
index_mut
(&mut self, a: usize)
src/field/fiat_u64/prime_field.rs:34
Method
index_mut
(&mut self, a: usize)
src/field/u32/prime_field.rs:25
Method
is_low_order
Returns true if the point is one of the low order points
src/curve/montgomery/montgomery.rs:114
Method
is_negative
(&self)
src/field/fiat_u64/prime_field.rs:138
Method
is_on_curve
(&self)
src/curve/edwards/extended.rs:214
Method
is_on_curve
Checks if the point is on the curve
src/curve/twedwards/extended.rs:137
Method
is_on_curve
Checks if the AffinePoint is on the TwistedEdwards curve
src/curve/twedwards/affine.rs:34
Method
is_torsion_free
Determine if this point is “torsion-free”, i.e., is contained in the prime-order subgroup. # Return `true` if `self` has zero torsion component and
src/curve/edwards/extended.rs:299
Method
is_zero
Checks if a field element is zero
src/field/mod.rs:33
Method
minus_one
()
src/field/fiat_u64/prime_field.rs:120
Method
minus_one
()
src/field/u32/prime_field.rs:111
Method
mul
Scalar multiplication: compute `scalar * self`.
src/curve/edwards/extended.rs:401
Method
mul
(self, scalar: &Scalar)
src/curve/montgomery/montgomery.rs:74
Method
mul
(self, scalar: &'s Scalar)
src/decaf/ops.rs:10
Method
mul
(self, rhs: Scalar)
src/field/scalar.rs:68
Method
mul
(self, rhs: &FieldElement56)
src/field/fiat_u64/prime_field.rs:40
Method
mul
(self, rhs: FieldElement28)
src/field/u32/prime_field.rs:31
Method
mul_assign
(&mut self, scalar: &'b Scalar)
src/curve/edwards/extended.rs:387
Method
neg
(self)
src/curve/edwards/extended.rs:369
Method
neg
(self)
src/decaf/ops.rs:68
Method
one
()
src/field/scalar.rs:86
Method
one
()
src/field/fiat_u64/prime_field.rs:117
Method
one
()
src/field/u32/prime_field.rs:108
Method
random
(rng: &mut R)
src/field/scalar.rs:338
Method
sqrt_ratio
Computes the square root ratio of two elements
src/field/mod.rs:116
Method
square
Squares a field element
src/field/fiat_u64/prime_field.rs:172
Method
strong_reduce
Reduces the field element to a canonical representation This is used when checking equality between two field elements and when encoding a field eleme
src/field/fiat_u64/prime_field.rs:191
Method
sub
(self, other: &'b ExtendedPoint)
src/curve/edwards/extended.rs:331
Method
sub
(self, other: &'a DecafPoint)
src/decaf/ops.rs:53
Method
sub
(&self, other: &DecafPoint)
src/decaf/decaf.rs:57
Method
sub
(self, rhs: Scalar)
src/field/scalar.rs:75
Method
sub
(self, rhs: FieldElement56)
src/field/fiat_u64/prime_field.rs:75
Method
sub
(mut self, rhs: FieldElement28)
src/field/u32/prime_field.rs:52
Method
sub_assign
(&mut self, _rhs: &'b ExtendedPoint)
src/curve/edwards/extended.rs:343
Method
sub_carry
(a: u32, b: i64)
src/field/u32/prime_field.rs:261
Method
sum
(iter: I)
src/curve/edwards/extended.rs:354
Function
test_basic_add
()
src/field/scalar.rs:441
Function
test_basic_halving
()
src/field/scalar.rs:503
Function
test_basic_inversion
()
src/field/scalar.rs:522
Function
test_basic_mul
()
src/field/scalar.rs:456
Function
test_basic_mul
()
src/field/u32/karatsuba.rs:397
Function
test_basic_square
()
src/field/scalar.rs:483
Function
test_basic_sub
()
src/field/scalar.rs:449
Function
test_compress_decompress
()
src/curve/edwards/extended.rs:471
Function
test_conditional_negate
()
src/curve/twedwards/projective.rs:67
Function
test_debug
()
src/field/scalar.rs:545
Function
test_decompress_compress
()
src/curve/edwards/extended.rs:482
Function
test_edwards_ristretto_operations
()
src/decaf/decaf.rs:136
Function
test_equals
()
src/field/scalar.rs:513
Function
test_from_bytes_mod_order_wide
()
src/field/scalar.rs:577
Function
test_from_canonical_bytes
()
src/field/scalar.rs:553
← previous
next →
101–200 of 233, ranked by callers