diff options
author | Eric Snowberg <eric.snowberg@oracle.com> | 2023-05-23 01:09:42 +0200 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2023-08-17 22:12:20 +0200 |
commit | 4cfb908054456ad8b6b8cd5108bbdf80faade8cd (patch) | |
tree | bd4046f55cb525db633927638a605ce51e813606 /crypto/sm4.c | |
parent | tpm_tis: Revert "tpm_tis: Disable interrupts on ThinkPad T490s" (diff) | |
download | linux-4cfb908054456ad8b6b8cd5108bbdf80faade8cd.tar.xz linux-4cfb908054456ad8b6b8cd5108bbdf80faade8cd.zip |
KEYS: DigitalSignature link restriction
Add a new link restriction. Restrict the addition of keys in a keyring
based on the key having digitalSignature usage set. Additionally, verify
the new certificate against the ones in the system keyrings. Add two
additional functions to use the new restriction within either the builtin
or secondary keyrings.
[jarkko@kernel.org: Fix checkpatch.pl --strict issues]
Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
Reviewed-and-tested-by: Mimi Zohar <zohar@linux.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'crypto/sm4.c')
0 files changed, 0 insertions, 0 deletions