RSAENH_CPDeriveKey(3w)
NAME
RSAENH_CPDeriveKey (RSAENH.@)
SYNOPSIS
BOOL RSAENH_CPDeriveKey ( HCRYPTPROV hProv, ALG_ID Algid, HCRYPTHASH hBaseData, DWORD dwFlags, HCRYPTKEY* phKey )
DESCRIPTION
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 defined in a Wine header. The function is either undocumented, or
missing from Wine.
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/rsaenh/rsaenh.c".
- Debug channel "crypt".