-
Notifications
You must be signed in to change notification settings - Fork 96
OpenSSL 3 port
Stefan Berger edited this page Mar 24, 2022
·
9 revisions
The following are notes on the OpenSSL 3 port extracted from issue #215
See discussion here
I doubt that we can replace SHA1_Init
, SHA1_Update
, SHA1_Final
and the same API calls for SHA256, SHA384, and SHA512. We need access to the hash contexts so that the TPM 2 can offer an API for Init/Update/Final and an do a suspend/resume any time in between them.
They are renamed to this here in TPM 2:
#define tpmHashStateSHA1_t SHA_CTX
#define tpmHashStateSHA256_t SHA256_CTX
#define tpmHashStateSHA384_t SHA512_CTX
#define tpmHashStateSHA512_t SHA512_CTX
#define tpmHashStateSM3_256_t SM3_CTX
See discussion here
The function EC_KEY_set_group(eckey, G)
is deprecated but it is not obvious what the replacement is, if there is any.