Lines Matching refs:cksum
90 //calculate md5 cksum
92 byte[] cksum = new byte[cksumSize()];
93 System.arraycopy(conf, 0, cksum, 0, confounderSize());
94 System.arraycopy(mdc_cksum, 0, cksum, confounderSize(),
113 byte[] enc_cksum = new byte[cksum.length];
114 Des.cbc_encrypt(cksum, enc_cksum, new_key, ivec, true);
131 byte[] cksum = decryptKeyedChecksum(checksum, key);
135 System.arraycopy(cksum, 0, new_data, 0, confounderSize());
139 //extract original cksum value
141 System.arraycopy(cksum, confounderSize(), orig_cksum, 0,
171 byte[] cksum = new byte[enc_cksum.length];
172 Des.cbc_encrypt(enc_cksum, cksum, new_key, ivec, false);
173 return cksum;