- Extra clarification in config header
diff --git a/include/polarssl/config.h b/include/polarssl/config.h
index 80d0d30..2372c35 100644
--- a/include/polarssl/config.h
+++ b/include/polarssl/config.h
@@ -36,6 +36,13 @@
#endif
/*
+ * \name SECTION: System support
+ *
+ * This section sets system specific settings.
+ * \{
+ */
+
+/*
* Uncomment if native integers are 8-bit wide.
*
#define POLARSSL_HAVE_INT8
@@ -71,6 +78,15 @@
*
#define POLARSSL_HAVE_SSE2
*/
+/* \} name */
+
+/*
+ * \name SECTION: PolarSSL feature support
+ *
+ * This section sets support for features that are or are not needed
+ * within the modules that are enabled.
+ * \{
+ */
/*
* Enable all SSL/TLS debugging messages.
@@ -83,11 +99,6 @@
#define POLARSSL_SELF_TEST
/*
- * Enable run-time version information functions
- */
-#define POLARSSL_VERSION_C
-
-/*
* Enable the prime-number generation code.
*/
#define POLARSSL_GENPRIME
@@ -97,6 +108,14 @@
*
#define POLARSSL_AES_ROM_TABLES
*/
+/* \} name */
+
+/*
+ * \name SECTION: PolarSSL modules
+ *
+ * This section enables or disables entire modules in PolarSSL
+ * \{
+ */
/*
* Module: library/aes.c
@@ -338,6 +357,13 @@
#define POLARSSL_TIMING_C
/*
+ * Module: library/version.c
+ *
+ * This module provides run-time version information.
+ */
+#define POLARSSL_VERSION_C
+
+/*
* Module: library/x509parse.c
* Caller: library/ssl_cli.c
* library/ssl_srv.c
@@ -360,5 +386,6 @@
* Caller:
*/
#define POLARSSL_XTEA_C
+/* \} name */
#endif /* config.h */