Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for p384InvertEndianness (0.13 sec)

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

    }
    
    func (e *P384Element) bytes(out *[p384ElementLen]byte) []byte {
    	var tmp p384NonMontgomeryDomainFieldElement
    	p384FromMontgomery(&tmp, &e.x)
    	p384ToBytes(out, (*p384UntypedFieldElement)(&tmp))
    	p384InvertEndianness(out[:])
    	return out[:]
    }
    
    // SetBytes sets e = v, where v is a big-endian 48-byte encoding, and returns e.
    // If v is not 48 bytes or it encodes a value higher than 2^384 - 2^128 - 2^96 + 2^32 - 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