From f50767d7ab2b1b86c175bafe3f86b0a5e7a2f001 Mon Sep 17 00:00:00 2001 From: Waleed Elmelegy Date: Thu, 3 Aug 2023 15:42:55 +0100 Subject: [PATCH] Improve mbedtls_pkcs5_pbes2 function signature comments Signed-off-by: Waleed Elmelegy --- include/mbedtls/pkcs5.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mbedtls/pkcs5.h b/include/mbedtls/pkcs5.h index 361854116..7b1fa1ff3 100644 --- a/include/mbedtls/pkcs5.h +++ b/include/mbedtls/pkcs5.h @@ -75,9 +75,9 @@ extern "C" { * \param data data to process * \param datalen length of data * \param output Output buffer. - * On success, it contains the decrypted data, possibly - * followed by the CBC padding. - * On failure, the content is indetermidate. + * On success, it contains the encrypted or decrypted data, + * possibly followed by the CBC padding. + * On failure, the content is indeterminate. * For decryption, there must be enough room for \p datalen * bytes. * For encryption, there must be enough room for