Home | History | Annotate | Download | only in spec

Lines Matching refs:offset

67      * <code>key</code>, beginning at <code>offset</code> inclusive,
71 * <code>key[offset]</code> and <code>key[offset+23]</code> inclusive.
74 * 24 bytes of the buffer beginning at <code>offset</code> inclusive
76 * @param offset the offset in <code>key</code>, where the DES-EDE key
81 * <code>offset</code> inclusive, is shorter than 24 bytes
83 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException {
84 if (key.length - offset < 24) {
88 System.arraycopy(key, offset, this.key, 0, 24);
102 * Checks if the given DES-EDE key, starting at <code>offset</code>
106 * @param offset the offset into the byte array
112 * <code>offset</code> inclusive, is shorter than 24 bytes
114 public static boolean isParityAdjusted(byte[] key, int offset)
116 if (key.length - offset < 24) {
119 if (DESKeySpec.isParityAdjusted(key, offset) == false
120 || DESKeySpec.isParityAdjusted(key, offset + 8) == false
121 || DESKeySpec.isParityAdjusted(key, offset + 16) == false) {