eCryptfs: added support for the encrypted key type
authorRoberto Sassu <roberto.sassu@polito.it>
Mon, 27 Jun 2011 11:45:45 +0000 (13:45 +0200)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 27 Jun 2011 13:11:21 +0000 (09:11 -0400)
commit1252cc3b232e582e887623dc5f70979418caaaa2
treebd3a266d7c53ce46a37a7907d7a2b6c8bcb8a6ae
parent79a73d188726b473ca3bf483244bc96096831905
eCryptfs: added support for the encrypted key type

The function ecryptfs_keyring_auth_tok_for_sig() has been modified in order
to search keys of both 'user' and 'encrypted' types.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Acked-by: Gianluca Ramunno <ramunno@polito.it>
Acked-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
fs/ecryptfs/ecryptfs_kernel.h
fs/ecryptfs/keystore.c