RSAENH_CPDecrypt.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

RSAENH_CPDecrypt (RSAENH.@)

SYNOPSIS

BOOL RSAENH_CPDecrypt
 (
  HCRYPTPROV hProv,
  HCRYPTKEY  hKey,
  HCRYPTHASH hHash,
  BOOL       Final,
  DWORD      dwFlags,
  BYTE*      pbData,
  DWORD*     pdwDataLen
 )

DESCRIPTION

Decrypt data.

PARAMS

hProv [In] The key container hKey and hHash belong to.

hKey [In] The key used to decrypt the data.

hHash [In] An optional hash object for parallel hashing. See notes.

Final [In] Indicates if this is the last block of data to decrypt.

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

pbData [In/Out] Pointer to the data to decrypt. Plaintext will also be stored there.

pdwDataLen [In/Out] I: Length of ciphertext, O: Length of plaintext.

RETURNS

Success: TRUE.

Failure: FALSE.

NOTES

If a hash object handle is provided in hHash, it will be updated with the plaintext. This is useful for message signatures.

This function uses the standard WINAPI protocol for querying data of dynamic length.

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".