mbedtls_psa_pake_setup() function
Set the session information for a password-authenticated key exchange.
Arguments
operation
The operation object to set up. It must have been initialized but not set up yet.
inputs
Inputs required for PAKE operation (role, password, key lifetime, cipher suite)
Return value
#PSA_SUCCESS Success. #PSA_ERROR_NOT_SUPPORTED The algorithm in \p cipher_suite is not a supported PAKE algorithm, or the PAKE primitive in \p cipher_suite is not supported or not compatible with the PAKE algorithm, or the hash algorithm in \p cipher_suite is not supported or not compatible with the PAKE algorithm and primitive. #PSA_ERROR_INSUFFICIENT_MEMORY \emptydescription #PSA_ERROR_CORRUPTION_DETECTED \emptydescription
Notes
The signature of this function is that of a PSA driver pake_setup entry point. This function behaves as a pake_setup entry point as defined in the PSA driver interface specification for transparent drivers.