KEYS: Restore partial ID matching functionality for asymmetric keys
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Mon, 6 Oct 2014 14:21:05 +0000 (15:21 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 6 Oct 2014 14:21:05 +0000 (15:21 +0100)
commitf1b731dbc2530cab93fcfc5fcb18c9f3a100feeb
treeb5b02c3fd51b13e11a5212e4b726f5e2df653f8a
parentdd2f6c4481debfa389c1f2b2b1d5bd6449c42611
KEYS: Restore partial ID matching functionality for asymmetric keys

Bring back the functionality whereby an asymmetric key can be matched with a
partial match on one of its IDs.

Whilst we're at it, allow for the possibility of having an increased number of
IDs.

Reported-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: David Howells <dhowells@redhat.com>
crypto/asymmetric_keys/asymmetric_keys.h
crypto/asymmetric_keys/asymmetric_type.c
crypto/asymmetric_keys/pkcs7_trust.c
crypto/asymmetric_keys/x509_public_key.c
include/crypto/public_key.h
include/keys/asymmetric-type.h