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

◆ cracen_wpa3_sae_output()

psa_status_t cracen_wpa3_sae_output ( cracen_wpa3_sae_operation_t * operation,
psa_pake_step_t step,
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 output from a WPA3 SAE operation step.

Parameters
[in,out]operationWPA3 SAE operation context.
[in]stepPAKE step.
[out]outputBuffer to store the output.
[in]output_sizeSize of the output buffer in bytes.
[out]output_lengthLength of the generated output in bytes.
Return values
PSA_SUCCESSThe operation completed successfully.
PSA_ERROR_BAD_STATEThe operation is not in a valid state.
PSA_ERROR_BUFFER_TOO_SMALLThe output buffer is too small.
PSA_ERROR_INVALID_ARGUMENTInvalid input argument.
PSA_ERROR_CORRUPTION_DETECTEDA tampering attempt was detected.