Hunter0x7c7
2022-08-11 a82f9cb69f63aaeba40c024960deda7d75b9fece
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//go:build go1.16 && !go1.17
// +build go1.16,!go1.17
 
package quic
 
import (
    "crypto/cipher"
 
    "github.com/marten-seemann/qtls-go1-16"
)
 
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)
}