mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Acked-by: Mimi Zohar <[email protected]> Signed-off-by: Dan Williams <[email protected]>
This commit is contained in:
parent
76ef5e1725
commit
9db67581b9
2 changed files with 25 additions and 10 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue