public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Add Security feature set support for ATA devices
@ 2019-02-21  0:30 Hao Wu
  2019-02-21  0:30 ` [PATCH v2 1/1] SecurityPkg/HddPassword: Add Security feature set support for ATA dev Hao Wu
  0 siblings, 1 reply; 4+ messages in thread
From: Hao Wu @ 2019-02-21  0:30 UTC (permalink / raw)
  To: edk2-devel; +Cc: Hao Wu, Eric Dong, Ray Ni, Chao Zhang, Jiewen Yao

This patch actually depends on a series that is currently under review:
https://www.mail-archive.com/edk2-devel@lists.01.org/msg51681.html

One can get this patch together with the above-mentioned series at:
https://github.com/hwu25/edk2/tree/hddpassword_v2

V2 changes:
As suggested by Ray, simplifies the logic within PPI notification callback
to directly use the PPI instance provided by the input parameter of
callback function.


V1 history:

Uni-tests performed for the patch:
* Password can be set/update/disabled to an ATA device via the HII page;
* A popup windows will show up if a device is set with password. And after
  inputting the correct password, the data can be accessed. Otherwise,
  data cannot be accessed;
* A device with password set can be auto-unlocked during the S3 resume.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>

Hao Wu (1):
  SecurityPkg/HddPassword: Add Security feature set support for ATA dev

 SecurityPkg/SecurityPkg.dsc                       |    6 +
 SecurityPkg/HddPassword/HddPasswordDxe.inf        |   75 +
 SecurityPkg/HddPassword/HddPasswordPei.inf        |   54 +
 SecurityPkg/HddPassword/HddPasswordCommon.h       |   61 +
 SecurityPkg/HddPassword/HddPasswordDxe.h          |  148 +
 SecurityPkg/HddPassword/HddPasswordHiiDataStruc.h |   63 +
 SecurityPkg/HddPassword/HddPasswordPei.h          |   42 +
 SecurityPkg/HddPassword/HddPassword.vfr           |  188 ++
 SecurityPkg/HddPassword/HddPasswordDxe.c          | 2814 ++++++++++++++++++++
 SecurityPkg/HddPassword/HddPasswordPei.c          |  374 +++
 SecurityPkg/HddPassword/HddPasswordStrings.uni    |   48 +
 11 files changed, 3873 insertions(+)
 create mode 100644 SecurityPkg/HddPassword/HddPasswordDxe.inf
 create mode 100644 SecurityPkg/HddPassword/HddPasswordPei.inf
 create mode 100644 SecurityPkg/HddPassword/HddPasswordCommon.h
 create mode 100644 SecurityPkg/HddPassword/HddPasswordDxe.h
 create mode 100644 SecurityPkg/HddPassword/HddPasswordHiiDataStruc.h
 create mode 100644 SecurityPkg/HddPassword/HddPasswordPei.h
 create mode 100644 SecurityPkg/HddPassword/HddPassword.vfr
 create mode 100644 SecurityPkg/HddPassword/HddPasswordDxe.c
 create mode 100644 SecurityPkg/HddPassword/HddPasswordPei.c
 create mode 100644 SecurityPkg/HddPassword/HddPasswordStrings.uni

-- 
2.12.0.windows.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-21  5:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-21  0:30 [PATCH v2 0/1] Add Security feature set support for ATA devices Hao Wu
2019-02-21  0:30 ` [PATCH v2 1/1] SecurityPkg/HddPassword: Add Security feature set support for ATA dev Hao Wu
2019-02-21  4:52   ` Ni, Ray
2019-02-21  5:56   ` Dong, Eric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox