Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/scripts/
Dtranslate_ciphers.py91 def translate_gnutls(s_cipher): argument
99 s_cipher = s_cipher.replace("_", "-")
101 s_cipher = re.sub(r'\ATLS-', '+', s_cipher)
102 s_cipher = s_cipher.replace("-WITH-", ":+")
103 s_cipher = s_cipher.replace("-EDE", "")
107 if s_cipher[-3:] == "SHA":
108 s_cipher = s_cipher+"1"
112 if "CCM" in s_cipher or "GCM" in s_cipher:
113 s_cipher = re.sub(r"GCM-SHA\d\d\d", "GCM", s_cipher)
114 s_cipher = s_cipher+":+AEAD"
[all …]