This is the main PKCS#5 v2.0 key generation function, it parses the ASN1
[openssl.git] / crypto / hmac / hmac.c
index d31e880e6f735f113da60b8ee813a926e72cd9c1..0825536393195e2648e7f9841967c1ef106d4fb5 100644 (file)
@@ -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;