mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-05 06:33:02 +00:00
17 lines
290 B
Go
17 lines
290 B
Go
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)
|
|
}
|