KEYS: Restrict asymmetric key linkage using a specific keychain
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Mon, 27 Jun 2016 23:45:16 +0000 (16:45 -0700)
committerMat Martineau <mathew.j.martineau@linux.intel.com>
Tue, 4 Apr 2017 21:10:13 +0000 (14:10 -0700)
commit7e3c4d22083f6e7316c5229b6197ca2d5335aa35
tree5d8a79bfb32d3bb082ff2cffb8deba4ab588bb87
parent97d3aa0f313435a24440e7157c9c9115c58ca463
KEYS: Restrict asymmetric key linkage using a specific keychain

Adds restrict_link_by_signature_keyring(), which uses the restrict_key
member of the provided destination_keyring data structure as the
key or keyring to search for signing keys.

Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Documentation/crypto/asymmetric-keys.txt
crypto/asymmetric_keys/asymmetric_type.c
crypto/asymmetric_keys/restrict.c
include/crypto/public_key.h