Home
last modified time | relevance | path

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

/libcore/benchmarks/src/benchmarks/regression/
DCipherInputStreamBenchmark.java38 private static final byte[] IV = new byte[IV_SIZE]; field in CipherInputStreamBenchmark
45 IV[i] = (byte) i;
63 spec = new IvParameterSpec(IV); in setUp()
DCipherBenchmark.java40 private static final byte[] IV = new byte[IV_SIZE]; field in CipherBenchmark
47 IV[i] = (byte) i;
124 spec = new IvParameterSpec(IV); in setUp()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherTest.java61 private static final byte[] IV = new byte[] { field in CipherTest
266 AlgorithmParameterSpec ap = new IvParameterSpec(IV); in test_initWithAlgorithmParameterSpec()
271 assertTrue("IVs differ", Arrays.equals(cipherIV, IV)); in test_initWithAlgorithmParameterSpec()
295 AlgorithmParameterSpec ap = new IvParameterSpec(IV); in test_initWithKeyAlgorithmParameterSpecSecureRandom()
300 assertTrue("IVs differ", Arrays.equals(cipherIV, IV)); in test_initWithKeyAlgorithmParameterSpecSecureRandom()
427 AlgorithmParameterSpec ap = new IvParameterSpec(IV); in test_doFinal()
452 assertTrue(Arrays.equals(c.getIV(), IV)); in test_doFinal() local
513 AlgorithmParameterSpec ap = new IvParameterSpec(IV); in testDoFinalbyteArrayintintbyteArrayint()
629 AlgorithmParameterSpec ap = new IvParameterSpec(IV); in test_doFinalLjava_nio_ByteBufferLjava_nio_ByteBuffer()
694 AlgorithmParameterSpec ap = new IvParameterSpec(IV); in test_initWithKeyAlgorithmParameters()
[all …]