qtls_go117.go 352 B

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