diff options
author | Dave Jiang <dave.jiang@intel.com> | 2019-03-27 19:12:45 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-03-30 16:27:07 +0100 |
commit | d2e5b6436c28e7ee4988497d31122e06217876fb (patch) | |
tree | 049bc79af18b0c454f6df4b1d76b9c035d3ff99e /drivers/nvdimm/btt.c | |
parent | libnvdimm/security: provide fix for secure-erase to use zero-key (diff) | |
download | linux-d2e5b6436c28e7ee4988497d31122e06217876fb.tar.xz linux-d2e5b6436c28e7ee4988497d31122e06217876fb.zip |
libnvdimm/security, acpi/nfit: unify zero-key for all security commands
With zero-key defined, we can remove previous detection of key id 0 or null
key in order to deal with a zero-key situation. Syncing all security
commands to use the zero-key. Helper functions are introduced to return the
data that points to the actual key payload or the zero_key. This helps
uniformly handle the key material even with zero_key.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/btt.c')
0 files changed, 0 insertions, 0 deletions