![]() |
nRF Connect SDK API 3.3.99
|
| int bl_ed25519_validate | ( | const uint8_t * | hash, |
| uint32_t | hash_len, | ||
| const uint8_t * | signature ) |
#include <include/bl_crypto.h>
Validate an ed25519 signature.
| [in] | hash | The hash to validate against. |
| [in] | hash_len | The length of the hash. |
| [in] | signature | The signature to validate. |
| 0 | The operation succeeded and the signature is valid for the hash. |
| -EINVAL | A parameter was NULL, or the hash_len was not 64 bytes. |
| -ESIGINV | The signature validation failed. |