From cd974d590b11e5e1533c9d6cb030f3086a28d7f2 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Fri, 20 May 2022 10:30:12 +0200 Subject: [PATCH] Fix return documentation of PSA_PAKE_OUTPUT_SIZE Signed-off-by: Neil Armstrong --- include/psa/crypto_extra.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/psa/crypto_extra.h b/include/psa/crypto_extra.h index 2bb1a0452c..67b95048ad 100644 --- a/include/psa/crypto_extra.h +++ b/include/psa/crypto_extra.h @@ -1743,9 +1743,10 @@ psa_status_t psa_pake_abort(psa_pake_operation_t * operation); * \param output_step A value of type ::psa_pake_step_t that is valid for the * algorithm \p alg. * \return A sufficient output buffer size for the specified - * output, cipher suite and algorithm. If the cipher suite, - * the output type or PAKE algorithm is not recognized, or - * the parameters are incompatible, return 0. + * PAKE algorithm, primitive, and output step. If the + * PAKE algorithm, primitive, or output step is not + * recognized, or the parameters are incompatible, + * return 0. */ #define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step) 0