Lines Matching defs:baseKey
140 public byte[] calculateChecksum(byte[] baseKey, int usage, byte[] input,
160 Ksign = getHmac(baseKey, new_ss);
205 public byte[] encryptSeq(byte[] baseKey, int usage,
215 byte[] kSeq = getHmac(baseKey, salt);
231 public byte[] decryptSeq(byte[] baseKey, int usage,
242 byte[] kSeq = getHmac(baseKey, salt);
258 public byte[] encrypt(byte[] baseKey, int usage,
282 byte[] k1 = new byte[baseKey.length];
283 System.arraycopy(baseKey, 0, k1, 0, baseKey.length);
313 public byte[] encryptRaw(byte[] baseKey, int usage,
328 byte[] klocal = new byte[baseKey.length];
330 klocal[i] = (byte) (baseKey[i] ^ 0xF0);
350 * @param baseKey key from which keys are to be derived using usage
353 public byte[] decrypt(byte[] baseKey, int usage, byte[] ivec,
366 byte[] k1 = new byte[baseKey.length];
367 System.arraycopy(baseKey, 0, k1, 0, baseKey.length);
421 * @param baseKey encryption key to use
425 public byte[] decryptRaw(byte[] baseKey, int usage, byte[] ivec,
439 byte[] klocal = new byte[baseKey.length];
441 klocal[i] = (byte) (baseKey[i] ^ 0xF0);