nrfxlib API 2.8.99
|
int ocrypto_ecdsa_p384_verify | ( | const uint8_t | sig[96], |
const uint8_t * | m, | ||
size_t | mlen, | ||
const uint8_t | pk[96] ) |
#include <crypto/nrf_oberon/include/ocrypto_ecdsa_p384.h>
ECDSA P-384 signature verification.
The signature sig
of the input message m
is verified using the signer's public key pk
.
sig | Input signature. |
m | Input message. |
mlen | Length of m . |
pk | Signer's public key. |
0 | If the signature is valid. |
-1 | Otherwise. |