diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-06-07 21:00:19 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-06-07 21:00:19 +0000 |
commit | 97e4a932451188508b6f865b1a16f2e670a1c315 (patch) | |
tree | e93a777cf6aa89efd78048bf40df25bd105b040b /crypto/hmac/hmac.c | |
parent | 3928b6bf4815d5f9d9cf1af10dea84e27a74ccb2 (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.c | 2 |
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; |