aboutsummaryrefslogtreecommitdiffstats
path: root/TPM2-Plugin
AgeCommit message (Collapse)AuthorFilesLines
2018-09-10Fix key pair loading in pluginKiran Kamineni1-6/+20
Key pair reading in TPM plugin assumes a particular order for input buffers. This patch checks the buffers and removes that assumption Issue-ID: AAF-478 Change-Id: I4fff17c912a0890138d1f432e5bfab5c9946b1cb Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-05-25Merge "Allocating memory for modulus and exponent"Kiran Kamineni1-2/+9
2018-05-24Merge "Added 3 more TPM2 Plugin APIs"Kiran Kamineni6-50/+201
2018-05-24Added 3 more TPM2 Plugin APIsNingSun6-54/+207
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-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-04-11Modify TPM2 Plugin codesNingSun32-5907/+711
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-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-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 SoftHSMv2NingSun1-0/+8
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 structureNingSun1-0/+5
Issue-ID: AAF-94 Change-Id: I5e82fff418e7567b161acf9b98013a9b85ffc5b4 Signed-off-by: NingSun <ning.sun@intel.com>