Searched refs:cipherEncrypt (Results 1 – 2 of 2) sorted by relevance
/libcore/benchmarks/src/benchmarks/regression/ |
D | CipherInputStreamBenchmark.java | 53 private Cipher cipherEncrypt; field in CipherInputStreamBenchmark 65 cipherEncrypt = Cipher.getInstance("AES/CBC/PKCS5Padding"); in setUp() 66 cipherEncrypt.init(Cipher.ENCRYPT_MODE, key, spec); in setUp() 71 cipherEncrypt.init(Cipher.ENCRYPT_MODE, key, spec); in timeEncrypt() 72 InputStream is = new CipherInputStream(new ByteArrayInputStream(DATA), cipherEncrypt); in timeEncrypt()
|
D | CipherBenchmark.java | 92 private Cipher cipherEncrypt; field in CipherBenchmark 127 cipherEncrypt = Cipher.getInstance(cipherAlgorithm, providerName); in setUp() 128 cipherEncrypt.init(Cipher.ENCRYPT_MODE, key, spec); in setUp() 136 cipherEncrypt.doFinal(DATA, 0, inputSize, output); in timeEncrypt()
|