Suspend/Resume Payload Encryption 命令详情
更新时间:2025/06/26
在Gitcode上查看源码修订记录
| openUBMC版本号 | 修订日期 | 修订人 | 修订内容 |
|---|---|---|---|
| 25.06 | 2025/06/26 | pengqiang-gs | 初稿,新增命令详情 |
基本信息
功能说明
标准命令,使能负载传输时是否加密。 This command enables a remote console to control whether payload data from the BMC is sent encrypted or not.
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | [7:6] - reserved [5:0] - payload type. See Payload Type Numbers |
| 2 | Payload 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 | Completion 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. |
命令样例
样例1:使能负载类型为 1 的传输数据进行加密
- 请求:
- 响应: