Source file src/crypto/ecdsa/ecdsa_noasm.go

     1  // Copyright 2020 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  //go:build !s390x || purego
     6  
     7  package ecdsa
     8  
     9  import "io"
    10  
    11  func verifyAsm(pub *PublicKey, hash []byte, sig []byte) error {
    12  	return errNoAsm
    13  }
    14  
    15  func signAsm(priv *PrivateKey, csprng io.Reader, hash []byte) (sig []byte, err error) {
    16  	return nil, errNoAsm
    17  }
    18  

View as plain text