diff options
author | David Howells <dhowells@redhat.com> | 2014-09-16 17:36:06 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-09-16 17:36:06 +0100 |
commit | 1445e76a3cce6ac79812e5bb4b086bb1214e2d91 (patch) | |
tree | c34d12e9e4adf93ae255033b5b5ca09a61c92fdd /crypto/algif_hash.c | |
parent | 8353637ee656ec6f2dde104ce636a8c801612be1 (diff) | |
download | linux-crypto-1445e76a3cce6ac79812e5bb4b086bb1214e2d91.tar.gz linux-crypto-1445e76a3cce6ac79812e5bb4b086bb1214e2d91.zip |
KEYS: Remove key_type::match in favour of overriding default by match_preparse
A previous patch added a ->match_preparse() method to the key type. This is
allowed to override the function called by the iteration algorithm.
Therefore, we can just set a default that simply checks for an exact match of
the key description with the original criterion data and allow match_preparse
to override it as needed.
The key_type::match op is then redundant and can be removed, as can the
user_match() function.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions