![]() |
nrfxlib API 3.3.99
|
| 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.
| [out] | r | ZKP signature. |
| x | Secret key. 0 < x < group order | |
| v | ZKP ephemeral secret key. 0 < v < group order | |
| hash | Identity of originator. | |
| hash_len | Identity length. |
| 0 | If inputs are valid. |
| -1 | Otherwise. |