June 23, 2010 |
8.28 Security Protocol Commands (FN 51h)
The purpose of this function is to support the Trusted Computing feature set (see
Entry
AH 51h
AL Flags
Bit Description
7 Direction
0 = Send data to the device
1 = Receive data from the device 6:0 Reserved
CX Security Protocol Specific
Specifies data which varies based on the Security Protocol ID. (See
DH Security Protocol ID
Specifies which security protocol is to be used. (See
ES:BX
Exit
Carry Clear Function completed without error AH Shall be cleared to zero
AL Shall be set to the status of the last INT 13h operation
ES:BX Shall be set to the
Carry Set Function completed with an error
AH Shall be set to the error code
ES:BX Shall be set to the
Table 33 — Data Buffer for Security Protocol Commands
Offset | Type | Description |
00h | DWord | Length (bytes) of the Payload Data |
|
| On Entry: |
|
| If the Direction bit is set to one, then this field contains the number |
|
| of bytes to be sent to the device. If Direction bit is cleared to zero, |
|
| then this field contains the expected number of bytes to be received |
|
| from the device, and the buffer shall be large enough to |
|
| accommodate this number, plus 8 bytes. |
|
| On Exit: |
|
| If the Direction bit is cleared to zero, this field contains the actual |
|
| number of bytes received from the device |
|
|
|
04h | DWord | Reserved |
|
|
|
08h..(Length of Payload Data+8) | Byte | Payload Data |
|
| The content of this data depends on the selected Security Protocol. |
Working Draft Enhanced Disk Drive - 4 | 69 |