CryptDecrypt(3w)

CryptDecrypt3w

Usage

BOOL CryptDecrypt
(
HCRYPTKEY hKey,
HCRYPTHASH hHash,
BOOL Final,
DWORD dwFlags,
BYTE* pbData,
DWORD* pdwDataLen
)

Overview

Decrypts data encrypted by CryptEncrypt.

Params

hKey [In] Handle to the decryption key.

hHash [In] Handle to a hash object.

Final [In] TRUE if this is the last section to be decrypted.

dwFlags [In] Reserved for future use. Can be CRYPT_OAEP.

pbData [In/Out] Buffer that holds the encrypted data. Holds decrypted data on return.

pdwDataLen [In/Out] Length of pbData before and after the call.

Returns

Success: TRUE

Failure: FALSE

Implementation

Declared in "wincrypt.h".

Implemented in "dlls/advapi32/crypt.c".

Debug channel "crypt".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.