krb5: Stash the HMAC context in the krb5_crypto object
Store the EVP HMAC context in the krb5_crypto object so that we don't have to allocate it for every hashing operating we perform.
This commit is contained in:

committed by
Jeffrey Altman

parent
e50faea7f0
commit
b9b8e76376
@@ -205,6 +205,7 @@ struct krb5_crypto_data {
|
||||
struct _krb5_encryption_type *et;
|
||||
struct _krb5_key_data key;
|
||||
EVP_MD_CTX *mdctx;
|
||||
HMAC_CTX *hmacctx;
|
||||
int num_key_usage;
|
||||
struct _krb5_key_usage *key_usage;
|
||||
};
|
||||
|
Reference in New Issue
Block a user