aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Bakker <p.j.bakker@polarssl.org>2013-02-19 13:17:08 +0100
committerPaul Bakker <p.j.bakker@polarssl.org>2013-02-19 13:17:08 +0100
commit6deb37e03e698b081afcfa6feb655440eeb3cd5a (patch)
tree61828eca6000d7dbfd89a81df0fffeca29a504fc
parentfbb5cf9f59bde4e2dad064759a45fbfe186b46a4 (diff)
downloadmbedtls-6deb37e03e698b081afcfa6feb655440eeb3cd5a.zip
mbedtls-6deb37e03e698b081afcfa6feb655440eeb3cd5a.tar.gz
mbedtls-6deb37e03e698b081afcfa6feb655440eeb3cd5a.tar.bz2
Added comments to indicate dependency from PEM on AES, DES and MD5
-rw-r--r--include/polarssl/config.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/polarssl/config.h b/include/polarssl/config.h
index 456c77c..c9752d2 100644
--- a/include/polarssl/config.h
+++ b/include/polarssl/config.h
@@ -335,6 +335,8 @@
* TLS_DHE_RSA_WITH_AES_256_CBC_SHA256
* TLS_RSA_WITH_AES_128_GCM_SHA256
* TLS_RSA_WITH_AES_256_GCM_SHA384
+ *
+ * PEM uses AES for decrypting encrypted keys.
*/
#define POLARSSL_AES_C
@@ -486,12 +488,15 @@
* Enable the DES block cipher.
*
* Module: library/des.c
- * Caller: library/ssl_tls.c
+ * Caller: library/pem.c
+ * library/ssl_tls.c
*
* This module enables the following ciphersuites (if other requisites are
* enabled as well):
* TLS_RSA_WITH_3DES_EDE_CBC_SHA
* TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
+ *
+ * PEM uses DES/3DES for decrypting encrypted keys.
*/
#define POLARSSL_DES_C
@@ -621,10 +626,12 @@
* Enable the MD5 hash algorithm
*
* Module: library/md5.c
- * Caller: library/ssl_tls.c
+ * Caller: library/pem.c
+ * library/ssl_tls.c
* library/x509parse.c
*
* This module is required for SSL/TLS and X.509.
+ * PEM uses MD5 for decrypting encrypted keys.
*/
#define POLARSSL_MD5_C