github.com/imannamdari/v2ray-core/v5@v5.0.5/common/protocol/quic/qtls_go120.go (about)

     1  //go:build go1.20
     2  
     3  package quic
     4  
     5  import (
     6  	"crypto/cipher"
     7  
     8  	"github.com/imannamdari/qtls-go1-20"
     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  }