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>
16 lines
332 B
Go
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)
|
|
}
|