Home
last modified time | relevance | path

Searched refs:s_cipher (Results 1 – 1 of 1) sorted by relevance

/mbedtls-3.6.0/tests/scripts/
Dtranslate_ciphers.py79 def translate_gnutls(s_cipher): argument
87 s_cipher = s_cipher.replace("_", "-")
89 s_cipher = re.sub(r'\ATLS-', '+', s_cipher)
90 s_cipher = s_cipher.replace("-WITH-", ":+")
91 s_cipher = s_cipher.replace("-EDE", "")
95 if s_cipher[-3:] == "SHA":
96 s_cipher = s_cipher+"1"
100 if "CCM" in s_cipher or "GCM" in s_cipher:
101 s_cipher = re.sub(r"GCM-SHA\d\d\d", "GCM", s_cipher)
102 s_cipher = s_cipher+":+AEAD"
[all …]