notboring.go 748 B

12345678910111213141516171819202122
  1. // Copyright 2022 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:build !boringcrypto
  5. package tls
  6. func needFIPS() bool { return false }
  7. func supportedSignatureAlgorithms() []SignatureScheme {
  8. return defaultSupportedSignatureAlgorithms
  9. }
  10. func fipsMinVersion(c *Config) uint16 { panic("fipsMinVersion") }
  11. func fipsMaxVersion(c *Config) uint16 { panic("fipsMaxVersion") }
  12. func fipsCurvePreferences(c *Config) []CurveID { panic("fipsCurvePreferences") }
  13. func fipsCipherSuites(c *Config) []uint16 { panic("fipsCipherSuites") }
  14. var fipsSupportedSignatureAlgorithms []SignatureScheme
  15. var defaultCipherSuitesTLS13FIPS []uint16