github.com/xraypb/xray-core@v1.6.6/common/protocol/quic/qtls_go118.go (about)

     1  package quic
     2  
     3  import (
     4  	"crypto/cipher"
     5  
     6  	"github.com/marten-seemann/qtls-go1-18"
     7  )
     8  
     9  type (
    10  	// A CipherSuiteTLS13 is a cipher suite for TLS 1.3
    11  	CipherSuiteTLS13 = qtls.CipherSuiteTLS13
    12  )
    13  
    14  func AEADAESGCMTLS13(key, fixedNonce []byte) cipher.AEAD {
    15  	return qtls.AEADAESGCMTLS13(key, fixedNonce)
    16  }