aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-17Merge "Key distribution center container"Kiran Kamineni4-0/+57
2018-07-16Key distribution center containerManjunath Ranganathaiah4-0/+57
This container generates the ca key and certificate and encrypts it using SRK public key and stores the generated files on host folder shared with this container. The public key is built into the image for sample known target host. Change-Id: Ibcfdd10bca86a3e785a7ba6221e22fb78d8b706f Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Issue-ID: AAF-376
2018-07-16Merge "Changing the directory of ABRMD container files"Kiran Kamineni3-1/+1
2018-07-16Changing the directory of ABRMD container filesPramod Raghavendra Jayathirth3-1/+1
Including the ABRMD in a seperare directory for better organization Change-Id: I1097a2d7be5bc99b40b0bd59a4bdb939478d5129 Issue-ID: AAF-342 Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
2018-07-12Adding the sample files for the toolsPramod Raghavendra Jayathirth5-0/+0
the tools used are Init and duplicate Change-Id: Ib3298f5cc1970d49834089ba969d4ddc1f41fe27 Issue-ID: AAF-342 Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
2018-07-11Adding the sample directory for applicationPramod Raghavendra Jayathirth5-0/+293
This can be considered as a sample for shared voulume which holds application content Change-Id: Id46d33869402c22ae9902d1cdff4c1704e422362 Issue-ID: AAF-342 Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
2018-07-02Change installation directory for tpm-utilPramod Raghavendra Jayathirth2-13/+12
changing the path from the user's home directory to root's home directory for duplicate and import utlity Change-Id: I1550492925fdd0e3096e7aab853c16896819d61c Issue-ID: AAF-334 Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
2018-05-25Merge "Add INFO.yaml file"2.0.0-ONAPbeijing2.0.0-ONAPKiran Kamineni1-0/+52
2018-05-25Merge "Allocating memory for modulus and exponent"Kiran Kamineni1-2/+9
2018-05-24Merge "Added 3 more TPM2 Plugin APIs"Kiran Kamineni7-51/+202
2018-05-24Add INFO.yaml fileJessica Wagantall1-0/+52
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>
2018-05-24Added 3 more TPM2 Plugin APIsNingSun7-55/+208
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>
2018-05-23Merge "Added a new Attribute to store TPM key handle"Kiran Kamineni12-97/+464
2018-05-24Added a new Attribute to store TPM key handleRitu Sood12-97/+464
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>
2018-05-23Merge "Adding support for containerized tss and abrmd"Girish Havaldar3-0/+100
2018-05-22Allocating memory for modulus and exponentRitu Sood1-2/+9
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>
2018-05-17Update tpm2_plugin_load_key() APINingSun4-7/+81
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>
2018-05-15Adding support for containerized tss and abrmdKiran Kamineni3-0/+100
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>
2018-05-10Remove keyconv code from SoftHSM libraryRitu Sood9-1376/+2
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>
2018-04-11Modify TPM2 Plugin codesNingSun33-5916/+799
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>
2018-04-03Utility to Import external RSA pem key into TPMArun kumar Sekar17-2/+8606
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>
2018-03-30Folder name changed from tpm-tools to tpm-utilarunkumarsit9-0/+0
Change-Id: Ica9eca7f32fac0757a9c1718c1e5ec7c922ca8cd Issue-ID: AAF-207 Signed-off-by: Arun kumar sekar <arunkumarsit@gmail.com>
2018-03-30Merge "tpm tools for the below functionalities"Kiran Kamineni9-0/+225
2018-03-30tpm tools for the below functionalitiesPramod9-0/+225
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>
2018-03-29Clean up TPM2 PLugin codesNingSun9-368/+251
Remove unused and redundant codes. Issue-ID: AAF-94 Change-Id: Icfdbf29e2d7caa339977e7d074f16e123cbff84f Signed-off-by: NingSun <ning.sun@intel.com>
2018-03-30Adds the HardwareInfra layer in SoftHSMPramod Raghavendra Jayathirth11-17/+1260
This enables the support of multiple HSMs Issue-ID: AAF-200 Change-Id: I825a72a0bf46827ff3be0c0311085cf970b970a6 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
2018-03-28Add more codes in tpm2-pluginNingSun26-187/+1154
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>
2018-03-14Remove win32 support in SoftHSMv2NingSun70-6420/+455
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>
2018-03-01Setup TPM2-Plugin build environmentNingSun30-0/+5608
Add initial codes to build TPM2-plugin shared lib Issue-ID: AAF-94 Change-Id: I96dee3699aa250b69350d6f01401f3831cf515f7 Signed-off-by: NingSun <ning.sun@intel.com>
2018-02-08Initial sshsm project structureNingSun559-0/+112872
Issue-ID: AAF-94 Change-Id: I5e82fff418e7567b161acf9b98013a9b85ffc5b4 Signed-off-by: NingSun <ning.sun@intel.com>
2018-01-25Initial empty repositoryJessica Wagantall0-0/+0