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

◆ ocrypto_wpa3_sae_p256_keys()

int ocrypto_wpa3_sae_p256_keys ( uint8_t kck[32],
uint8_t pmk[32],
uint8_t pmkid[16],
const uint8_t pwe[64],
const uint8_t rand[32],
const uint8_t commit[96],
const uint8_t peer_commit[96],
const uint8_t * rej_list,
size_t rej_len )

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

Get confirmation key (KCK) and pairwise master key (PMK).

Parameters
[out]kckConfirmation key.
[out]pmkPairwise master key.
[out]pmkidKey id.
pwePassword element.
randSecret random value rand.
commitLocal commit message.
peer_commitPeer commit message.
rej_listRejected group list. Optional, may be NULL.
rej_lenRejected group list length.
Return values
0If the arguments are valid.
-1Otherwise.