Repository navigation
[WIP] Remove OPENSSL_ia32cap overrides in various test scripts - #11933
Closed
bernd-edlinger wants to merge 2 commits into
Closed
bernd-edlinger wants to merge 2 commits into
bernd-edlinger wants to merge 2 commits into
Conversation
Member
|
I think it has to do with the proxy tests, where we override the
cipher implementation, but using aesni breaks its. But I forgot
the details.
|
Member
Author
|
Tests are fixed by clearing the AESNI enable bit: But tests are not fixed by clearing the PCLMULQDQ so aes-128-gcm is probably not the reason: |
Member
|
Now I remember, we load the ossltest engine. But if AESNI is
available, the engine doesn't get used.
|
Member
Author
|
Now doesn't that put the engine design into question, I mean isn't the |
Member
Author
|
see for instance e_padlock which implements its own aes ciphers |
Member
|
There are various problems with the engines, which is why we're
creating the providers now. If that engine is rewritten a provider
instead, the OPENSSL_ia32cap can probably be removed.
|
Member
Author
|
This uninitialzed value is also unexepected. Looks like a script error? |
Member
|
Because ossltest isn't used, the proxy fails to do what it should
do, and then doesn't properly deal with the errors.
|
Member
Author
|
@levitte any idea why c7e599172082fbe7f0412472b12ffe9e26a9451a |
The removed override was: OPENSSL_ia32cap=~0x200000200000000 which disables AESNI codepaths and PCLMULQDQ (useful for ghash). It is unclear why this was done, but it probably just hides bugs. [extended tests]
This cipher is not helpful at all here and made the test cases fail when AESNI is enabled. [extended tests]
bernd-edlinger
force-pushed
the
remove_ia32cap_overrides
branch
from
September 27, 2021 19:20
c7e5991 to
fc1f6a9
Compare
This was referenced Sep 27, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The removed override was: OPENSSL_ia32cap=~0x200000200000000
which disables AESNI codepaths and PCLMULQDQ (useful for ghash).
It is unclear why this was done, but it probably just hides bugs.
[extended tests]
It is unclear to me why some test cases are failing due to the AESNI bit.
@mattcaswell any ideas?