nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ ocrypto_wpa3_sae_p256_get_pwe_from_x()

int ocrypto_wpa3_sae_p256_get_pwe_from_x ( uint8_t y[32],
const uint8_t x[32],
int sign )

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

Get password element candidate from x value.

Parameters
[out]yY coordinate of ECC point.
xX coordinate of ECC point.
signProposed sign bit (lsb) of y. 0 or 1.
Return values
0If x is a valid x coordinate of a curve point.
-1Otherwise.