- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for p521MontgomeryDomainFieldElement (0.69 sec)
-
src/crypto/internal/nistec/fiat/p521.go
// // The zero value is a valid zero element. type P521Element struct { // Values are represented internally always in the Montgomery domain, and // converted in Bytes and SetBytes. x p521MontgomeryDomainFieldElement } const p521ElementLen = 66 type p521UntypedFieldElement = [9]uint64 // One sets e = 1, and returns e. func (e *P521Element) One() *P521Element { p521SetOne(&e.x) return e }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 3.6K bytes - Viewed (0) -
src/crypto/internal/nistec/fiat/p521_fiat64.go
// // Postconditions: // // eval (from_montgomery out1) mod m = (eval (from_montgomery arg1) * eval (from_montgomery arg2)) mod m // 0 ≤ eval out1 < m func p521Mul(out1 *p521MontgomeryDomainFieldElement, arg1 *p521MontgomeryDomainFieldElement, arg2 *p521MontgomeryDomainFieldElement) { x1 := arg1[1] x2 := arg1[2] x3 := arg1[3] x4 := arg1[4] x5 := arg1[5] x6 := arg1[6] x7 := arg1[7] x8 := arg1[8] x9 := arg1[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 05 21:53:03 UTC 2022 - 167K bytes - Viewed (0)