nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_ecjpake_get_public_key()

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.

Parameters
[out]XPublic key.
GGenerator. May be NULL to use the default generator.
xSecret key. 0 < x < group order
Return values
0If inputs are valid.
-1Otherwise.