Suspend Resume Payload Encryption
更新时间: 2025/06/26
在Gitcode上查看源码

55h-挂起-恢复有效负载加密(Suspend-Resume-Payload-Encryption)

修订记录

openUBMC版本号修订日期修订内容
25.062025/06/26初稿,新增命令详情

基本信息

功能说明

挂起/恢复有效负载加密。

权限

命令信息

请求信息

字节顺序域取值说明
NetFnApp 06h
CMD55h
1[7:6]-reserved
[5:0]-payload type (See 表1, Payload Type Numbers)
2Payload Instance
[7:4]-reserved
[3:0]-payload instance
1-based
0h=reserved
3[7:2]-reserved
[4:0]-Operation
2h=Regenerate initialization vector
For xRC4 encryption, this causes the BMC to reinitialize the xRC4 state machine, reset the data
offset, and deliver a new Initialization Vector value in the next encrypted packet it sends to the remote console. Because of processing delays and potential tasks in progress, the remote console may receive additional packets from the BMC that are encrypted using the prior Initialization Vector before getting packets that use the new IV
1h=Resume/Start encryption on all transfers of specified payload data from the BMC
0h=Suspend encryption on all transfers of specified payload messages from the BMC

附表1 Payload Type Numbers

numbertypemajor format versionminor format version
Standard Payload Types
0hIPMI Message1h0h
1hSOL (serial over LAN)1h0h
2hOEM Explicit(When this payload type appears in the network header, it indicates that the packet includes explicit OEM IANA and OEM Payload ID fields that identify the payload type, instead of using an OEM Payload Type Handle to identify the type of payload contained in the packet. When used, this option adds 6 bytes to the overhead of the packet.)OEM specified according to OEM IANA and OEM Payload ID.OEM specified according to OEM IANA and OEM Payload ID.
Session Setup Payload Types
10hRMCP+ Open Session Request1h0h
11hRMCP+ Open Session Response1h0h
12hRAKP Message 11h0h
13hRAKP Message 21h0h
14hRAKP Message 31h0h
15hRAKP Message 41h0h
OEM Payload Type Handles
20h-27hHandle values for OEM payloads OEM0 through OEM7, respectively.OEM specified according to OEM IANA and OEM Payload ID.OEM specified according to OEM IANA and OEM Payload ID.
all otherreserved--

The payload type number is a 6-bits (00h-3Fh).

响应信息

字节顺序域取值说明
1Completion Code
Generic plus the following command-specific completion codes:
80h: Operation not supported for given payload type
81h: Operation not allowed under present configuration for given payload type
82h: Encryption is not available for session that payload type is active under
83h: The payload instance is not presently active

命令样例

挂起/恢复有效负载加密

请求:

ipmicmd -k "0f 00 MM NN" smi 0

响应:

0f MM NN

返回到索引