![]() |
nrfxlib API 3.3.99
|
| int ocrypto_wpa3_sae_p256_h2e_pt | ( | uint8_t | pt[64], |
| const uint8_t * | pw, | ||
| size_t | pw_len, | ||
| const uint8_t * | pwid, | ||
| size_t | pwid_len, | ||
| const uint8_t * | ssid, | ||
| size_t | ssid_len ) |
#include <crypto/nrf_oberon/include/ocrypto_wpa3_sae_p256.h>
Get secret element PT using the "hash to curve" method (SAE-H2E).
| [out] | pt | ECC point. |
| pw | Password. | |
| pw_len | Password length. | |
| pwid | Password id. Optional, may be NULL. | |
| pwid_len | Password id length. | |
| ssid | SSID. | |
| ssid_len | SSID length. |
| 0 | If pt is a valid curve point. |
| -1 | Otherwise. |