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 "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.