diff options
author | Denis Kenzior <denkenz@gmail.com> | 2018-10-09 17:48:10 +0100 |
---|---|---|
committer | James Morris <james.morris@microsoft.com> | 2018-10-26 09:30:46 +0100 |
commit | f8c54e1ac4b82933dfcf88c37892da8ae35ccbe4 (patch) | |
tree | 9f11437c13e8e27429e009ab8d0481b07196d15c /crypto/asymmetric_keys/tpm_parser.c | |
parent | 903be6bb84c544551150a6f5aab9fda1ed9a6895 (diff) | |
download | linux-f8c54e1ac4b82933dfcf88c37892da8ae35ccbe4.tar.gz linux-f8c54e1ac4b82933dfcf88c37892da8ae35ccbe4.tar.bz2 linux-f8c54e1ac4b82933dfcf88c37892da8ae35ccbe4.zip |
KEYS: asym_tpm: extract key size & public key [ver #2]
The parsed BER/DER blob obtained from user space contains a TPM_Key
structure. This structure has some information about the key as well as
the public key portion.
This patch extracts this information for future use.
Signed-off-by: Denis Kenzior <denkenz@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Marcel Holtmann <marcel@holtmann.org>
Reviewed-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'crypto/asymmetric_keys/tpm_parser.c')
0 files changed, 0 insertions, 0 deletions