Lines Matching refs:iv
34 private final byte[] iv;
51 this.iv = null;
69 * @param iv
75 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) {
76 if (iv == null) {
79 if (iv.length < 2 * (wordSize / 8)) {
86 this.iv = new byte[2*(wordSize/8)];
87 System.arraycopy(iv, 0, this.iv, 0, 2*(wordSize/8));
105 * @param iv
116 int wordSize, byte[] iv, int offset) {
117 if (iv == null) {
123 if (iv.length - offset < 2 * (wordSize / 8)) {
130 this.iv = new byte[offset+2*(wordSize/8)];
131 System.arraycopy(iv, offset, this.iv, 0, 2*(wordSize/8));
167 if (iv == null) {
170 byte[] result = new byte[iv.length];
171 System.arraycopy(iv, 0, result, 0, iv.length);
196 && (Arrays.equals(iv, ps.iv));
207 if (iv == null) {
210 for (byte element : iv) {