diff options
Diffstat (limited to 'libgo/go/crypto/elliptic/p256_generic.go')
-rw-r--r-- | libgo/go/crypto/elliptic/p256_generic.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libgo/go/crypto/elliptic/p256_generic.go b/libgo/go/crypto/elliptic/p256_generic.go new file mode 100644 index 00000000000..49445c3999f --- /dev/null +++ b/libgo/go/crypto/elliptic/p256_generic.go @@ -0,0 +1,16 @@ +// 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 + +package elliptic + +var ( + p256 p256Curve +) + +func initP256Arch() { + // Use pure Go implementation. + p256 = p256Curve{p256Params} +} |