summaryrefslogtreecommitdiff
path: root/Documentation/security/keys/trusted-encrypted.rst
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2018-12-04 21:31:33 +0300
committerDan Williams <dan.j.williams@intel.com>2018-12-14 04:54:13 +0300
commit9db67581b91d9e9e05c35570ac3f93872e6c84ca (patch)
treeff45815c6b756313755cf3f688cddbecf2cd2fc8 /Documentation/security/keys/trusted-encrypted.rst
parent76ef5e17252789da79db78341851922af0c16181 (diff)
downloadlinux-9db67581b91d9e9e05c35570ac3f93872e6c84ca.tar.xz
keys-encrypted: add nvdimm key format type to encrypted keys
Adding nvdimm key format type to encrypted keys in order to limit the size of the key to 32bytes. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Acked-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Documentation/security/keys/trusted-encrypted.rst')
-rw-r--r--Documentation/security/keys/trusted-encrypted.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/security/keys/trusted-encrypted.rst b/Documentation/security/keys/trusted-encrypted.rst
index 3bb24e09a332..e8a1c35cd277 100644
--- a/Documentation/security/keys/trusted-encrypted.rst
+++ b/Documentation/security/keys/trusted-encrypted.rst
@@ -76,7 +76,7 @@ Usage::
Where::
- format:= 'default | ecryptfs'
+ format:= 'default | ecryptfs | enc32'
key-type:= 'trusted' | 'user'
@@ -173,3 +173,7 @@ are anticipated. In particular the new format 'ecryptfs' has been defined in
in order to use encrypted keys to mount an eCryptfs filesystem. More details
about the usage can be found in the file
``Documentation/security/keys/ecryptfs.rst``.
+
+Another new format 'enc32' has been defined in order to support encrypted keys
+with payload size of 32 bytes. This will initially be used for nvdimm security
+but may expand to other usages that require 32 bytes payload.