-
Notifications
You must be signed in to change notification settings - Fork 922
Support OpenSSL 3.0 for ipcipher CA6 encryption/decryption #12411
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.0 for ipcipher CA6 encryption/decryption #12411
Conversation
0f88882
to
438616c
Compare
438616c
to
37e0441
Compare
That's absolutely not on you but it looks like the new code is three times slower than the existing one when doing one round of encryption/decryption. I guess that's likely because the new API requires at least two allocations per round while the deprecated one did no allocation at all.. |
Perhaps we can reuse context objects. But I would attempt to do that after all the openssl3 updates so that we at least have a basis of "correctness" to base that change on. |
Agreed, and even then I would not worry too much about it until we measure an actual regression. I don't know how many people actually use that ipcipher code in production nowadays. |
37e0441
to
3768bfa
Compare
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.
Looks good, nice work!
Short description
Support OpenSSL 3.0 for ipcipher CA6 encryption/decryption. Nothing special here, use OpenSSL 3.0's
EVP_CIPHER_*
instead of the deprecatedAES_*
API but continue to support the deprecated OpenSSL 1.1.1 API.Checklist
I have: