- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for p384ToMontgomery (0.1 sec)
-
src/crypto/internal/nistec/fiat/p384.go
} } var in [p384ElementLen]byte copy(in[:], v) p384InvertEndianness(in[:]) var tmp p384NonMontgomeryDomainFieldElement p384FromBytes((*p384UntypedFieldElement)(&tmp), &in) p384ToMontgomery(&e.x, &tmp) return e, nil } // Add sets e = t1 + t2, and returns e. func (e *P384Element) Add(t1, t2 *P384Element) *P384Element { p384Add(&e.x, &t1.x, &t2.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/p384_fiat64.go
out1[3] = x307 out1[4] = x308 out1[5] = x309 } // p384ToMontgomery translates a field element into the Montgomery domain. // // Preconditions: // // 0 ≤ eval arg1 < m // // Postconditions: // // eval (from_montgomery out1) mod m = eval arg1 mod m // 0 ≤ eval out1 < m func p384ToMontgomery(out1 *p384MontgomeryDomainFieldElement, arg1 *p384NonMontgomeryDomainFieldElement) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 05 21:53:03 UTC 2022 - 90.8K bytes - Viewed (0)