CryptDeriveKey (ADVAPI32.@)
BOOL CryptDeriveKey ( HCRYPTPROV hProv, ALG_ID Algid, HCRYPTHASH hBaseData, DWORD dwFlags, HCRYPTKEY* phKey )
Generates session keys derived from a base data value.
| hProv | [In] | Handle to a CSP. |
| Algid | [In] | Identifies the symmetric encryption algorithm to use. |
| hBaseData | [In] | Handle to a hash object. |
| dwFlags | [In] | Type of key to generate. |
| phKey | [In/Out] | Address of the newly generated key. |
Success: TRUE
Failure: FALSE
Defined in "wincrypt.h".
Implemented in "dlls/advapi32/crypt.c". source.winehq.org/source/dlls/advapi32/crypt.c
Debug channel "crypt".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2006.