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

◆ cracen_wpa3_sae_get_shared_key()

psa_status_t cracen_wpa3_sae_get_shared_key ( cracen_wpa3_sae_operation_t * operation,
const psa_key_attributes_t * attributes,
uint8_t * output,
size_t output_size,
size_t * output_length )

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

Get the shared key from a completed WPA3 SAE operation.

Parameters
[in,out]operationWPA3 SAE operation context.
[in]attributesKey attributes for the shared key. Not used by this function; argument listed for consistency with the PSA Crypto API.
[out]outputBuffer to store the shared key.
[in]output_sizeSize of the output buffer in bytes.
[out]output_lengthLength of the generated shared key in bytes.
Return values
PSA_SUCCESSThe operation completed successfully.
PSA_ERROR_BUFFER_TOO_SMALLThe output buffer is too small.