nrfxlib API 0.1.0
|
int ocrypto_ecjpake_get_generator | ( | uint8_t | G[64], |
const uint8_t | X1[64], | ||
const uint8_t | X2[64], | ||
const uint8_t | X3[64] | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_ecjpake_p256.h>
EC-JPAKE-P256 generator derivation.
[out] | G | Generator. |
X1 | Public key 1. | |
X2 | Public key 2. | |
X3 | Public key 3. |
0 | If the generator is valid. |
-1 | Otherwise. |