diff options
Diffstat (limited to 'src/crypto/ecdsa/ecdsa_noasm.go')
-rw-r--r-- | src/crypto/ecdsa/ecdsa_noasm.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/crypto/ecdsa/ecdsa_noasm.go b/src/crypto/ecdsa/ecdsa_noasm.go new file mode 100644 index 0000000..a72aa4b --- /dev/null +++ b/src/crypto/ecdsa/ecdsa_noasm.go @@ -0,0 +1,17 @@ +// Copyright 2020 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. + +//go:build !s390x + +package ecdsa + +import "io" + +func verifyAsm(pub *PublicKey, hash []byte, sig []byte) error { + return errNoAsm +} + +func signAsm(priv *PrivateKey, csprng io.Reader, hash []byte) (sig []byte, err error) { + return nil, errNoAsm +} |