Improve ECP documentation
diff --git a/include/mbedtls/ecp.h b/include/mbedtls/ecp.h
index 9f4c3e5..06a3ce5 100644
--- a/include/mbedtls/ecp.h
+++ b/include/mbedtls/ecp.h
@@ -621,7 +621,7 @@
* \param format The point format. This must be either
* #MBEDTLS_ECP_PF_COMPRESSED or #MBEDTLS_ECP_PF_UNCOMPRESSED.
* \param olen The address at which to store the length of
- * the output in Bytes.
+ * the output in Bytes. This must not be \c NULL.
* \param buf The output buffer. This must be a writable buffer
* of length \p buflen Bytes.
* \param buflen The length of the output buffer \p buf in Bytes.
@@ -793,7 +793,7 @@
unsigned char *buf, size_t blen );
/**
- * \brief This function performs a scalaar multiplication of a point
+ * \brief This function performs a scalar multiplication of a point
* by an integer: \p R = \p m * \p P.
*
* It is not thread-safe to use same group in multiple threads.