diff options
author | Denis Kenzior <denkenz@gmail.com> | 2018-10-09 18:48:10 +0200 |
---|---|---|
committer | James Morris <james.morris@microsoft.com> | 2018-10-26 10:30:46 +0200 |
commit | f8c54e1ac4b82933dfcf88c37892da8ae35ccbe4 (patch) | |
tree | 9f11437c13e8e27429e009ab8d0481b07196d15c /crypto/sm4_generic.c | |
parent | KEYS: asym_tpm: add skeleton for asym_tpm [ver #2] (diff) | |
download | linux-f8c54e1ac4b82933dfcf88c37892da8ae35ccbe4.tar.xz 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/sm4_generic.c')
0 files changed, 0 insertions, 0 deletions