Add random delay function to platform_utils

Add delay function to platform_utils. The function will delay
program execution by incrementing local variable randomised number of
times.
diff --git a/include/mbedtls/platform_util.h b/include/mbedtls/platform_util.h
index e20f1c3..d6ee886 100644
--- a/include/mbedtls/platform_util.h
+++ b/include/mbedtls/platform_util.h
@@ -239,6 +239,21 @@
 uint32_t mbedtls_platform_random_in_range( size_t num );
 
 /**
+ * \brief       Random delay function.
+ *
+ *              Function implements random delay by incrementing local variable
+ *              randomized number of times.
+ *
+ * \note        Currently the function is dependent of hardware providing an
+ *              rng with MBEDTLS_ENTROPY_HARDWARE_ALT.
+ *
+ * \param num   Max-value for the local variable increments.
+ *
+ * \return      In success number of increments, -1 in case of errors.
+ */
+int mbedtls_platform_random_delay( size_t num );
+
+/**
  * \brief       This function does nothing, but can be inserted between
  *              successive reads to a volatile local variable to prevent
  *              compilers from optimizing them away.