Lines Matching full:replace
97 # Replace "_" with "-" to handle ciphersuite names based on Mbed TLS
99 s_cipher = s_cipher.replace("_", "-")
102 s_cipher = s_cipher.replace("-WITH-", ":+")
103 s_cipher = s_cipher.replace("-EDE", "")
111 # Replace "GCM:+SHAxyz" with "GCM:+AEAD"
116 # Replace the last "-" with ":+"
129 # Replace "_" with "-" to handle ciphersuite names based on Mbed TLS
131 s_cipher = s_cipher.replace("_", "-")
134 s_cipher = s_cipher.replace("-WITH", "")
137 s_cipher = s_cipher.replace("AES-", "AES")
138 s_cipher = s_cipher.replace("CAMELLIA-", "CAMELLIA")
139 s_cipher = s_cipher.replace("ARIA-", "ARIA")
146 s_cipher = s_cipher.replace("-EDE", "")
147 s_cipher = s_cipher.replace("3DES-CBC", "DES-CBC3")
153 s_cipher = s_cipher.replace("ECDHE-RSA-ARIA", "ECDHE-ARIA")
160 # If DES is being used, Replace DHE with EDH
162 s_cipher = s_cipher.replace("DHE", "EDH")
172 # Replace "_" with "-"
173 s_cipher = s_cipher.replace("_", "-")