-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support OpenSSL 3 #6
Comments
hey, |
I would love to support OpenSSL 3 but so far I have not seen a way to access hasher state using the new data structure. If someone can show me how to do it, I'd gladly update the library. |
To get around the OpenSSL 3 problems, I created a different project here: https://github.com/luke-moore/resumablesha256 |
@luke-moore nice! Thanks for the link. It looks like it only supports sha256 and uses its own standalone implementation, which is great but I would love to find a way to support any hasher that uses the digest provider interface. |
Unfortunately, OpenSSL 3 is quite serious about keeping the digest context opaque. The logic for EVP_MD_CTX_copy_ex is here: The provider side context is copied via the We should be able to call |
Starting with OpenSSL 3, the message digest algorithm state is no longer stored in the EVP_MD structure but instead in an opaque algorithm context structure accessible via the "provider interface" (https://www.openssl.org/docs/manmaster/man7/provider-digest.html). It's unclear how to use the provider interface to serialize digest algorithm state.
The text was updated successfully, but these errors were encountered: