.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RSAENH_CPDeriveKey 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRSAENH_CPDeriveKey\fR (RSAENH.@) .SH SYNOPSIS BOOL RSAENH_CPDeriveKey ( HCRYPTPROV \fIhProv\fR, ALG_ID \fIAlgid\fR, HCRYPTHASH \fIhBaseData\fR, DWORD \fIdwFlags\fR, HCRYPTKEY* \fIphKey\fR ) .SH DESCRIPTION .PP Derives a key from a hash value. .SH PARAMS \fIhProv\fR \fB[In]\fR Key container for which a key is to be generated. .PP \fIAlgid\fR \fB[In]\fR Crypto algorithm identifier for the key to be generated. .PP \fIhBaseData\fR \fB[In]\fR Hash from whose value the key will be derived. .PP \fIdwFlags\fR \fB[In]\fR See Notes. .PP \fIphKey\fR \fB[Out]\fR The generated key. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR .PP \fBFailure:\fR \fBFALSE\fR. .SH NOTES .PP Defined flags: .PP \fB-\fR CRYPT_EXPORTABLE: Key can be exported. .PP \fB-\fR CRYPT_NO_SALT: No salt is used for \fB40\fR bit keys. .PP \fB-\fR CRYPT_CREATE_SALT: Use remaining bits as salt value. .SH IMPLEMENTATION .PP Not declared in a Wine header. The function is either undocumented, or missing from Wine. .PP Implemented in \fB"dlls/rsaenh/rsaenh.c"\fR. .PP Debug channel \fB"crypt"\fR.