---
name: "RSAENH_CPSetHashParam"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/RSAENH_CPSetHashParam"
---

# RSAENH\_CPSetHashParam(3w)

## NAME

**RSAENH\_CPSetHashParam** (RSAENH.@)

## SYNOPSIS

BOOL RSAENH\_CPSetHashParam\
  (\
   HCRYPTPROV *hProv*,\
   HCRYPTHASH *hHash*,\
   DWORD      *dwParam*,\
   BYTE\*      *pbData*,\
   DWORD      *dwFlags*\
  )

## DESCRIPTION

Set a parameter of a hash object.

## PARAMS

*hProv* **\[In\]**  The key container to which the key belongs.

*hHash* **\[In\]**  The hash object for which a parameter is to be set.

*dwParam* **\[In\]**  Parameter type. See Notes.

*pbData* **\[In\]**  Pointer to the parameter value.

*dwFlags* **\[In\]**  Currently none defined.

## RETURNS

**Success:** **TRUE**.

**Failure:** **FALSE**.

## NOTES

Currently only the **HP\_HMAC\_INFO** *dwParam* type is defined. The **HMAC\_INFO** struct will be deep copied into the hash object. See Internet **RFC** **2104** for details on the **HMAC** algorithm.

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/rsaenh/rsaenh.c"**.

Debug channel **"crypt"**.
