go doc 源码

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

golang doc 代码

文件路径:/src/crypto/internal/boring/doc.go

// Copyright 2017 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.

// Package boring provides access to BoringCrypto implementation functions.
// Check the constant Enabled to find out whether BoringCrypto is available.
// If BoringCrypto is not available, the functions in this package all panic.
package boring

// Enabled reports whether BoringCrypto is available.
// When enabled is false, all functions in this package panic.
//
// BoringCrypto is only available on linux/amd64 systems.
const Enabled = available

// A BigInt is the raw words from a BigInt.
// This definition allows us to avoid importing math/big.
// Conversion between BigInt and *big.Int is in crypto/internal/boring/bbig.
type BigInt []uint

相关信息

go 源码目录

相关文章

go aes 源码

go boring 源码

go boring_test 源码

go ecdsa 源码

go hmac 源码

go notboring 源码

go rand 源码

go rsa 源码

go sha 源码

0  赞