Further pake code optimizations

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
diff --git a/library/psa_crypto_pake.h b/library/psa_crypto_pake.h
index eb30881..001c987 100644
--- a/library/psa_crypto_pake.h
+++ b/library/psa_crypto_pake.h
@@ -96,11 +96,7 @@
  *       entry point as defined in the PSA driver interface specification for
  *       transparent drivers.
  *
- * \note The core has checked that input_length is smaller than
-         PSA_PAKE_INPUT_SIZE(PSA_ALG_JPAKE, primitive, step)
-         where primitive is the JPAKE algorithm primitive and step
-         the PSA API level input step. Thus no risk of integer overflow while
-         checking operation buffer overflow.
+ * \note The core checks that input_length is smaller than PSA_PAKE_INPUT_MAX_SIZE.
  *
  * \param[in,out] operation    Active PAKE operation.
  * \param step                 The driver step for which the input is provided.