summaryrefslogtreecommitdiffstats
path: root/crypto/hmac/hmac.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-06-07 21:00:19 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-06-07 21:00:19 +0000
commit97e4a932451188508b6f865b1a16f2e670a1c315 (patch)
treee93a777cf6aa89efd78048bf40df25bd105b040b /crypto/hmac/hmac.c
parent3928b6bf4815d5f9d9cf1af10dea84e27a74ccb2 (diff)
This is the main PKCS#5 v2.0 key generation function, it parses the ASN1
structure and decides what key to generate (if any). Not currently added to the PBE algorithm list because it is largely untested.
Diffstat (limited to 'crypto/hmac/hmac.c')
-rw-r--r--crypto/hmac/hmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac/hmac.c b/crypto/hmac/hmac.c
index d31e880e6f..0825536393 100644
--- a/crypto/hmac/hmac.c
+++ b/crypto/hmac/hmac.c
@@ -133,7 +133,7 @@ void HMAC_cleanup(HMAC_CTX *ctx)
memset(ctx,0,sizeof(HMAC_CTX));
}
-unsigned char *HMAC(EVP_MD *evp_md, unsigned char *key, int key_len,
+unsigned char *HMAC(const EVP_MD *evp_md, const unsigned char *key, int key_len,
unsigned char *d, int n, unsigned char *md, unsigned int *md_len)
{
HMAC_CTX c;