diff options
author | David Howells | 2020-09-16 11:12:03 +0100 |
---|---|---|
committer | David Howells | 2020-11-23 18:09:29 +0000 |
commit | 8eb621698fd4c49703d512fe437d84ab822bc59e (patch) | |
tree | fd8ed4ababeef92b63bb64fd2e2aee70a9174f62 /arch/um | |
parent | f9e425e99b0756c1479042afe761073779df2a30 (diff) |
keys: Provide the original description to the key preparser
Provide the proposed description (add key) or the original description
(update/instantiate key) when preparsing a key so that the key type can
validate it against the data.
This is important for rxrpc server keys as we need to check that they have
the right amount of key material present - and it's better to do that when
the key is loaded rather than deep in trying to process a response packet.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
cc: keyrings@vger.kernel.org
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions