mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-18 07:17:32 -05:00
19 lines
320 B
Go
19 lines
320 B
Go
//go:build go1.18 && !go1.19
|
|
|
|
package quic
|
|
|
|
import (
|
|
"crypto/cipher"
|
|
|
|
"github.com/quic-go/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)
|
|
}
|