RSAENH_CPDeriveKey(3w)

RSAENH_CPDeriveKey3w

Usage

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

Overview

Derives a key from a hash value.

Params

hProv [In] Key container for which a key is to be generated.

Algid [In] Crypto algorithm identifier for the key to be generated.

hBaseData [In] Hash from whose value the key will be derived.

dwFlags [In] See Notes.

phKey [Out] The generated key.

Returns

Success: TRUE

Failure: FALSE.

Notes

Defined flags:

- CRYPT_EXPORTABLE: Key can be exported.

- CRYPT_NO_SALT: No salt is used for 40 bit keys.

- CRYPT_CREATE_SALT: Use remaining bits as salt value.

Implementation

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/rsaenh/rsaenh.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.