CryptDeriveKey(3w)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.