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

◆ ocrypto_ecjpake_zkp_sign()

int ocrypto_ecjpake_zkp_sign ( uint8_t r[32],
const uint8_t x[32],
const uint8_t v[32],
const uint8_t * hash,
size_t hash_len )

#include <crypto/nrf_oberon/include/ocrypto_ecjpake_p256.h>

EC-JPAKE-P256 zero knowledge proof generation.

Parameters
[out]rZKP signature.
xSecret key. 0 < x < group order
vZKP ephemeral secret key. 0 < v < group order
hashIdentity of originator.
hash_lenIdentity length.
Return values
0If inputs are valid.
-1Otherwise.