nrfxlib API 0.1.0
|
int ocrypto_ecdsa_p224_verify_hash | ( | const uint8_t | sig[56], |
const uint8_t | hash[28], | ||
const uint8_t | pk[56] | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_ecdsa_p224.h>
ECDSA P-224 signature verification from SHA224 hash.
The signature sig
of the message hash hash
is verified using the signer's public key pk
.
sig | Input signature. |
hash | Input hash. |
pk | Signer's public key. |
0 | If the signature is valid. |
-1 | Otherwise. |