Skip to content
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

Revert "crypto: added runtime checks for SHA hardware" #3135

Merged

Conversation

patricklodder
Copy link
Member

This reverts commit e78cfc6.

Besides adding runtime checks, this also removes experimental guards and makes the features leak into release code as we have no way of disabling them.

Additionally, this breaks on non-gnu systems which currently have no released binaries, like arm-apple-darwin20 (Apple silicon Macs)

To reproduce the issue on an M1:

brew install autoconf automake libtool openssl boost
./autogen.sh
./configure --with-gui=no --disable-wallet --with-boost=/opt/homebrew/Cellar/boost/1.80.0 \
   CPPFLAGS="-I/opt/homebrew/Cellar/boost/1.80.0/include"
make -j8 -C src bench

Covers first item of solution proposed in #3134

This reverts commit e78cfc6.

Besides adding runtime checks, this also removes experimental
guards and makes the features leak into release code as we have
no way of disabling them.

Additionally, this breaks on non-gnu systems which currently have
no released binaries, like arm-apple-darwin20 (Apple silicon macs)
@chromatic
Copy link
Member

I've compared this PR to me running git revert e78cfc630dbb712662328eb6c8b401bd3fab8969 on my own, and the code is as I expect. Running a compile/test now before I approve.

Copy link
Member

@chromatic chromatic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK. All tests pass on 64-bit Linux (as one would expect).

@EvensD
Copy link

EvensD commented Dec 14, 2022

how can i do to make a money

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants