v2ray-core/common/protocol/quic/qtls_go118.go

20 lines
352 B
Go
Raw Permalink Normal View History

2022-08-19 19:11:54 +08:00
//go:build go1.18 && !go1.19
// +build go1.18,!go1.19
package quic
import (
"crypto/cipher"
"github.com/marten-seemann/qtls-go1-18"
)
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)
}