代码拉取完成,页面将自动刷新
package ipmi
// see 22.21
//
// This command is used to send a block of data to the BMC, whereupon the BMC will
// return a hash of the data together concatenated with the internally stored password for the given channel and user
type GetAuthCodeRequest struct {
AuthType AuthType
ChannelNumber uint8
UserID uint8
// data to hash (must be 16 bytes)
Data [16]byte
}
type GetAuthCodeResponse struct {
CompletionCode
// For IPMI v1.5 AuthCode Number:
AuthCode [16]byte
// ForIPMI v2.0 Integrity Algorithm Number
// Resultant hash, per selected Integrity algorithm. Up to 20 bytes. An
// implementation can elect to return a variable length field based on the size of
// the hash for the given integrity algorithm, or can return a fixed field where the
// hash data is followed by 00h bytes as needed to pad the data to 20 bytes.
Hash []byte
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。