github.com/xtls/xray-core@v1.8.12-0.20240518155711-3168d27b0bdb/common/protocol/quic/qtls_go118.go (about) 1 package quic 2 3 import ( 4 "crypto" 5 "crypto/cipher" 6 _ "crypto/tls" 7 _ "unsafe" 8 ) 9 10 type CipherSuiteTLS13 struct { 11 ID uint16 12 KeyLen int 13 AEAD func(key, fixedNonce []byte) cipher.AEAD 14 Hash crypto.Hash 15 } 16 17 //go:linkname AEADAESGCMTLS13 crypto/tls.aeadAESGCMTLS13 18 func AEADAESGCMTLS13(key, nonceMask []byte) cipher.AEAD