github.com/JimmyHuang454/JLS-go@v0.0.0-20230831150107-90d536585ba0/tls/notboring.go (about) 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 5 //go:build !boringcrypto 6 7 package tls 8 9 func needFIPS() bool { return false } 10 11 func supportedSignatureAlgorithms() []SignatureScheme { 12 return defaultSupportedSignatureAlgorithms 13 } 14 15 func fipsMinVersion(c *Config) uint16 { panic("fipsMinVersion") } 16 func fipsMaxVersion(c *Config) uint16 { panic("fipsMaxVersion") } 17 func fipsCurvePreferences(c *Config) []CurveID { panic("fipsCurvePreferences") } 18 func fipsCipherSuites(c *Config) []uint16 { panic("fipsCipherSuites") } 19 20 var fipsSupportedSignatureAlgorithms []SignatureScheme