github.com/imannamdari/v2ray-core/v5@v5.0.5/common/protocol/quic/qtls_go118.go (about) 1 //go:build go1.18 && !go1.19 2 3 package quic 4 5 import ( 6 "crypto/cipher" 7 8 "github.com/quic-go/qtls-go1-18" 9 ) 10 11 type ( 12 // A CipherSuiteTLS13 is a cipher suite for TLS 1.3 13 CipherSuiteTLS13 = qtls.CipherSuiteTLS13 14 ) 15 16 func AEADAESGCMTLS13(key, fixedNonce []byte) cipher.AEAD { 17 return qtls.AEADAESGCMTLS13(key, fixedNonce) 18 }