Lines Matching defs:offset
90 * and an offset.
93 * <code>offset + (2 * (wordSize / 8))</code> bytes. The bytes starting at
94 * <code>offset</code> are copied to protect them against modification.
104 * @param offset
105 * the offset in the initialization vector.
108 * <code>offset + (2 * (wordSize / 8))</code>.
110 * if <code>offset</code> is negative.
112 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int offset) {
116 if (offset < 0) {
117 throw new ArrayIndexOutOfBoundsException("offset < 0: " + offset);
119 if (iv.length - offset < 2 * (wordSize / 8)) {
120 throw new IllegalArgumentException("iv.length - offset < 2 * (wordSize / 8)");
125 this.iv = new byte[offset+2*(wordSize/8)];
126 System.arraycopy(iv, offset, this.iv, 0, 2*(wordSize/8));