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

◆ cracen_pake_setup()

psa_status_t cracen_pake_setup ( cracen_pake_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_pake.h>

Set up a PAKE operation.

Parameters
[in,out]operationPAKE operation context.
[in]attributesKey attributes.
[in]passwordPassword.
[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.