Lines Matching refs:key
75 * @param key the key used to encrypt the checksum.
80 public byte[] calculateKeyedChecksum(byte[] data, int size, byte[] key,
84 if (DESKeySpec.isWeak(key, 0)) {
85 key[7] = (byte)(key[7] ^ 0xF0);
90 byte[] ivec = new byte[key.length];
91 System.arraycopy(key, 0, ivec, 0, key.length);
92 byte[] cksum = Des.des_cksum(ivec, data, key);
97 byte[] key, byte[] checksum, int usage) throws KrbCryptoException {
98 byte[] new_cksum = calculateKeyedChecksum(data, data.length, key, usage);