![]() |
nrfxlib API 3.3.99
|
| int ocrypto_ecjpake_zkp_verify | ( | const uint8_t | G[64], |
| const uint8_t | X[64], | ||
| const uint8_t | V[64], | ||
| const uint8_t | r[32], | ||
| const uint8_t * | hash, | ||
| size_t | hash_len ) |
#include <crypto/nrf_oberon/include/ocrypto_ecjpake_p256.h>
EC-JPAKE-P256 zero knowledge proof verification.
| G | Generator. May be NULL to use the default generator. |
| X | Public key. |
| V | ZKP ephemeral public key. |
| r | ZKP signature. |
| hash | Identity of originator. |
| hash_len | Identity length. |
| 0 | If the proof is valid. |
| -1 | Otherwise. |