MCPcopy Create free account
hub / github.com/XTLS/REALITY / explicitNonceLen

Method explicitNonceLen

cipher_suites.go:461–461  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

459func (f *prefixNonceAEAD) NonceSize() int { return aeadNonceLength - noncePrefixLength }
460func (f *prefixNonceAEAD) Overhead() int { return f.aead.Overhead() }
461func (f *prefixNonceAEAD) explicitNonceLen() int { return f.NonceSize() }
462
463func (f *prefixNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte {
464 copy(f.nonce[4:], nonce)

Callers

nothing calls this directly

Calls 1

NonceSizeMethod · 0.95

Tested by

no test coverage detected