linux-sg2042/certs
Mat Martineau 2b6aa412ff KEYS: Use structure to capture key restriction function and data
Replace struct key's restrict_link function pointer with a pointer to
the new struct key_restriction. The structure contains pointers to the
restriction function as well as relevant data for evaluating the
restriction.

The garbage collector checks restrict_link->keytype when key types are
unregistered. Restrictions involving a removed key type are converted
to use restrict_link_reject so that restrictions cannot be removed by
unregistering key types.

Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
2017-04-04 14:10:10 -07:00
..
.gitignore certs: add .gitignore to stop git nagging about x509_certificate_list 2015-10-21 15:18:35 +01:00
Kconfig KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
Makefile KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
blacklist.c KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
blacklist.h KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
blacklist_hashes.c KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
blacklist_nohashes.c KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
system_certificates.S certs: Fix misaligned data in extra certificate list 2016-02-29 14:44:30 +00:00
system_keyring.c KEYS: Use structure to capture key restriction function and data 2017-04-04 14:10:10 -07:00