nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_ecjpake_verify_key()

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.

Parameters
GGenerator. May be NULL to use the default generator.
XPublic key.
VZKP ephemeral public key.
rZKP signature.
idIdentity of originator.
id_lenIdentity length.
Return values
0If proof is valid.
-1Otherwise.