CryptEncrypt (ADVAPI32.@)
BOOL CryptEncrypt ( HCRYPTKEY hKey, HCRYPTHASH hHash, BOOL Final, DWORD dwFlags, BYTE* pbData, DWORD* pdwDataLen, DWORD dwBufLen )
Encrypts data.
hKey | [In] | Handle to the encryption key. |
hHash | [In] | Handle to a hash object. |
Final | [In] | TRUE if this is the last section to encrypt. |
dwFlags | [In] | Can be CRYPT_OAEP. |
pbData | [In/Out] | Data to be encrypted. Contains encrypted data after call. |
pdwDataLen | [In/Out] | Length of the data to encrypt. Contains the length of the encrypted data after call. |
dwBufLen | [In] | Length of the input pbData buffer. |
Success: TRUE
Failure: FALSE.
If pbData is NULL, CryptEncrypt determines stores the number of bytes required for the returned data in pdwDataLen.
Declared in "include/wincrypt.h". gitlab.winehq.org/wine/wine/blob/master/include/wincrypt.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 Nov 2024.