Modify comment descriptions of add_xxx_ciphersuites()
Modify the comments to include the use of the translate function
and retire the explanation of maintaining 2 seperate lists
@@ -328,8 +328,10 @@ add_common_ciphersuites()
}
# Ciphersuites usable only with Mbed TLS and OpenSSL
-# Each ciphersuite should appear two times, once with its OpenSSL name, once
-# with its Mbed TLS name.
+# Each ciphersuite is compiled case by case in the MBedTLS standard, and
+# is appended to the list of MBedTLS ciphersuites $M_CIPHERS. The same list
+# is translated to the OpenSSL naming standard and appended to the list of
+# OpenSSL ciphersuites $O_CIPHERS
#
# NOTE: for some reason RSA-PSK doesn't work with OpenSSL,
# so RSA-PSK ciphersuites need to go in other sections, see
@@ -409,8 +411,10 @@ add_openssl_ciphersuites()
}
# Ciphersuites usable only with Mbed TLS and GnuTLS
-# Each ciphersuite should appear two times, once with its GnuTLS name, once
-# with its Mbed TLS name.
+# Each ciphersuite is compiled case by case in the MBedTLS standard, and
+# is appended to the list of MBedTLS ciphersuites $M_CIPHERS. The same list
+# is translated to the GnuTLS naming standard and appended to the list of
+# GnuTLS ciphersuites $G_CIPHERS
add_gnutls_ciphersuites()
{
CIPHERS=""
