diff options
author | Eric Dong <eric.dong@intel.com> | 2016-04-15 11:05:27 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-05-05 12:52:45 +0800 |
commit | 81c1b6df92184f07446b6cf197b18c61ad8b73f0 (patch) | |
tree | 3bf7b2e48129a6b4758f4b15b5354462abe282a7 /SecurityPkg | |
parent | cb3077230f3a6f65c747840c511d739b95955369 (diff) | |
download | edk2-platforms-81c1b6df92184f07446b6cf197b18c61ad8b73f0.tar.xz |
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>
Diffstat (limited to 'SecurityPkg')
-rw-r--r-- | SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c index 2db5ffeba9..f60a427012 100644 --- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c +++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c @@ -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
|