MCPcopy Create free account

hub / github.com/crate-crypto/Ed448-Goldilocks / functions

Functions233 in github.com/crate-crypto/Ed448-Goldilocks

Methoddefault
()
src/field/fiat_u64/prime_field.rs:104
Methoddefault
()
src/field/u32/prime_field.rs:95
Functionderive_base_points
()
src/curve/edwards/extended.rs:438
Methoddouble
Doubles a point (3.3) https://iacr.org/archive/asiacrypt2008/53500329/53500329.pdf
src/curve/twedwards/extensible.rs:53
Functiondouble_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
Methodencode
(&self)
src/ristretto/ristretto.rs:48
Methodeq
(&self, other: &CompressedRistretto)
src/ristretto/ristretto.rs:25
Methodeq
(&self, other: &ExtendedPoint)
src/curve/edwards/extended.rs:82
Methodeq
(&self, other: &MontgomeryPoint)
src/curve/montgomery/montgomery.rs:60
Methodeq
(&self, other: &ExtensiblePoint)
src/curve/twedwards/extensible.rs:35
Methodeq
(&self, other: &ExtendedPoint)
src/curve/twedwards/extended.rs:42
Methodeq
(&self, other: &ProjectiveNielsPoint)
src/curve/twedwards/projective.rs:24
Methodeq
(&self, other: &CompressedDecaf)
src/decaf/decaf.rs:28
Methodeq
(&self, other: &FieldElement)
src/field/mod.rs:25
Methodeq
(&self, other: &Scalar)
src/field/scalar.rs:34
Methodequals
(&self, other: &RistrettoPoint)
src/ristretto/ristretto.rs:42
Methodequals
Checks if two AffineNielsPoints are equal Returns true if they are
src/curve/twedwards/affine.rs:105
Methodequals
(&self, other: &DecafPoint)
src/decaf/decaf.rs:49
Methodfmt
(&self, formatter: &mut fmt::Formatter)
src/ristretto/ristretto.rs:13
Methodfmt
(&self, formatter: &mut fmt::Formatter)
src/curve/montgomery/montgomery.rs:48
Methodfmt
(&self, formatter: &mut fmt::Formatter)
src/decaf/decaf.rs:16
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/field/fiat_u64/prime_field.rs:17
Methodfrom
(point: &ExtendedPoint)
src/curve/scalar_mul/window/wnaf/mod.rs:11
Methodfrom
(a: u32)
src/field/scalar.rs:41
Methodfrom_bytes
(bytes: [u8; 56])
src/field/scalar.rs:149
Methodfrom_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
Methodfrom_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
Methodfrom_bytes_mod_order_wide
Construct a `Scalar` by reducing a 912-bit little-endian integer modulo the group order ℓ.
src/field/scalar.rs:304
Methodfrom_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
Methodfrom_raw_slice
Helper function for internally constructing a field element
src/field/fiat_u64/prime_field.rs:149
Methodfrom_raw_slice
Helper function for internally constructing a field element
src/field/u32/prime_field.rs:134
Methodgenerator
Generator for the prime subgroup
src/curve/edwards/extended.rs:105
Methodgenerator
Returns the generator specified in RFC7748
src/curve/montgomery/montgomery.rs:123
Methodgenerator
Generator for the prime subgroup
src/curve/twedwards/extended.rs:66
Methodgenerator
()
src/decaf/decaf.rs:45
Methodhalve
Halves a Scalar modulo the prime
src/field/scalar.rs:250
Methodidentity
()
src/ristretto/ristretto.rs:38
Methodidentity
Identity point
src/curve/edwards/extended.rs:96
Methodidentity
()
src/curve/edwards/affine.rs:11
Methodidentity
()
src/curve/montgomery/montgomery.rs:192
Methodidentity
()
src/curve/twedwards/extensible.rs:42
Methodidentity
Identity point
src/curve/twedwards/extended.rs:56
Methodidentity
()
src/curve/twedwards/projective.rs:48
Methodidentity
Identity element
src/curve/twedwards/affine.rs:27
Methodidentity
()
src/decaf/decaf.rs:41
Methodindex
(&self, index: usize)
src/field/scalar.rs:48
Methodindex
(&self, a: usize)
src/field/fiat_u64/prime_field.rs:28
Methodindex
(&self, a: usize)
src/field/u32/prime_field.rs:19
Methodindex_mut
(&mut self, index: usize)
src/field/scalar.rs:53
Methodindex_mut
(&mut self, a: usize)
src/field/fiat_u64/prime_field.rs:34
Methodindex_mut
(&mut self, a: usize)
src/field/u32/prime_field.rs:25
Methodis_low_order
Returns true if the point is one of the low order points
src/curve/montgomery/montgomery.rs:114
Methodis_negative
(&self)
src/field/fiat_u64/prime_field.rs:138
Methodis_on_curve
(&self)
src/curve/edwards/extended.rs:214
Methodis_on_curve
Checks if the point is on the curve
src/curve/twedwards/extended.rs:137
Methodis_on_curve
Checks if the AffinePoint is on the TwistedEdwards curve
src/curve/twedwards/affine.rs:34
Methodis_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
Methodis_zero
Checks if a field element is zero
src/field/mod.rs:33
Methodminus_one
()
src/field/fiat_u64/prime_field.rs:120
Methodminus_one
()
src/field/u32/prime_field.rs:111
Methodmul
Scalar multiplication: compute `scalar * self`.
src/curve/edwards/extended.rs:401
Methodmul
(self, scalar: &Scalar)
src/curve/montgomery/montgomery.rs:74
Methodmul
(self, scalar: &'s Scalar)
src/decaf/ops.rs:10
Methodmul
(self, rhs: Scalar)
src/field/scalar.rs:68
Methodmul
(self, rhs: &FieldElement56)
src/field/fiat_u64/prime_field.rs:40
Methodmul
(self, rhs: FieldElement28)
src/field/u32/prime_field.rs:31
Methodmul_assign
(&mut self, scalar: &'b Scalar)
src/curve/edwards/extended.rs:387
Methodneg
(self)
src/curve/edwards/extended.rs:369
Methodneg
(self)
src/decaf/ops.rs:68
Methodone
()
src/field/scalar.rs:86
Methodone
()
src/field/fiat_u64/prime_field.rs:117
Methodone
()
src/field/u32/prime_field.rs:108
Methodrandom
(rng: &mut R)
src/field/scalar.rs:338
Methodsqrt_ratio
Computes the square root ratio of two elements
src/field/mod.rs:116
Methodsquare
Squares a field element
src/field/fiat_u64/prime_field.rs:172
Methodstrong_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
Methodsub
(self, other: &'b ExtendedPoint)
src/curve/edwards/extended.rs:331
Methodsub
(self, other: &'a DecafPoint)
src/decaf/ops.rs:53
Methodsub
(&self, other: &DecafPoint)
src/decaf/decaf.rs:57
Methodsub
(self, rhs: Scalar)
src/field/scalar.rs:75
Methodsub
(self, rhs: FieldElement56)
src/field/fiat_u64/prime_field.rs:75
Methodsub
(mut self, rhs: FieldElement28)
src/field/u32/prime_field.rs:52
Methodsub_assign
(&mut self, _rhs: &'b ExtendedPoint)
src/curve/edwards/extended.rs:343
Methodsub_carry
(a: u32, b: i64)
src/field/u32/prime_field.rs:261
Methodsum
(iter: I)
src/curve/edwards/extended.rs:354
Functiontest_basic_add
()
src/field/scalar.rs:441
Functiontest_basic_halving
()
src/field/scalar.rs:503
Functiontest_basic_inversion
()
src/field/scalar.rs:522
Functiontest_basic_mul
()
src/field/scalar.rs:456
Functiontest_basic_mul
()
src/field/u32/karatsuba.rs:397
Functiontest_basic_square
()
src/field/scalar.rs:483
Functiontest_basic_sub
()
src/field/scalar.rs:449
Functiontest_compress_decompress
()
src/curve/edwards/extended.rs:471
Functiontest_conditional_negate
()
src/curve/twedwards/projective.rs:67
Functiontest_debug
()
src/field/scalar.rs:545
Functiontest_decompress_compress
()
src/curve/edwards/extended.rs:482
Functiontest_edwards_ristretto_operations
()
src/decaf/decaf.rs:136
Functiontest_equals
()
src/field/scalar.rs:513
Functiontest_from_bytes_mod_order_wide
()
src/field/scalar.rs:577
Functiontest_from_canonical_bytes
()
src/field/scalar.rs:553
← previousnext →101–200 of 233, ranked by callers