1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-08-21 20:04:51 -04:00
v2fly/common/protocol/quic/qtls_go120.go
2023-02-03 17:08:53 +08:00

19 lines
309 B
Go

//go:build go1.20
package quic
import (
"crypto/cipher"
"github.com/quic-go/qtls-go1-20"
)
type (
// A CipherSuiteTLS13 is a cipher suite for TLS 1.3
CipherSuiteTLS13 = qtls.CipherSuiteTLS13
)
func AEADAESGCMTLS13(key, fixedNonce []byte) cipher.AEAD {
return qtls.AEADAESGCMTLS13(key, fixedNonce)
}