Document return value for IV size getter on NULL

Signed-off-by: Max Fillinger <max@max-fillinger.net>
This commit is contained in:
Max Fillinger 2021-11-28 13:59:44 +01:00
parent e85bb7096f
commit c3cffae420

View File

@ -515,6 +515,7 @@ static inline const char *mbedtls_cipher_info_get_name(
*
* \return The recommended IV size.
* \return \c 0 for ciphers not using an IV or a nonce.
* \return \c 0 if \p info is \c NULL.
*/
static inline size_t mbedtls_cipher_info_get_iv_size(
const mbedtls_cipher_info_t *info )