go notboring 源码

  • 2022-07-15
  • 浏览 (863)

golang notboring 代码

文件路径:/src/crypto/tls/notboring.go

// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !boringcrypto

package tls

func needFIPS() bool { return false }

func supportedSignatureAlgorithms() []SignatureScheme {
	return defaultSupportedSignatureAlgorithms
}

func fipsMinVersion(c *Config) uint16          { panic("fipsMinVersion") }
func fipsMaxVersion(c *Config) uint16          { panic("fipsMaxVersion") }
func fipsCurvePreferences(c *Config) []CurveID { panic("fipsCurvePreferences") }
func fipsCipherSuites(c *Config) []uint16      { panic("fipsCipherSuites") }

var fipsSupportedSignatureAlgorithms []SignatureScheme

相关信息

go 源码目录

相关文章

go alert 源码

go auth 源码

go auth_test 源码

go boring 源码

go boring_test 源码

go cipher_suites 源码

go common 源码

go common_string 源码

go conn 源码

go conn_test 源码

0  赞