Scroll to navigation

CryptDeriveKey(3w) Wine API CryptDeriveKey(3w)

NAME

CryptDeriveKey (ADVAPI32.@)

SYNOPSIS

BOOL CryptDeriveKey
(
HCRYPTPROV hProv,
ALG_ID Algid,
HCRYPTHASH hBaseData,
DWORD dwFlags,
HCRYPTKEY* phKey
)
 

DESCRIPTION

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".
Oct 2012 Wine API