From 7bc71e9c0447828deadf26f1f646124a6f9884cb Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Fri, 20 May 2022 10:36:14 +0200 Subject: [PATCH] Fix output_size documentation of psa_pake_output() Signed-off-by: Neil Armstrong --- include/psa/crypto_extra.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/psa/crypto_extra.h b/include/psa/crypto_extra.h index 67b95048a..f1cba7b34 100644 --- a/include/psa/crypto_extra.h +++ b/include/psa/crypto_extra.h @@ -1572,8 +1572,11 @@ psa_status_t psa_pake_set_side(psa_pake_operation_t *operation, * \c PSA_PAKE_STEP_XXX constants for more * information. * \param output_size Size of the \p output buffer in bytes. This must - * be at least #PSA_PAKE_OUTPUT_SIZE(\p alg, \c - * cipher_suite, \p type). + * be at least #PSA_PAKE_OUTPUT_SIZE(\p alg, \p + * primitive, \p step) where \p alg and + * \p primitive are the PAKE algorithm and primitive + * in the operation's cipher suite, and \p step is + * the output step. * * \param[out] output_length On success, the number of bytes of the returned * output.