From c3cffae420c4d4b75a2d8136d6cdb82d2d8660af Mon Sep 17 00:00:00 2001 From: Max Fillinger Date: Sun, 28 Nov 2021 13:59:44 +0100 Subject: [PATCH] Document return value for IV size getter on NULL Signed-off-by: Max Fillinger --- include/mbedtls/cipher.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/mbedtls/cipher.h b/include/mbedtls/cipher.h index 6ce82a34cd..c04097dad3 100644 --- a/include/mbedtls/cipher.h +++ b/include/mbedtls/cipher.h @@ -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 )