code: private void init(int tLen, byte[] src, int offset, int len) {
          if (tLen < 0) {
              throw new IllegalArgumentException(
                  "Length argument is negative");
          }
          this.tLen = tLen;
  
          // Input sanity check
          if ((src == null) ||(len < 0) || (offset < 0)
                  || ((len + offset) > src.length)) {
              throw new IllegalArgumentException("Invalid buffer arguments");
          }
  
          iv = new byte[len];
          System.arraycopy(src, offset, iv, 0, len);
      }
docs: /*
  Check input parameters.