Utility to Import external RSA pem key into TPM 47/40447/2
authorArun kumar Sekar <arunkumarsit@gmail.com>
Fri, 30 Mar 2018 18:20:30 +0000 (11:20 -0700)
committerArun kumar sekar <arunkumarsit@gmail.com>
Tue, 3 Apr 2018 21:14:48 +0000 (21:14 +0000)
commit2ac563372735668ac9687c57e35e39c3e4553ff0
tree4f276f8feba53a700f73a4aa9f2f55187444dff5
parent3d5e48d877919ec8d33e1d1ee3682fb1f0bc0532
Utility to Import external RSA pem key into TPM

Duplicate tool - Takes RSA private key in
pem format as input and generates
TPM structured buffers as expected by tpm Import

Import tool - Takes input buffers from
Duplicate tool and results in pub/priv blobs
which can be used to load the key in tpm
storage heirarchy's as child to primary key

Change-Id: I0af6676895ce0cc22c70e5546908e905b78bb71e
Issue-ID: AAF-207
Signed-off-by: Arun kumar Sekar <arunkumarsit@gmail.com>
17 files changed:
tpm-util/INSTALL
tpm-util/duplicate/crypto_aux.c [new file with mode: 0644]
tpm-util/duplicate/include/crypto_aux.h [new file with mode: 0644]
tpm-util/duplicate/include/marshal.h [new file with mode: 0644]
tpm-util/duplicate/include/tpm_duplication_aux.h [new file with mode: 0644]
tpm-util/duplicate/include/util.h [new file with mode: 0644]
tpm-util/duplicate/main.c [new file with mode: 0644]
tpm-util/duplicate/marshal.c [new file with mode: 0644]
tpm-util/duplicate/sampleMakefile [new file with mode: 0644]
tpm-util/duplicate/tpm_duplication_aux.c [new file with mode: 0644]
tpm-util/duplicate/util.c [new file with mode: 0644]
tpm-util/import/include/tpm_wrapper.h [new file with mode: 0644]
tpm-util/import/include/util.h [new file with mode: 0644]
tpm-util/import/main.c [new file with mode: 0644]
tpm-util/import/sampleMakefile [new file with mode: 0644]
tpm-util/import/tpm_wrapper.c [new file with mode: 0644]
tpm-util/import/util.c [new file with mode: 0644]