nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_ecdsa_p521_verify()

int ocrypto_ecdsa_p521_verify ( const uint8_t  sig[132],
const uint8_t *  m,
size_t  mlen,
const uint8_t  pk[132] 
)

ECDSA P-521 signature verification.

The signature sig of the input message m is verified using the signer's public key pk.

Parameters
sigInput signature.
mInput message.
mlenLength of m.
pkSigner's public key.
Return values
0If the signature is valid.
-1Otherwise.