aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDenis Kenzior <[email protected]>2018-10-09 16:49:13 +0000
committerJames Morris <[email protected]>2018-10-26 08:30:47 +0000
commita335974ae0883e045151a2160093a22aa02c3626 (patch)
tree90f9e64662c93ffaea99de3dc9097550ccd6020a /tools/perf/scripts/python
parentKEYS: asym_tpm: Implement tpm_unbind [ver #2] (diff)
downloadkernel-a335974ae0883e045151a2160093a22aa02c3626.tar.gz
kernel-a335974ae0883e045151a2160093a22aa02c3626.zip
KEYS: asym_tpm: Implement the decrypt operation [ver #2]
This patch implements the pkey_decrypt operation using the private key blob. The blob is first loaded into the TPM via tpm_loadkey2. Once the handle is obtained, tpm_unbind operation is used to decrypt the data on the TPM and the result is returned. The key loaded by tpm_loadkey2 is then evicted via tpm_flushspecific operation. This patch assumes that the SRK authorization is a well known 20-byte of zeros and the same holds for the key authorization of the provided key. Signed-off-by: Denis Kenzior <[email protected]> Signed-off-by: David Howells <[email protected]> Tested-by: Marcel Holtmann <[email protected]> Reviewed-by: Marcel Holtmann <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions