Expandir Minimizar

GetEncryptionBltKey function

Queries the key that is used to decrypt the data returned by the EncryptionBlt(D3D11_1) function.

Syntax


VOID APIENTRY* GetEncryptionBltKey(
  _In_   D3D10DDI_HDEVICE hDevice,
  _In_   D3D11_1DDI_HCRYPTOSESSION hCryptoSession,
  _Out_  UINT KeySize,
  _Out_  VOID *pReadbackKey
);

Parameters

hDevice [in]

A handle to the display device (graphics context).

hCryptoSession [in]

A handle to the cryptographic session that was created in a call to the driver's CreateCryptoSession function.

KeySize [out]

The size, in bytes, of the encryption key that the pReadBackKey parameter points to.

pReadbackKey [out]

A pointer to a buffer that contains the encryption key.

Return value

This function does not return a value.

Remarks

When the GetEncryptionBltKey function is called, the display miniport driver should generate a new encryption key. If the cryptographic session is using the D3DCRYPTOTYPE_AES128_CTR cryptographic type, the driver or graphics adapter should encrypt the data that is referenced by the pReadbackKey parameter by using the session key with the AES-ECB algorithm.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CreateCryptoSession
EncryptionBlt(D3D11_1)

 

 

Send comments about this topic to Microsoft

Mostrar:
© 2014 Microsoft