Improve mbedtls_pkcs5_pbes2 function signature comments

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
Waleed Elmelegy 2023-08-03 15:42:55 +01:00
parent f3fafc3645
commit f50767d7ab

View File

@ -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