Searched refs:getIV (Results 1 - 13 of 13) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DIvParameterSpecTest.java56 + "the change of internal array", iv[0] == ivps.getIV()[0]);
115 + "the change of internal array", iv[0] == ivps.getIV()[0]);
129 iv = ivps.getIV();
132 + "the change of internal array", iv[0] == ivps.getIV()[0]);
H A DRC2ParameterSpecTest.java66 iv[0] == ps.getIV()[0]);
98 iv[offset] == ps.getIV()[0]);
116 * getIV() method testing. Tests that returned array is equal to the
119 * that getIV() method returns null if iv is not specified.
126 byte[] result = ps.getIV();
132 assertFalse("The change of returned by getIV() method iv "
134 result[0] == ps.getIV()[0]);
136 assertNull("The getIV() method should return null if the parameter "
137 + "set does not contain iv.", ps.getIV());
H A DRC5ParameterSpecTest.java75 iv[0] == ps.getIV()[0]);
125 iv[offset] == ps.getIV()[0]);
182 * getIV() method testing. Tests that returned array is equal to the
185 * that getIV() method returns null if iv is not specified.
195 byte[] result = ps.getIV();
201 assertFalse("The change of returned by getIV() method iv "
203 result[0] == ps.getIV()[0]);
205 assertNull("The getIV() method should return null if the parameter "
206 + "set does not contain IV.", ps.getIV());
/libcore/luni/src/main/java/javax/crypto/spec/
H A DIvParameterSpec.java77 public byte[] getIV() { method in class:IvParameterSpec
H A DRC2ParameterSpec.java114 public byte[] getIV() { method in class:RC2ParameterSpec
H A DRC5ParameterSpec.java161 public byte[] getIV() { method in class:RC5ParameterSpec
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DCipherSymmetricKeyThread.java59 iv = cip.getIV();
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DNullCipherTest.java61 assertTrue("Incorrect IV", Arrays.equals(c.getIV(), new byte[8]));
H A DCipherTest.java270 byte[] cipherIV = cipher.getIV();
299 byte[] cipherIV = cipher.getIV();
452 assertTrue(Arrays.equals(c.getIV(), IV));
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DConnectionStateSSLv3.java169 logger.print(clientIV.getIV());
171 logger.print(serverIV.getIV());
H A DConnectionStateTLS.java189 logger.print(clientIV.getIV());
191 logger.print(serverIV.getIV());
/libcore/luni/src/main/java/javax/crypto/
H A DCipher.java410 public final byte[] getIV() { method in class:Cipher
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DCipherTest.java695 // TODO: test Cipher.getIV()
1774 assertNull("ECB mode has no IV and should be null", c.getIV());
1778 assertNull("ECB mode has no IV and should be null", c.getIV());

Completed in 1059 milliseconds