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

20190101-sha256-optimise #36

Closed
wants to merge 6 commits into from

Conversation

svenski123
Copy link

This PR adds an assembly module and tests for calculating SHA256 hashes using the Intel SHA extensions.

CPU detection logic has been refactored and selection of the best implementation at initialiation.
Platform independent Go code has been optimised as well, delivering significant performance improvements.
Benchmarking code has been reworked to test all supported SHA implementations.
This external module interface is unchanged and it can be dropped into POET as a replacement for minio/sha256-simd.

Note the PR branch is 20190101-sha256-optimise in my repo and it was branch from commit 5197645 which was the current HEAD of minio/sha256-simd (and still is as of now).

@svenski123 svenski123 closed this Jan 3, 2019
@svenski123
Copy link
Author

Apologies, this was intended for the spacemeshos project, not minios.

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

Successfully merging this pull request may close these issues.

1 participant