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 "bcrypt.h". https://source.winehq.org/source/include/bcrypt.h

Implemented in "dlls/advapi32/crypt.c". https://source.winehq.org/source/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 Apr 2024.