/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | IvParameterSpecTest.java | 56 + "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()
|
D | GCMParameterSpecTest.java | 79 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()
|
D | RC2ParameterSpecTest.java | 66 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()
|
D | RC5ParameterSpecTest.java | 75 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/ |
D | IvParameterSpec.java | 96 public byte[] getIV() { in getIV() method in IvParameterSpec
|
D | GCMParameterSpec.java | 146 public byte[] getIV() { in getIV() method in GCMParameterSpec
|
D | RC2ParameterSpec.java | 119 public byte[] getIV() { in getIV() method in RC2ParameterSpec
|
D | RC5ParameterSpec.java | 159 public byte[] getIV() { in getIV() method in RC5ParameterSpec
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 793 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/ |
D | CipherSymmetricKeyThread.java | 59 iv = cip.getIV(); in crypt()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | NullCipherTest.java | 61 assertTrue("Incorrect IV", Arrays.equals(c.getIV(), new byte[8])); in testGetIV()
|
D | CipherTest.java | 270 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/ |
D | Handshaker.java | 1239 printHex(dump, clntWriteIV.getIV()); in calculateConnectionKeys() 1241 printHex(dump, svrWriteIV.getIV()); in calculateConnectionKeys()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | Cipher.java | 1053 public final byte[] getIV() { in getIV() method in Cipher
|