PFND3D11_1DDI_GETENCRYPTIONBLTKEY callback function (d3d10umddi.h)

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

Syntax

PFND3D11_1DDI_GETENCRYPTIONBLTKEY Pfnd3d111DdiGetencryptionbltkey;

void Pfnd3d111DdiGetencryptionbltkey(
  D3D10DDI_HDEVICE hDevice,
  D3D11_1DDI_HCRYPTOSESSION hCryptoSession,
  UINT KeySize,
  VOID *pReadbackKey
)
{...}

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.

Return value

None

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

Requirement Value
Minimum supported client Windows 8,Available in Windows Desktop version 10.0.10030.0
Minimum supported server Windows Server 2012
Target Platform Windows
Header d3d10umddi.h (include D3d10umddi.h)

See also

CreateCryptoSession

EncryptionBlt(D3D11_1)