Home
last modified time | relevance | path

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

/external/mbedtls/tests/scripts/
Dtranslate_ciphers.py80 def translate_gnutls(m_cipher): argument
86 m_cipher = re.sub(r'\ATLS-', '+', m_cipher)
87 m_cipher = m_cipher.replace("-WITH-", ":+")
88 m_cipher = m_cipher.replace("-EDE", "")
92 if m_cipher[-3:] == "SHA":
93 m_cipher = m_cipher+"1"
97 if "CCM" in m_cipher or "GCM" in m_cipher:
98 m_cipher = re.sub(r"GCM-SHA\d\d\d", "GCM", m_cipher)
99 m_cipher = m_cipher+":+AEAD"
103 index = m_cipher.rindex("-")
[all …]
/external/python/cryptography/docs/development/custom-vectors/rsa-oaep-sha2/
DVerifyRSAOAEPSHA2.java239 private Cipher m_cipher; field in VerifyRSAOAEPSHA2
256 m_cipher = getCipher(m_alg_hash); in VerifyRSAOAEPSHA2()
359 m_cipher.init(Cipher.DECRYPT_MODE, m_private_key, m_algo_param); in testDecrypt()
360 byte[] java_plaintext = m_cipher.doFinal(ciphertext); in testDecrypt()