summaryrefslogtreecommitdiffstats
path: root/tpm-tools/initandverify/Duplicate.sh
diff options
context:
space:
mode:
authorPramod <pramod.raghavendra.jayathirth@intel.com>2018-03-29 10:22:33 -0700
committerPramod <pramod.raghavendra.jayathirth@intel.com>2018-03-30 05:13:09 -0700
commit76f424e841653b899504d8064f1055f8c114985d (patch)
treeff41308d64f33605891f31cdfca0e04df130529d /tpm-tools/initandverify/Duplicate.sh
parent8a5b33a9ba846d785d244e29bc29a46f7be34928 (diff)
tpm tools for the below functionalities
1.INIT(Script) - Establish connection with the Actual TPM Hardware and loads the primary key into the TPM hardware 2. Sign and verify(Script) - Loads the key and does the sign and verify operation Issue-ID: AAF-207 Change-Id: I015eb5fbc6f0e6f09ca454ed1bb55c5f5aadebae Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Diffstat (limited to 'tpm-tools/initandverify/Duplicate.sh')
-rwxr-xr-xtpm-tools/initandverify/Duplicate.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tpm-tools/initandverify/Duplicate.sh b/tpm-tools/initandverify/Duplicate.sh
new file mode 100755
index 0000000..fd95c09
--- /dev/null
+++ b/tpm-tools/initandverify/Duplicate.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "../duplicate/ossl_tpm_duplicate -pemfile ./private.pem -parentPub out_parent_public -dupPub dupPub -dupPriv dupPriv -dupSymSeed dupSymseed -dupEncKey dupEncKey"
+rm -f dupPub dupPriv dupSymseed dupEncKey
+../duplicate/ossl_tpm_duplicate -pemfile ./private.pem -parentPub out_parent_public -dupPub dupPub -dupPriv dupPriv -dupSymSeed dupSymseed -dupEncKey dupEncKey
+