Improve comments to be more accurate

Signed-off-by: Joe Subbiani <joe.subbiani@arm.com>
This commit is contained in:
Joe Subbiani 2021-08-25 09:56:57 +01:00
parent 1d592cba5c
commit b0aba9a46e
2 changed files with 11 additions and 11 deletions

View file

@ -339,10 +339,10 @@ add_common_ciphersuites()
}
# Ciphersuites usable only with Mbed TLS and OpenSSL
# 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
# A list of ciphersuites in the Mbed TLS convention is compiled and
# appended to the list of Mbed TLS ciphersuites $M_CIPHERS. The same list
# is translated to the OpenSSL naming convention 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
@ -423,10 +423,10 @@ add_openssl_ciphersuites()
}
# Ciphersuites usable only with Mbed TLS and GnuTLS
# 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
# A list of ciphersuites in the Mbed TLS convention is compiled and
# appended to the list of Mbed TLS ciphersuites $M_CIPHERS. The same list
# is translated to the GnuTLS naming convention and appended to the list of
# GnuTLS ciphersuites $G_CIPHERS.
add_gnutls_ciphersuites()
{
CIPHERS=""

View file

@ -18,7 +18,7 @@
# limitations under the License.
"""
Translate ciphersuite names in MBedTLS format to OpenSSL and GNUTLS
Translate ciphersuite names in Mbed TLS format to OpenSSL and GNUTLS
standards.
To test the translation functions run:
@ -504,7 +504,7 @@ class TestTranslateCiphers(unittest.TestCase):
def translate_gnutls(m_cipher):
"""
Translate m_cipher from MBedTLS ciphersuite naming convention
Translate m_cipher from Mbed TLS ciphersuite naming convention
and return the GnuTLS naming convention
"""
@ -532,7 +532,7 @@ def translate_gnutls(m_cipher):
def translate_ossl(m_cipher):
"""
Translate m_cipher from MBedTLS ciphersuite naming convention
Translate m_cipher from Mbed TLS ciphersuite naming convention
and return the OpenSSL naming convention
"""