nrfxlib API 0.1.0
|
int ocrypto_ecjpake_verify_key | ( | const uint8_t | G[64], |
const uint8_t | X[64], | ||
const uint8_t | V[64], | ||
const uint8_t | r[32], | ||
const char * | id, | ||
size_t | id_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. |
id | Identity of originator. |
id_len | Identity length. |
0 | If proof is valid. |
-1 | Otherwise. |