p256 ecdsa verify hash - part-cw/lambdanative GitHub Wiki
(p256-ecdsa-verify-hash key-x key-y hash sgn)
Validates a SHA256 hash signed with the P256 Elliptic Curve Digital Signature Algorithm (ECDSA). The signature is a DER encoded X,Y key pair.
| Parameter | Description |
|---|---|
| key-x | private key X |
| key-y | private key Y |
| hash | original SHA256 hash |
| sgn | signature to validate |
Example
> (p256-ecdsa-verify-hash key-x key-y hash sgn)
#t