func internal/byteorder.BEAppendUint16
14 uses
internal/byteorder (current package)
byteorder.go#L91: func BEAppendUint16(b []byte, v uint16) []byte {
crypto/hpke
hpke.go#L48: secrets = byteorder.BEAppendUint16(secrets, 0) // empty psk
hpke.go#L49: secrets = byteorder.BEAppendUint16(secrets, uint16(len(sharedSecret)))
hpke.go#L54: ksContext = byteorder.BEAppendUint16(ksContext, 0) // empty psk_id
hpke.go#L55: ksContext = byteorder.BEAppendUint16(ksContext, uint16(len(info)))
hpke.go#L258: suiteID = byteorder.BEAppendUint16(suiteID, kemID)
hpke.go#L259: suiteID = byteorder.BEAppendUint16(suiteID, kdfID)
hpke.go#L260: suiteID = byteorder.BEAppendUint16(suiteID, aeadID)
kdf.go#L96: labeledInfo = byteorder.BEAppendUint16(labeledInfo, length)
kem.go#L118: suiteID := byteorder.BEAppendUint16([]byte("KEM"), kem.id)
kem.go#L306: suiteID := byteorder.BEAppendUint16([]byte("KEM"), kem.id)
pq.go#L306: suiteID := byteorder.BEAppendUint16([]byte("KEM"), kem.id)
pq.go#L509: suiteID := byteorder.BEAppendUint16([]byte("KEM"), kem.id)
crypto/internal/fips140deps/byteorder
byteorder.go#L46: return byteorder.BEAppendUint16(b, v)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |