aaf/sshsm.git
6 years agoMerge "Add INFO.yaml file" 2.0.0-ONAP beijing 2.0.0-ONAP
Kiran Kamineni [Fri, 25 May 2018 22:39:51 +0000 (22:39 +0000)]
Merge "Add INFO.yaml file"

6 years agoMerge "Allocating memory for modulus and exponent"
Kiran Kamineni [Fri, 25 May 2018 04:27:27 +0000 (04:27 +0000)]
Merge "Allocating memory for modulus and exponent"

6 years agoMerge "Added 3 more TPM2 Plugin APIs"
Kiran Kamineni [Thu, 24 May 2018 22:13:16 +0000 (22:13 +0000)]
Merge "Added 3 more TPM2 Plugin APIs"

6 years agoAdd INFO.yaml file 41/49041/1
Jessica Wagantall [Thu, 24 May 2018 22:12:30 +0000 (15:12 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: I9e1a7b8db453fe1558a2f52a859d62c3767f115b
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoAdded 3 more TPM2 Plugin APIs 81/44981/18
NingSun [Thu, 26 Apr 2018 21:20:38 +0000 (14:20 -0700)]
Added 3 more TPM2 Plugin APIs

Added tpm2_plugin_rsa_sign_update(...), tpm2_plugin_rsa_sign_final(...),
tpm2_plugin_rsa_sign_cleanup(...) APIs.

Issue-ID: AAF-94
Change-Id: I104ff7b979329c03e91206d19371d3904f163993
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoMerge "Added a new Attribute to store TPM key handle"
Kiran Kamineni [Wed, 23 May 2018 22:31:41 +0000 (22:31 +0000)]
Merge "Added a new Attribute to store TPM key handle"

6 years agoAdded a new Attribute to store TPM key handle 31/44731/10
Ritu Sood [Thu, 26 Apr 2018 01:50:05 +0000 (01:50 +0000)]
Added a new Attribute to store TPM key handle

Includes changes to detect existing instances of key  and
also some bug fixes. Also added new functionality for
RSA_SignUpdate, RSA_SignFinal and RSA_Cleanup

Issue-ID: AAF-260
Change-Id: Ib064e86b8f112784ed6d352ab1557ab9a13c5978
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
6 years agoMerge "Adding support for containerized tss and abrmd"
Girish Havaldar [Wed, 23 May 2018 04:04:17 +0000 (04:04 +0000)]
Merge "Adding support for containerized tss and abrmd"

6 years agoAllocating memory for modulus and exponent 19/48419/1
Ritu Sood [Tue, 22 May 2018 14:17:11 +0000 (14:17 +0000)]
Allocating memory for modulus and exponent

SoftHsm expects memory to be allocated by
the plugin

Issue-ID: AAF-260
Change-Id: I4ef93918a91971680f1f46517a46a29717a096b2
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
6 years agoUpdate tpm2_plugin_load_key() API 71/48071/2
NingSun [Thu, 17 May 2018 16:09:12 +0000 (09:09 -0700)]
Update tpm2_plugin_load_key() API

Add reading public key modulus and exponent information function in this API.

Issue-ID: AAF-94
Change-Id: I9d1b54336842dfc89140e281cec2ee43f0bb13d3
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoAdding support for containerized tss and abrmd 07/46707/3
Kiran Kamineni [Tue, 8 May 2018 23:24:28 +0000 (16:24 -0700)]
Adding support for containerized tss and abrmd

Adding a dockerfile to build a container that has
tss, abrmd and tpm2-tools installed on it.

Issue-ID: AAF-275
Change-Id: I8bda86d36290785950cf3c23d6527e1245652f42
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
6 years agoRemove keyconv code from SoftHSM library 05/46705/2
Ritu Sood [Wed, 9 May 2018 07:04:42 +0000 (07:04 +0000)]
Remove keyconv code from SoftHSM library

Code not used by SoftHsm and has license issues

Issue-ID: AAF-279
Change-Id: Ie07eef82f9e7bcc445772dba474c1f0e7753542c
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
6 years agoModify TPM2 Plugin codes 87/42087/9
NingSun [Tue, 10 Apr 2018 22:49:01 +0000 (15:49 -0700)]
Modify TPM2 Plugin codes

Modify codes to use tpm2-tss version 1.2.0, tpm2-abrmd version 1.1.1
tpm2-tools version 2.1.0.

Issue-ID: AAF-94
Change-Id: I2feccbb8dbe718756a5fd363b8dc703562ccd5eb
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoUtility to Import external RSA pem key into TPM 47/40447/2
Arun kumar Sekar [Fri, 30 Mar 2018 18:20:30 +0000 (11:20 -0700)]
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>
6 years agoFolder name changed from tpm-tools to tpm-util 45/40445/1
arunkumarsit [Fri, 30 Mar 2018 17:43:06 +0000 (10:43 -0700)]
Folder name changed from tpm-tools to tpm-util

Change-Id: Ica9eca7f32fac0757a9c1718c1e5ec7c922ca8cd
Issue-ID: AAF-207
Signed-off-by: Arun kumar sekar <arunkumarsit@gmail.com>
6 years agoMerge "tpm tools for the below functionalities"
Kiran Kamineni [Fri, 30 Mar 2018 20:27:32 +0000 (20:27 +0000)]
Merge "tpm tools for the below functionalities"

6 years agotpm tools for the below functionalities 03/40303/2
Pramod [Thu, 29 Mar 2018 17:22:33 +0000 (10:22 -0700)]
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>
6 years agoClean up TPM2 PLugin codes 23/40323/4
NingSun [Fri, 30 Mar 2018 04:06:26 +0000 (21:06 -0700)]
Clean up TPM2 PLugin codes

Remove unused and redundant codes.

Issue-ID: AAF-94
Change-Id: Icfdbf29e2d7caa339977e7d074f16e123cbff84f
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoAdds the HardwareInfra layer in SoftHSM 97/39897/7
Pramod Raghavendra Jayathirth [Tue, 27 Mar 2018 16:24:56 +0000 (09:24 -0700)]
Adds the HardwareInfra layer in SoftHSM

This enables the support of multiple HSMs

Issue-ID: AAF-200
Change-Id: I825a72a0bf46827ff3be0c0311085cf970b970a6
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
6 years agoAdd more codes in tpm2-plugin 09/39209/4
NingSun [Tue, 27 Mar 2018 17:42:51 +0000 (10:42 -0700)]
Add more codes in tpm2-plugin

Implement tpm2_plugin_load_key() and tpm2_plugin_rsa_sign() APIs

Issue-ID: AAF-94
Change-Id: I5f4329fdf973e52264d9e0e8aabc864c5fbdeebf
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoRemove win32 support in SoftHSMv2 49/35849/4
NingSun [Wed, 14 Mar 2018 23:35:31 +0000 (16:35 -0700)]
Remove win32 support in SoftHSMv2

Due to license issue, we have to remove win32 support in SoftHSMv2.

Issue-ID: AAF-151
Change-Id: I31dda45ed84065819e26be8205747dd096a37432
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoSetup TPM2-Plugin build environment 15/33515/8
NingSun [Thu, 1 Mar 2018 02:24:31 +0000 (18:24 -0800)]
Setup TPM2-Plugin build environment

Add initial codes to build TPM2-plugin shared lib

Issue-ID: AAF-94
Change-Id: I96dee3699aa250b69350d6f01401f3831cf515f7
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoInitial sshsm project structure 97/30897/3
NingSun [Thu, 8 Feb 2018 16:34:03 +0000 (08:34 -0800)]
Initial sshsm project structure

Issue-ID: AAF-94
Change-Id: I5e82fff418e7567b161acf9b98013a9b85ffc5b4
Signed-off-by: NingSun <ning.sun@intel.com>
6 years agoInitial empty repository
Jessica Wagantall [Thu, 25 Jan 2018 19:35:01 +0000 (19:35 +0000)]
Initial empty repository