Lines Matching refs:iv

45      * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) method
47 * inappropriate constructor parameters and that input iv array is
60 byte[] iv = {1, 2, 3, 4};
65 + "in the case of null iv.");
70 new RC5ParameterSpec(version, rounds, wordSize+8, iv);
72 + "in the case of short iv.");
79 + "in the case of short iv.");
84 wordSize, iv);
85 iv[0] ++;
86 assertFalse("The change of iv specified in the constructor "
88 iv[0] == ps.getIV()[0]);
92 * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int
94 * the case of inappropriate constructor parameters and that input iv array
107 byte[] iv = {1, 2, 3, 4, 5, 6};
113 + "in the case of null iv.");
118 new RC5ParameterSpec(version, rounds, wordSize+8, iv, offset);
120 + "in the case of short iv.");
125 new RC5ParameterSpec(version, rounds, wordSize, iv, offset+1);
127 + "in the case of short iv.");
135 + "in the case of short iv.");
140 iv, offset);
141 iv[offset] ++;
142 assertFalse("The change of iv specified in the constructor "
144 iv[offset] == ps.getIV()[0]);
222 * that getIV() method returns null if iv is not specified.
234 byte[] iv = {1, 2, 3, 4};
237 wordSize, iv);
239 if (! Arrays.equals(iv, result)) {
240 fail("The returned iv is not equal to the specified "
244 assertFalse("The change of returned by getIV() method iv "
267 byte[] iv = {1, 2, 3, 4, 5, 6};
270 wordSize, iv);
272 wordSize, iv);
295 ps2 = new RC5ParameterSpec(version+1, rounds, wordSize, iv);
298 ps2 = new RC5ParameterSpec(version, rounds+1, wordSize, iv);
301 ps2 = new RC5ParameterSpec(version, rounds, wordSize/2, iv);
323 byte[] iv = {1, 2, 3, 4, 5, 6};
326 wordSize, iv);
328 wordSize, iv);