MCPcopy
hub / github.com/XTLS/REALITY / Overhead

Method Overhead

cipher_suites.go:481–481  ·  view source on GitHub ↗

64-bit sequence number

()

Source from the content-addressed store, hash-verified

479
480func (f *xorNonceAEAD) NonceSize() int { return 8 } // 64-bit sequence number
481func (f *xorNonceAEAD) Overhead() int { return f.aead.Overhead() }
482func (f *xorNonceAEAD) explicitNonceLen() int { return 0 }
483
484func (f *xorNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte {

Callers 4

decryptMethod · 0.45
encryptMethod · 0.45
OverheadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected