qtls_go120.go 309 B

123456789101112131415161718
  1. //go:build go1.20
  2. package quic
  3. import (
  4. "crypto/cipher"
  5. "github.com/quic-go/qtls-go1-20"
  6. )
  7. type (
  8. // A CipherSuiteTLS13 is a cipher suite for TLS 1.3
  9. CipherSuiteTLS13 = qtls.CipherSuiteTLS13
  10. )
  11. func AEADAESGCMTLS13(key, fixedNonce []byte) cipher.AEAD {
  12. return qtls.AEADAESGCMTLS13(key, fixedNonce)
  13. }