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

◆ cracen_wpa3_sae_setup()

psa_status_t cracen_wpa3_sae_setup ( cracen_wpa3_sae_operation_t * operation,
const psa_key_attributes_t * attributes,
const uint8_t * password,
size_t password_length,
const psa_pake_cipher_suite_t * cipher_suite )

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

Set up a WPA3 SAE operation.

Parameters
[in,out]operationSAE operation context.
[in]attributesKey attributes.
[in]passwordDepends on the required PWE derivation method. If the looping method is used, this is the WPA3-SAE password. If the hash-to-element method is used, this is the password token.
[in]password_lengthLength of the password in bytes.
[in]cipher_suitePAKE cipher suite.
Return values
PSA_SUCCESSThe operation completed successfully.
PSA_ERROR_NOT_SUPPORTEDThe algorithm is not supported.
PSA_ERROR_INVALID_ARGUMENTThe algorithm in cipher_suite encodes an invalid hash algorithm.
PSA_ERROR_INSUFFICIENT_MEMORYThere is not enough runtime memory.