1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-22 19:55:55 -04:00
v2fly/common/protocol/quic/qtls_go119.go

20 lines
333 B
Go
Raw Normal View History

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