summaryrefslogtreecommitdiffstats
path: root/crypto/sm4.c
diff options
context:
space:
mode:
authorEric Snowberg <eric.snowberg@oracle.com>2023-05-23 01:09:42 +0200
committerJarkko Sakkinen <jarkko@kernel.org>2023-08-17 22:12:20 +0200
commit4cfb908054456ad8b6b8cd5108bbdf80faade8cd (patch)
treebd4046f55cb525db633927638a605ce51e813606 /crypto/sm4.c
parenttpm_tis: Revert "tpm_tis: Disable interrupts on ThinkPad T490s" (diff)
downloadlinux-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