commit | efba797b977c99bc6e0c301299272c80fb8b287f | [log] [tgz] |
---|---|---|
author | Mat Martineau <mathew.j.martineau@linux.intel.com> | Fri May 06 15:38:17 2016 -0700 |
committer | Mat Martineau <mathew.j.martineau@linux.intel.com> | Tue Apr 04 14:10:11 2017 -0700 |
tree | 746410c0909fee9a126c418df1dd51b85a3a94ec | |
parent | 2b6aa412ff23a02ac777ad307249c60a839cfd25 [diff] |
KEYS: Add an optional lookup_restriction hook to key_type The restrict_link functions used to validate keys as they are linked to a keyring can be associated with specific key types. Each key type may be loaded (or not) at runtime, so lookup of restrict_link functions needs to be part of the key type implementation to ensure that the requested keys can be examined. Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>