nrfxlib API 0.1.0
|
int ocrypto_ecjpake_get_public_key | ( | uint8_t | X[64], |
const uint8_t | G[64], | ||
const uint8_t | x[32] | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_ecjpake_p256.h>
EC-JPAKE-P256 public key.
[out] | X | Public key. |
G | Generator. May be NULL to use the default generator. | |
x | Secret key. 0 < x < group order |
0 | If inputs are valid. |
-1 | Otherwise. |