From: | ghudson@mit.edu |
Subject: | SVN Commit |
In PAC signatures, the hmac-md5 checksum type can be used with AES
keys. Make this work by removing the enc field from the hmac-md5 and
md5-hmac checksum types, and adding a check in
krb5int_hmacmd5_checksum() for a null key or a key which is longer
than the hash block size (64 bytes for MD5). The checksum algorithm
only uses the key bits; it does invoke the cipher.
The checksum type names are kind of wrong, but we'll leave them alone
for compatibility. The descriptions are updated.
https://github.com/krb5/krb5/commit/3460c7dd68147d2a343893752ad9cd29d74f5def
Commit By: ghudson
Revision: 24191
Changed Files:
U trunk/src/lib/crypto/krb/checksum/hmac_md5.c
U trunk/src/lib/crypto/krb/cksumtypes.c