Make new IV and block size getters return size_t

Signed-off-by: Max Fillinger <max@max-fillinger.net>
diff --git a/include/mbedtls/cipher.h b/include/mbedtls/cipher.h
index a99a50f..b5d3e61 100644
--- a/include/mbedtls/cipher.h
+++ b/include/mbedtls/cipher.h
@@ -516,13 +516,13 @@
  * \return      The recommended IV size.
  * \return      \c 0 for ciphers not using an IV or a nonce.
  */
-static inline int mbedtls_cipher_info_get_iv_size(
+static inline size_t mbedtls_cipher_info_get_iv_size(
     const mbedtls_cipher_info_t *info )
 {
     if( info == NULL )
         return( 0 );
 
-    return( (int) info->MBEDTLS_PRIVATE(iv_size) );
+    return( (size_t) info->MBEDTLS_PRIVATE(iv_size) );
 }
 
 /**
@@ -533,13 +533,13 @@
  *
  * \return       The block size of the cipher.
  */
-static inline unsigned int mbedtls_cipher_info_get_block_size(
+static inline size_t mbedtls_cipher_info_get_block_size(
     const mbedtls_cipher_info_t *info )
 {
     if( info == NULL )
         return( 0 );
 
-    return( info->MBEDTLS_PRIVATE(block_size) );
+    return( (size_t) info->MBEDTLS_PRIVATE(block_size) );
 }
 
 /**