Home | History | Annotate | Download | only in spec

Lines Matching refs:len

100      * @param len the number of IV bytes
103 * {@code src} is null, {@code len} or {@code offset} is negative,
104 * or the sum of {@code offset} and {@code len} is greater than the
107 public GCMParameterSpec(int tLen, byte[] src, int offset, int len) {
108 init(tLen, src, offset, len);
114 private void init(int tLen, byte[] src, int offset, int len) {
122 if ((src == null) ||(len < 0) || (offset < 0)
123 || ((len + offset) > src.length)) {
127 iv = new byte[len];
128 System.arraycopy(src, offset, iv, 0, len);