MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
_EFI_STORAGE_SECURITY_COMMAND_PROTOCOL Struct Reference

Data Fields

EFI_STORAGE_SECURITY_RECEIVE_DATA ReceiveData
 
EFI_STORAGE_SECURITY_SEND_DATA SendData
 

Detailed Description

The EFI_STORAGE_SECURITY_COMMAND_PROTOCOL is used to send security protocol commands to a mass storage device. Two types of security protocol commands are supported. SendData sends a command with data to a device. ReceiveData sends a command that receives data and/or the result of one or more commands sent by SendData.

The security protocol command formats supported shall be based on the definition of the SECURITY PROTOCOL IN and SECURITY PROTOCOL OUT commands defined in SPC-4. If the device uses the SCSI command set, no translation is needed in the firmware and the firmware can package the parameters into a SECURITY PROTOCOL IN or SECURITY PROTOCOL OUT command and send the command to the device. If the device uses a non-SCSI command set, the firmware shall map the command and data payload to the corresponding command and payload format defined in the non-SCSI command set (for example, TRUSTED RECEIVE and TRUSTED SEND in ATA8-ACS).

The firmware shall automatically add an EFI_STORAGE_SECURITY_COMMAND_PROTOCOL for any storage devices detected during system boot that support SPC-4, ATA8-ACS or their successors.

Field Documentation

EFI_STORAGE_SECURITY_RECEIVE_DATA _EFI_STORAGE_SECURITY_COMMAND_PROTOCOL::ReceiveData
EFI_STORAGE_SECURITY_SEND_DATA _EFI_STORAGE_SECURITY_COMMAND_PROTOCOL::SendData