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
Move BLAKE2 digests completely to the default provider #9075
Conversation
b07c102
to
2ca6d14
Compare
This suffers from the same problems as #9076 (see my comments there). |
When this actually does work do you perhaps need to leave the size fields in the old legacy EVP_MD structures? |
Why? For DigestInit, only the type is interesting... |
So what does EVP_MD_size(md) return? it doesnt have a md->prov right? |
Ohhhhhhhhhhhhhhhh!!!!!! Now this raises an interesting question, how is that size relevant for legacy (constant) EVP_MDs if any actual use of that EVP_MD will result in an implicit fetch, i.e. a completely different set of data? There's a potential that |
Good point. |
But at least it would be right in most cases :) |
yeeeaaahhh I dunno how I like that... but OK, for the moment being, I'll keep the sizes. I wonder if we should have checks of such things in DigestInit, though. |
b4ae803
to
5fe7e85
Compare
Ping. We really should do this kind of cleanup for everything that we move to the provider. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This suffers from the same problem that I noted in #10059 so should not be merged before that is resolved.
b458d1b
to
f4b07e8
Compare
f4b07e8
to
03da484
Compare
This leaves minimal implementations of EVP_blake2b512 and EVP_blake2s256, that are now only there to provide a name for implicit fetches.
03da484
to
a97d176
Compare
Ping |
This leaves minimal implementations of EVP_blake2b512 and EVP_blake2s256, that are now only there to provide a name for implicit fetches. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from #9075)
Merged. 8c77d45 Move BLAKE2 digests completely to the default provider |
This leaves minimal implementations of EVP_blake2b512 and EVP_blake2s256,
that are now only there to provide a name for implicit fetches.