From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Sakkinen Subject: [PATCH 0/2] TPM 2.0 trusted key features for v4.5 Date: Tue, 17 Nov 2015 18:27:20 +0200 Message-ID: <1447777643-10777-1-git-send-email-jarkko.sakkinen@linux.intel.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Peter Huewe , Marcel Selhorst , David Howells Cc: Jarkko Sakkinen , James Morris , Jason Gunthorpe , "open list:KEYS-ENCRYPTED" , "open list:ABI/API" , "open list:CRYPTO API" , "open list:DOCUMENTATION" , open list , "open list:KEYS-ENCRYPTED" , "moderated list:TPM DEVICE DRIVER" List-Id: linux-api@vger.kernel.org These are the remaining features to enable trusted keys for TPM 2.0 that very not finished by the v4.4 merge window. These patches enable authorization policy based sealing (like using PCRs together with a password for example or something more complicated) with a user selected hash algorithm. Jarkko Sakkinen (2): keys, trusted: select hash algorithm for TPM2 chips keys, trusted: seal with a policy Documentation/security/keys-trusted-encrypted.txt | 31 ++++++---- crypto/hash_info.c | 2 + drivers/char/tpm/tpm.h | 10 +++- drivers/char/tpm/tpm2-cmd.c | 60 ++++++++++++++++--- include/crypto/hash_info.h | 3 + include/keys/trusted-type.h | 4 ++ include/uapi/linux/hash_info.h | 1 + security/keys/Kconfig | 1 + security/keys/trusted.c | 73 ++++++++++++++++++++++- 9 files changed, 161 insertions(+), 24 deletions(-) -- 2.5.0