nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ cracen_wpa3_sae_set_user()

psa_status_t cracen_wpa3_sae_set_user ( cracen_wpa3_sae_operation_t * operation,
const uint8_t * user_id,
size_t user_id_len )

#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_wpa3_sae.h>

Set the user identifier for a WPA3 SAE operation.

Note
This function must be called before cracen_wpa3_sae_set_peer(). If you are using Oberon PSA Crypto, the order is checked automatically.
Parameters
[in,out]operationWPA3 SAE operation context.
[in]user_idUser identifier (6-byte MAC address).
[in]user_id_lenLength of the user identifier in bytes.
Return values
PSA_SUCCESSThe operation completed successfully.
PSA_ERROR_INVALID_ARGUMENTInvalid input argument.