Lines Matching defs:checksum
32 /* checksum + (confounder + inputlen, in even blocksize) */
84 krb5_data d1, d2, d3, salt, plaintext, checksum, ciphertext, confounder;
109 * checksum field. 'd2' == 'd1' when not using the exportable
129 * k3 = HMAC(k1, checksum)
170 checksum.length=hashsize;
171 checksum.data=output->data;
220 * Compute the HMAC checksum field.
221 * checksum = HMAC(k1/k2, plaintext);
225 ret = krb5_hmac(context, kptr, &plaintext, &checksum);
227 ret = krb5_hmac(context, hash, kptr, 1, &plaintext, &checksum);
233 * The final encryption key is the HMAC of the checksum
236 * k3 = HMAC(k1, checksum);
241 ret = krb5_hmac(context, &k1, &checksum, &d3);
243 ret = krb5_hmac(context, hash, &k1, 1, &checksum, &d3);
280 krb5_data d1,d2,d3,salt,ciphertext,plaintext,checksum;
310 * checksum field. 'd2' == 'd1' when not using the exportable
330 * k3 = HMAC(k1, checksum)
368 checksum.length=hashsize;
369 checksum.data=input->data;
404 ret = krb5_hmac(context, &k1, &checksum, &d3);
406 ret = krb5_hmac(context, hash, &k1, 1, &checksum, &d3);
425 if (bcmp(checksum.data, d1.data, hashsize) != 0) {