Files
crypto/internal/wycheproof/ecdsa_go115_test.go
T
Katie Hockman 97fc981609 internal/wycheproof: update TestEcdsa to use ecdsa.VerifyASN1
Change-Id: Ibd6ce156550615cb85c06e734641c34fca0cfcd0
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/220697
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2020-03-20 14:53:29 +00:00

16 lines
332 B
Go

// 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.
// +build go1.15
package wycheproof
import (
"crypto/ecdsa"
)
func verifyASN1(pub *ecdsa.PublicKey, hash, sig []byte) bool {
return ecdsa.VerifyASN1(pub, hash, sig)
}