Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	var out [p384ElementLen]byte
    	return e.bytes(&out)
    }
    
    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.
    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/p384_fiat64.go

    	var x6 uint64
    	p384CmovznzU64(&x6, arg1, arg2[5], arg3[5])
    	out1[0] = x1
    	out1[1] = x2
    	out1[2] = x3
    	out1[3] = x4
    	out1[4] = x5
    	out1[5] = x6
    }
    
    // p384ToBytes 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
    - 90.8K bytes
    - Viewed (0)
Back to top