tls: psa_pake: remove useless defines and fix a comment
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
diff --git a/library/ssl_tls.c b/library/ssl_tls.c
index 7b51040..5bfdde7 100644
--- a/library/ssl_tls.c
+++ b/library/ssl_tls.c
@@ -8260,13 +8260,8 @@
++step )
{
/*
- * For each step, prepend 1 byte with the length of the data.
- *
- * NOTE = psa_pake_output() sometimes output elements which are
- * NOT 32 or 65 bytes as expected, but 1 byte less. So, instead
- * of hardcoding the expected length, we
- * - get the output first
- * - then write the length of this output
+ * For each step, prepend 1 byte with the length of the data as
+ * given by psa_pake_output().
*/
status = psa_pake_output( pake_ctx, step,
buf + output_offset + 1,