STORAGE_RPMB_DATA_FRAME - NtDoc

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

typedef struct _STORAGE_RPMB_DATA_FRAME {
  UCHAR Stuff[196];
  UCHAR KeyOrMAC[32];
  UCHAR Data[256];
  UCHAR Nonce[16];
  UCHAR WriteCounter[4];
  UCHAR Address[2];
  UCHAR BlockCount[2];
  UCHAR OperationResult[2];
  UCHAR RequestOrResponseType[2];
} STORAGE_RPMB_DATA_FRAME, *PSTORAGE_RPMB_DATA_FRAME;

View the official Windows Driver Kit DDI reference
// winioctl.h

typedef struct _STORAGE_RPMB_DATA_FRAME {
  BYTE Stuff[196];
  BYTE KeyOrMAC[32];
  BYTE Data[256];
  BYTE Nonce[16];
  BYTE WriteCounter[4];
  BYTE Address[2];
  BYTE BlockCount[2];
  BYTE OperationResult[2];
  BYTE RequestOrResponseType[2];
} STORAGE_RPMB_DATA_FRAME, *PSTORAGE_RPMB_DATA_FRAME;

View the official Win32 API reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddstor-storage_rpmb_data_frame)

Description

The STORAGE_RPMB_DATA_FRAME structure identifies the data frame format of a Replay Protected Memory Block (RPMB) payload.

Members

Stuff

Reserved for system use. Do not use.

KeyOrMAC

Either the key to be programmed or the message authentication code (MAC) authenticating this frame (or series of frames).

Data

Contains data input or output.

Nonce

Random 128-bit number generated by host. Only required for reads.

WriteCounter

32-bit counter. Only required for writes.

Address

The half-sector address to operate on.

BlockCount

The count of half-sector blocks to read/write.

OperationResult

The result of the operation.

RequestOrResponseType

The type of request or response.

Remarks

This data frame is used to compose all RPMB requests and responses.

See also

STORAGE_RPMB_DESCRIPTOR


Win32 API reference (ns-winioctl-storage_rpmb_data_frame)

Description

Using the information from IOCTL_STORAGE_QUERY_PROPERTY, an application can create an RPMB frame to perform one of the following actions: • Program Authentication Key • Query RPMB Write Counter • Authenticated Write • Authenticated Read • Authenticated Device Configuration Write • Authenticated Device Configuration Read

Members

Stuff

Reserved space.

KeyOrMAC

Either the key to be programmed or the MAC authenticating this frame or series of frames.

Data

The data input or output.

Nonce

Random 128-bit number generated by host. Only required for reads.

WriteCounter

32-bit counter. Only required for writes.

Address

The half-sector address to operate on.

BlockCount

The count of half-sector blocks to read/write.

OperationResult

The result of the operation.

RequestOrResponseType

The type of request or response.

Remarks

See also