Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for p521InvertEndianness (0.27 sec)

  1. src/crypto/internal/nistec/fiat/p521.go

    }
    
    func (e *P521Element) bytes(out *[p521ElementLen]byte) []byte {
    	var tmp p521NonMontgomeryDomainFieldElement
    	p521FromMontgomery(&tmp, &e.x)
    	p521ToBytes(out, (*p521UntypedFieldElement)(&tmp))
    	p521InvertEndianness(out[:])
    	return out[:]
    }
    
    // SetBytes sets e = v, where v is a big-endian 66-byte encoding, and returns e.
    // If v is not 66 bytes or it encodes a value higher than 2^521 - 1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top