summaryrefslogtreecommitdiff
path: root/libgo/go/crypto/internal/cipherhw/generic.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/crypto/internal/cipherhw/generic.go')
-rw-r--r--libgo/go/crypto/internal/cipherhw/generic.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/libgo/go/crypto/internal/cipherhw/generic.go b/libgo/go/crypto/internal/cipherhw/generic.go
new file mode 100644
index 0000000000..64d90d3b41
--- /dev/null
+++ b/libgo/go/crypto/internal/cipherhw/generic.go
@@ -0,0 +1,11 @@
+// Copyright 2016 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.
+
+// +build !amd64,!s390x gccgo appengine
+
+package cipherhw
+
+func AESGCMSupport() bool {
+ return false
+}