Pullup to 1.7-branch is only for the test case, as krb5-1.7 behaved
authorTom Yu <tlyu@mit.edu>
Thu, 26 Nov 2009 03:54:59 +0000 (03:54 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 26 Nov 2009 03:54:59 +0000 (03:54 +0000)
commitad2adb977e00181627be7c9a4980b4015fd58fa6
tree0d2a5e733401d0d905fea8bb398f1b97f67e081e
parentdc3ba26a2c9acde7ca4ed9260fdc01997511e478
Pullup to 1.7-branch is only for the test case, as krb5-1.7 behaved
correctly for these checksums.

Fix regression in MD4-DES and MD5-DES keyed checksums.  The original
key was being used for the DES encryption, not the "xorkey".  (key
with each byte XORed with 0xf0)

Add a test case that will catch future regressions of this sort, by
including a verification of a "known-good" checksum (derived from a
known-to-be-interoperable version of the implementation).

ticket: 6584
target_version: 1.7.1
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23361 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/crypto_tests/Makefile.in
src/lib/crypto/crypto_tests/t_cksum.c
src/lib/crypto/krb/keyhash_provider/k5_md4des.c
src/lib/crypto/krb/keyhash_provider/k5_md5des.c