nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ ocrypto_ed25519ph_verify_ctx()

int ocrypto_ed25519ph_verify_ctx ( ocrypto_ed25519ph_ctx *  ctx,
const uint8_t  sig[(64)],
const uint8_t  hash[(64)],
const uint8_t  pk[(32)] 
)

#include <crypto/nrf_oberon/include/ocrypto_ed25519ph.h>

Ed25519ph signature verification with context.

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

Parameters
ctxContext.
sigInput signature.
hashMessage hash, SHA-512(message).
pkSigner's public key.
Return values
0If the signature is valid.
-1Otherwise.