aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/internal/boring/doc.go
blob: 64f41e3c823e8437e00629740022ea0ddd06ae01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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