nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ ocrypto_ecjpake_zkp_verify()

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.

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