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 "include/bcrypt.h". gitlab.winehq.org/wine/wine/blob/master/include/bcrypt.h

Implemented in "dlls/advapi32/crypt.c". gitlab.winehq.org/wine/wine/blob/master/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 Dec 2024.