PFND3D11_1DDI_STARTSESSIONKEYREFRESH - NtDoc

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

PFND3D11_1DDI_STARTSESSIONKEYREFRESH Pfnd3d111DdiStartsessionkeyrefresh;

VOID Pfnd3d111DdiStartsessionkeyrefresh(
  D3D10DDI_HDEVICE hDevice,
  D3D11_1DDI_HCRYPTOSESSION hCryptoSession,
  UINT RandomNumberSize,
  VOID *pRandomNumber
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PFND3D11_1DDI_STARTSESSIONKEYREFRESH callback function

Description

Gets a random number that can be used to refresh the session key.

Parameters

hDevice

A handle to the display device (graphics context).

hCryptoSession

A handle to the cryptographic session object that was created through a call to the CreateCryptoSession function.

RandomNumberSize

The size, in bytes, of the number in the buffer that is referenced by the pRandomNumber parameter.

pRandomNumber

A pointer to a buffer that contains the status sequence number for the random start.

Remarks

The hardware and driver can optionally support StartSessionKeyRefresh for all cryptographic types.

When the Microsoft Direct3D runtime calls the driver's StartSessionKeyRefresh function, the driver generates and saves a random number and returns it in the buffer that the pRandomNumber parameter points to.

When the runtime subsequently calls the driver's FinishSessionKeyRefresh function, the driver refreshes the session key by performing an XOR operation of the random number with the key.

See also

CreateCryptoSession

FinishSessionKeyRefresh