NAME

CryptDecrypt  (ADVAPI32.@)

SYNOPSIS

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

DESCRIPTION

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 "bcrypt.h". https://source.winehq.org/source/include/bcrypt.h

Implemented in "dlls/advapi32/crypt.c". https://source.winehq.org/source/dlls/advapi32/crypt.c

Debug channel "crypt".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.