diff options
author | Roberto Sassu <roberto.sassu@polito.it> | 2011-06-27 13:45:42 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2011-06-27 09:10:45 -0400 |
commit | 4e561d388feff18e4b798cef6a1a84a2cc7f20c2 (patch) | |
tree | 9208588c7d0e5e75766dd2c98e960840fdc8681e /fs/ceph/caps.c | |
parent | 7103dff0e598cd634767f17a2958302c515700ca (diff) | |
download | linux-stable-4e561d388feff18e4b798cef6a1a84a2cc7f20c2.tar.gz linux-stable-4e561d388feff18e4b798cef6a1a84a2cc7f20c2.tar.bz2 linux-stable-4e561d388feff18e4b798cef6a1a84a2cc7f20c2.zip |
encrypted-keys: add key format support
This patch introduces a new parameter, called 'format', that defines the
format of data stored by encrypted keys. The 'default' format identifies
encrypted keys containing only the symmetric key, while other formats can
be defined to support additional information. The 'format' parameter is
written in the datablob produced by commands 'keyctl print' or
'keyctl pipe' and is integrity protected by the HMAC.
Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Acked-by: Gianluca Ramunno <ramunno@polito.it>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'fs/ceph/caps.c')
0 files changed, 0 insertions, 0 deletions