Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for p224ToBytes (0.21 sec)

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

    	var out [p224ElementLen]byte
    	return e.bytes(&out)
    }
    
    func (e *P224Element) bytes(out *[p224ElementLen]byte) []byte {
    	var tmp p224NonMontgomeryDomainFieldElement
    	p224FromMontgomery(&tmp, &e.x)
    	p224ToBytes(out, (*p224UntypedFieldElement)(&tmp))
    	p224InvertEndianness(out[:])
    	return out[:]
    }
    
    // SetBytes sets e = v, where v is a big-endian 28-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/p224_fiat64.go

    	var x3 uint64
    	p224CmovznzU64(&x3, arg1, arg2[2], arg3[2])
    	var x4 uint64
    	p224CmovznzU64(&x4, arg1, arg2[3], arg3[3])
    	out1[0] = x1
    	out1[1] = x2
    	out1[2] = x3
    	out1[3] = x4
    }
    
    // p224ToBytes 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
    - 43.2K bytes
    - Viewed (0)
Back to top