summaryrefslogtreecommitdiff
path: root/crypto/michael_mic.c
diff options
context:
space:
mode:
authorMat Martineau <mathew.j.martineau@linux.intel.com>2016-08-30 11:33:13 -0700
committerMat Martineau <mathew.j.martineau@linux.intel.com>2017-04-03 10:24:56 -0700
commit8f35069f76d1cbd9fa83d80b0a80a431ee6e7db3 (patch)
treed47f1fa025a35be8acf868e5fd1204fabecf9924 /crypto/michael_mic.c
parenta168c8d02e22d3d9e4149dc87f6af46f5de9f0da (diff)
downloadlinux-crypto-8f35069f76d1cbd9fa83d80b0a80a431ee6e7db3.tar.gz
linux-crypto-8f35069f76d1cbd9fa83d80b0a80a431ee6e7db3.zip
KEYS: Split role of the keyring pointer for keyring restrict functions
The first argument to the restrict_link_func_t functions was a keyring pointer. These functions are called by the key subsystem with this argument set to the destination keyring, but restrict_link_by_signature expects a pointer to the relevant trusted keyring. Restrict functions may need something other than a single struct key pointer to allow or reject key linkage, so the data used to make that decision (such as the trust keyring) is moved to a new, fourth argument. The first argument is now always the destination keyring. Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Diffstat (limited to 'crypto/michael_mic.c')
0 files changed, 0 insertions, 0 deletions