fuchsia.hardware.rpmb

PROTOCOLS

Rpmb

Defined in fuchsia.hardware.rpmb/rpmb.fidl

GetDeviceInfo

Request

NameType

Response

NameType
info DeviceInfo

Request

Request

NameType
request Request

Response

NameType
result Rpmb_Request_Result

STRUCTS

Rpmb_Request_Response

Defined in fuchsia.hardware.rpmb/rpmb.fidl

NameTypeDescriptionDefault

EmmcDeviceInfo

Defined in fuchsia.hardware.rpmb/rpmb.fidl

NameTypeDescriptionDefault
cid uint8[16]

The device's CID register.

No default
rpmb_size uint8

RPMB_SIZE_MULT from the device's EXT_CSD register.

No default
reliable_write_sector_count uint8

REL_WR_SEC_C from the device's EXT_CSD register.

No default

Request

Defined in fuchsia.hardware.rpmb/rpmb.fidl

Represents an RPMB operation, which consists of sending one or more frames then receiving zero or more frames. The tx_frames and rx_frames VMOs will be transferred to the protocol implementation, so clients should keep duplicates of them if access is needed after the call to Request(). The request will be aborted as soon as an error is encountered, meaning the read operation will not be performed if the write operation failed. Invalid parameters passed through tx_frames or rx_frames will cause an error to be returned immediately, without either operation having been performed.

NameTypeDescriptionDefault
tx_frames fuchsia.mem/Range

May not be null as all operations involve sending at least one frame. tx_frames.size must be a multiple of and at least FRAME_SIZE.

No default
rx_frames fuchsia.mem/Range?

May be null if no frames need to be received. rx_frames.size must be a multiple of FRAME_SIZE if rx_frames is not null.

No default

UNIONS

Rpmb_Request_Result

Defined in fuchsia.hardware.rpmb/rpmb.fidl

NameTypeDescription
response Rpmb_Request_Response
err zx/status

DeviceInfo

Defined in fuchsia.hardware.rpmb/rpmb.fidl

NameTypeDescription
emmc_info EmmcDeviceInfo

CONSTANTS

NameValueTypeDescription
FRAME_SIZE 512 uint32

The RPMB frame size in bytes.