mbedtls_psa_pake_input() function
Provide input for a step of a password-authenticated key exchange.
Arguments
operation
Active PAKE operation.
step
The driver step for which the input is provided.
input
Buffer containing the input in the format appropriate for this \p step. Refer to the documentation of psa_crypto_driver_pake_step_t for more information.
input_length
Size of the \p input buffer in bytes.
Return value
#PSA_SUCCESS Success. #PSA_ERROR_INVALID_SIGNATURE The verification fails for a zero-knowledge input step. #PSA_ERROR_INVALID_ARGUMENT the \p input is not valid for the \p operation's algorithm, cipher suite or \p step. #PSA_ERROR_NOT_SUPPORTED the \p input is not supported for the \p operation's algorithm, cipher suite or \p step. #PSA_ERROR_INSUFFICIENT_MEMORY \emptydescription #PSA_ERROR_CORRUPTION_DETECTED \emptydescription #PSA_ERROR_DATA_CORRUPT \emptydescription #PSA_ERROR_DATA_INVALID \emptydescription
Notes
The signature of this function is that of a PSA driver pake_input entry point. This function behaves as a pake_input entry point as defined in the PSA driver interface specification for transparent drivers. The core checks that input_length is smaller than PSA_PAKE_INPUT_MAX_SIZE.
mbedtls_psa_pake_input() is called by 1 function and calls 1 function:
![]()
mbedtls_psa_pake_input()
mbedtls_psa_pake_input():
![]()
mbedtls_psa_pake_input()