Closed Darsh-Dev closed 4 years ago
Issue1: you must provide a valid hash length input. I.e. you need to provide 20 or 32 bytes as input. Then it should work. Or you let OpenSSL perform a hashing operation first.
Issue2: The engine currently does not support ECDH. I don't know if TPM's ECDH scheme and OpenSSL's ECDH scheme are compatible to begin with. That would need to be investigated.
Thanks @AndreasFuchsSIT ,
Issue1 is resolved. Regarding Issue2 , Is tpm2_tools support ECDH ? If yes, Please share the commands.
I think they are in the making here https://github.com/tpm2-software/tpm2-tools/pull/2019
If you're programming C or python you can use Esys_ECDH_KeyGen/ZGen()
directly
Hi,
I would like to perform elliptic curve [ECDSA] crypt operations with OpenSSL and TPM2-TSS as mentioned in readme
RSA operation (RSA decrypt and RSA sign) are working fine.
Issue1 Facing in ECDSA operations:
error:
Issue2 Facing issue while ECDH secret digest generation
with openssl and TPM2-TSS reference
error:
Above errors are specific to pkeyutl or any other dependency?
I tried to upgrade tpm2-tss-engine to latest version tpm2-tss-engine :1.1.0-r0 ,but it may lead to other dependent version upgrade error.
Any help will be appreciated.