aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/internal/boring/sig/sig_other.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/internal/boring/sig/sig_other.s')
-rw-r--r--src/crypto/internal/boring/sig/sig_other.s19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/crypto/internal/boring/sig/sig_other.s b/src/crypto/internal/boring/sig/sig_other.s
new file mode 100644
index 0000000000..2eb31734ef
--- /dev/null
+++ b/src/crypto/internal/boring/sig/sig_other.s
@@ -0,0 +1,19 @@
+// 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.
+
+// These functions are no-ops.
+// On amd64 they have recognizable implementations, so that you can
+// search a particular binary to see if they are present.
+// On other platforms (those using this source file), they don't.
+
+// +build !amd64
+
+TEXT ·BoringCrypto(SB),$0
+ RET
+
+TEXT ·FIPSOnly(SB),$0
+ RET
+
+TEXT ·StandardCrypto(SB),$0
+ RET