Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for p521ToBytes (0.12 sec)

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

    	var out [p521ElementLen]byte
    	return e.bytes(&out)
    }
    
    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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/fiat/p521_fiat64.go

    	out1[0] = x1
    	out1[1] = x2
    	out1[2] = x3
    	out1[3] = x4
    	out1[4] = x5
    	out1[5] = x6
    	out1[6] = x7
    	out1[7] = x8
    	out1[8] = x9
    }
    
    // p521ToBytes serializes a field element NOT in the Montgomery domain to bytes in little-endian order.
    //
    // Preconditions:
    //
    //	0 ≤ eval arg1 < m
    //
    // Postconditions:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:03 UTC 2022
    - 167K bytes
    - Viewed (0)
Back to top