CryptDeriveKey3w
Usage
BOOL CryptDeriveKey
(
HCRYPTPROV hProv,
ALG_ID Algid,
HCRYPTHASH hBaseData,
DWORD dwFlags,
HCRYPTKEY* phKey
)
Overview
Generates session keys derived from a base data value.
Params
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.
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.