Scroll to navigation

RSAENH_CPCreateHash(3w) Wine API RSAENH_CPCreateHash(3w)

NAME

RSAENH_CPCreateHash (RSAENH.@)

SYNOPSIS

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

DESCRIPTION

CPCreateHash creates and initializes 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 declared in a Wine header. The function is either undocumented, or missing from Wine.
Implemented in "dlls/rsaenh/rsaenh.c".
Debug channel "crypt".
Oct 2012 Wine API