mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-03 10:34:16 -04:00
Pass input as const reference and fix documentation of psa_pake_input()
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
47e700e7de
commit
799106b441
@ -1588,12 +1588,12 @@ psa_status_t psa_pake_output(psa_pake_operation_t *operation,
|
|||||||
*
|
*
|
||||||
* \param[in,out] operation Active PAKE operation.
|
* \param[in,out] operation Active PAKE operation.
|
||||||
* \param step The step for which the input is provided.
|
* \param step The step for which the input is provided.
|
||||||
* \param[out] input Buffer containing the input in the format
|
* \param[in] input Buffer containing the input in the format
|
||||||
* appropriate for this \p step. Refer to the
|
* appropriate for this \p step. Refer to the
|
||||||
* documentation of the individual
|
* documentation of the individual
|
||||||
* \c PSA_PAKE_STEP_XXX constants for more
|
* \c PSA_PAKE_STEP_XXX constants for more
|
||||||
* information.
|
* information.
|
||||||
* \param[out] input_length Size of the \p input buffer in bytes.
|
* \param input_length Size of the \p input buffer in bytes.
|
||||||
*
|
*
|
||||||
* \retval #PSA_SUCCESS
|
* \retval #PSA_SUCCESS
|
||||||
* Success.
|
* Success.
|
||||||
@ -1613,7 +1613,7 @@ psa_status_t psa_pake_output(psa_pake_operation_t *operation,
|
|||||||
*/
|
*/
|
||||||
psa_status_t psa_pake_input(psa_pake_operation_t *operation,
|
psa_status_t psa_pake_input(psa_pake_operation_t *operation,
|
||||||
psa_pake_step_t step,
|
psa_pake_step_t step,
|
||||||
uint8_t *input,
|
const uint8_t *input,
|
||||||
size_t input_length);
|
size_t input_length);
|
||||||
|
|
||||||
/** Get implicitly confirmed shared secret from a PAKE.
|
/** Get implicitly confirmed shared secret from a PAKE.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user