Source file src/crypto/tls/notboring.go

     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
    21  

View as plain text