func newTCPCryptoState(sessionKey *[32]byte, outbound bool) *tcpCryptoState {
	s := &tcpCryptoState{sessionKey: sessionKey}
	if outbound {
		s.nonce[0] |= (1 << 7)
	}
	s.nonce[0] |= (1 << 6)
	return s
}
func newTCPCryptoState(sessionKey *[32]byte, outbound bool) *tcpCryptoState {
	s := &tcpCryptoState{sessionKey: sessionKey}
	if outbound {
		s.nonce[0] |= (1 << 7)
	}
	s.nonce[0] |= (1 << 6)
	return s
}
func newTCPCryptoState ( sessionKey * [ 32 ] byte , outbound bool ) * tcpCryptoState { s := & tcpCryptoState { sessionKey : sessionKey } if outbound { s . nonce [ 0 ] |= ( 1 << 7 ) } s . nonce [ 0 ] |= ( 1 << 6 ) return s }
// NewTCPCryptoState returns a valid TCPCryptoState.
NewTCPCryptoState returns a valid TCPCryptoState .