| 1 |
// Copyright 2017 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 |
// These functions are no-ops. |
| 6 |
// On amd64 they have recognizable implementations, so that you can |
| 7 |
// search a particular binary to see if they are present. |
| 8 |
// On other platforms (those using this source file), they don't. |
| 9 |
|
| 10 |
//go:build !amd64 |
| 11 |
|
| 12 |
TEXT ·BoringCrypto(SB),$0 |
| 13 |
RET |
| 14 |
|
| 15 |
TEXT ·FIPSOnly(SB),$0 |
| 16 |
RET |
| 17 |
|
| 18 |
TEXT ·StandardCrypto(SB),$0 |
| 19 |
RET |