nrfxlib API 0.1.0
|
int ocrypto_ed25519ph_verify | ( | 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.
The signature sig
of the input message m
is verified using the signer's public key pk
.
sig | Input signature. |
hash | Message hash, SHA-512(message). |
pk | Signer's public key. |
0 | If the signature is valid. |
-1 | Otherwise. |