PFND3D11_1DDI_GETENCRYPTIONBLTKEY - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

PFND3D11_1DDI_GETENCRYPTIONBLTKEY Pfnd3d111DdiGetencryptionbltkey;

VOID Pfnd3d111DdiGetencryptionbltkey(
  D3D10DDI_HDEVICE hDevice,
  D3D11_1DDI_HCRYPTOSESSION hCryptoSession,
  UINT KeySize,
  VOID *pReadbackKey
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-pfnd3d11_1ddi_getencryptionbltkey)

PFND3D11_1DDI_GETENCRYPTIONBLTKEY callback function

Description

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

Parameters

hDevice

A handle to the display device (graphics context).

hCryptoSession

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

KeySize

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

pReadbackKey

A pointer to a buffer that contains the encryption key.

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.

See also

CreateCryptoSession

EncryptionBlt(D3D11_1)