Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DIvParameterSpecTest.java56 + "the change of internal array", iv[0] == ivps.getIV()[0]); in testIvParameterSpec1()
115 + "the change of internal array", iv[0] == ivps.getIV()[0]); in testIvParameterSpec2()
129 iv = ivps.getIV(); in testGetIV()
132 + "the change of internal array", iv[0] == ivps.getIV()[0]); in testGetIV()
DGCMParameterSpecTest.java79 byte[] actual = spec.getIV(); in testGetIV_Success()
88 Arrays.equals(spec.getIV(), actual)); in testGetIV_Success()
89 assertEquals(Arrays.toString(TEST_IV), Arrays.toString(spec.getIV())); in testGetIV_Success()
95 Arrays.toString(spec.getIV())); in testGetIV_Subarray_Success()
DRC2ParameterSpecTest.java66 iv[0] == ps.getIV()[0]); in testRC2ParameterSpec1()
98 iv[offset] == ps.getIV()[0]); in testRC2ParameterSpec2()
126 byte[] result = ps.getIV(); in testGetIV()
134 result[0] == ps.getIV()[0]); in testGetIV()
137 + "set does not contain iv.", ps.getIV()); in testGetIV()
DRC5ParameterSpecTest.java75 iv[0] == ps.getIV()[0]); in testRC5ParameterSpec1()
125 iv[offset] == ps.getIV()[0]); in testRC5ParameterSpec2()
195 byte[] result = ps.getIV(); in testGetIV()
203 result[0] == ps.getIV()[0]); in testGetIV()
206 + "set does not contain IV.", ps.getIV()); in testGetIV()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DIvParameterSpec.java96 public byte[] getIV() { in getIV() method in IvParameterSpec
DGCMParameterSpec.java146 public byte[] getIV() { in getIV() method in GCMParameterSpec
DRC2ParameterSpec.java119 public byte[] getIV() { in getIV() method in RC2ParameterSpec
DRC5ParameterSpec.java159 public byte[] getIV() { in getIV() method in RC5ParameterSpec
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java793 byte[] iv = encryptCipher.getIV(); in getDecryptAlgorithmParameterSpec()
1321 assertNull(cipherID + " getIV()", c.getIV()); in test_Cipher()
1344 assertNull(cipherID + " getIV()", c.getIV()); in test_Cipher()
1346 assertNotNull(cipherID + " getIV()", c.getIV()); in test_Cipher()
1350 Arrays.toString(((IvParameterSpec) encryptSpec).getIV()), in test_Cipher()
1351 Arrays.toString(c.getIV())); in test_Cipher()
1353 assertNotNull(c.getIV()); in test_Cipher()
1355 Arrays.toString(((GCMParameterSpec) encryptSpec).getIV()), in test_Cipher()
1356 Arrays.toString(c.getIV())); in test_Cipher()
1359 assertNull(cipherID + " getIV()", c.getIV()); in test_Cipher()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherSymmetricKeyThread.java59 iv = cip.getIV(); in crypt()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DNullCipherTest.java61 assertTrue("Incorrect IV", Arrays.equals(c.getIV(), new byte[8])); in testGetIV()
DCipherTest.java270 byte[] cipherIV = cipher.getIV(); in test_initWithAlgorithmParameterSpec()
299 byte[] cipherIV = cipher.getIV(); in test_initWithKeyAlgorithmParameterSpecSecureRandom()
452 assertTrue(Arrays.equals(c.getIV(), IV)); in test_doFinal()
/libcore/ojluni/src/main/java/sun/security/ssl/
DHandshaker.java1239 printHex(dump, clntWriteIV.getIV()); in calculateConnectionKeys()
1241 printHex(dump, svrWriteIV.getIV()); in calculateConnectionKeys()
/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java1053 public final byte[] getIV() { in getIV() method in Cipher