| // 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) | |
| } |