windows::Win32::Security::Cryptography

Function SslGenerateMasterKey

pub unsafe fn SslGenerateMasterKey(
    hsslprovider: NCRYPT_PROV_HANDLE,
    hprivatekey: Option<NCRYPT_KEY_HANDLE>,
    hpublickey: NCRYPT_KEY_HANDLE,
    phmasterkey: *mut NCRYPT_KEY_HANDLE,
    dwprotocol: u32,
    dwciphersuite: u32,
    pparameterlist: *const BCryptBufferDesc,
    pboutput: Option<&mut [u8]>,
    pcbresult: *mut u32,
    dwflags: u32,
) -> Result<()>