SecurityPkg TcgStorageOpalLib: Update ComId for Block SID command.
The ComId for Block SID authentication command is 0x0005 according to "TCG Storage Feature Set: Block SID Authentication Specification Version 1.0.0". Update code to follow this spec requirement. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
@@ -258,7 +258,7 @@ OpalBlockSid(
|
||||
Session->Sscp,
|
||||
Session->MediaId,
|
||||
TCG_OPAL_SECURITY_PROTOCOL_2,
|
||||
Session->OpalBaseComId,
|
||||
TCG_BLOCKSID_COMID, // hardcode ComID 0x0005
|
||||
1,
|
||||
Buffer,
|
||||
BUFFER_SIZE
|
||||
|
Reference in New Issue
Block a user