Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for randomPoint (0.14 sec)

  1. src/crypto/ecdsa/ecdsa_legacy.go

    // randFieldElement returns a random element of the order of the given
    // curve using the procedure given in FIPS 186-4, Appendix B.5.2.
    func randFieldElement(c elliptic.Curve, rand io.Reader) (k *big.Int, err error) {
    	// See randomPoint for notes on the algorithm. This has to match, or s390x
    	// signatures will come out different from other architectures, which will
    	// break TLS recorded tests.
    	for {
    		N := c.Params().N
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top