Home
last modified time | relevance | path

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

/external/wycheproof/java/com/google/security/wycheproof/testcases/
DEciesTest.java81 Cipher ecies = Cipher.getInstance("ECIESwithAES-CBC"); in testEciesBasic() local
82 ecies.init(Cipher.ENCRYPT_MODE, pub); in testEciesBasic()
83 byte[] ciphertext = ecies.doFinal(message); in testEciesBasic()
85 ecies.init(Cipher.DECRYPT_MODE, priv, ecies.getParameters()); in testEciesBasic()
86 byte[] decrypted = ecies.doFinal(ciphertext); in testEciesBasic()
157 Cipher ecies; in testExceptions() local
159 ecies = Cipher.getInstance(algorithm); in testExceptions()
173 ecies.init(Cipher.ENCRYPT_MODE, pub); in testExceptions()
174 byte[] ciphertext = ecies.doFinal(message); in testExceptions()
176 ecies.init(Cipher.DECRYPT_MODE, priv, ecies.getParameters()); in testExceptions()
[all …]