internal function _krb5_HMAC_MD5_checksum

This commit is contained in:
Love Hornquist Astrand
2010-11-06 20:11:19 +01:00
parent 55ccd5ff9c
commit d6b93cec1e

View File

@@ -55,13 +55,13 @@ static struct key_type keytype_arcfour = {
* checksum according to section 5. of draft-brezak-win2k-krb-rc4-hmac-03.txt * checksum according to section 5. of draft-brezak-win2k-krb-rc4-hmac-03.txt
*/ */
static krb5_error_code krb5_error_code
HMAC_MD5_checksum(krb5_context context, _krb5_HMAC_MD5_checksum(krb5_context context,
struct key_data *key, struct key_data *key,
const void *data, const void *data,
size_t len, size_t len,
unsigned usage, unsigned usage,
Checksum *result) Checksum *result)
{ {
EVP_MD_CTX *m; EVP_MD_CTX *m;
struct checksum_type *c = _krb5_find_checksum (CKSUMTYPE_RSA_MD5); struct checksum_type *c = _krb5_find_checksum (CKSUMTYPE_RSA_MD5);
@@ -111,7 +111,7 @@ struct checksum_type _krb5_checksum_hmac_md5 = {
64, 64,
16, 16,
F_KEYED | F_CPROOF, F_KEYED | F_CPROOF,
HMAC_MD5_checksum, _krb5_HMAC_MD5_checksum,
NULL NULL
}; };