RSAENH_CPCreateHash.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

RSAENH_CPCreateHash (RSAENH.@)

SYNOPSIS

BOOL RSAENH_CPCreateHash
 (
  HCRYPTPROV  hProv,
  ALG_ID      Algid,
  HCRYPTKEY   hKey,
  DWORD       dwFlags,
  HCRYPTHASH* phHash
 )

DESCRIPTION

CPCreateHash creates and initalizes a new hash object.

PARAMS

hProv [In] Handle to the key container to which the new hash will belong.

Algid [In] Identifies the hash algorithm, which will be used for the hash.

hKey [In] Handle to a session key applied for keyed hashes.

dwFlags [In] Currently no flags defined. Must be zero.

phHash [Out] Points to the location where a handle to the new hash will be stored.

RETURNS

Success: TRUE

Failure: FALSE.

NOTES

hKey is a handle to a session key applied in keyed hashes like MAC and HMAC. If a normal hash object is to be created (like e.g. MD2 or SHA1) hKey must be zero.

IMPLEMENTATION

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

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

Debug channel "crypt".