From c29f8477e2db90372aaea400340d10ccb8d9183c Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Wed, 8 Jun 2022 13:34:49 +0200 Subject: [PATCH] Fix comments in psa_crypto_pake.c Signed-off-by: Neil Armstrong --- library/psa_crypto_pake.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/psa_crypto_pake.c b/library/psa_crypto_pake.c index 9f91a5ee1..594def2ba 100644 --- a/library/psa_crypto_pake.c +++ b/library/psa_crypto_pake.c @@ -46,7 +46,7 @@ * | | psa_pake_set_password_key() * | | psa_pake_set_user() * | | psa_pake_set_peer() - * | | psa_pake_set_role + * | | psa_pake_set_role() * | * |--- In any order: (First round input before or after first round output) * | | @@ -449,7 +449,7 @@ psa_status_t psa_pake_output( psa_pake_operation_t *operation, } else { - /* Length is stored at the first byte */ + /* Length is stored at the first byte of the next chunk */ length = operation->buffer[operation->buffer_offset] + 1; }