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

x/crypto/sha3: add tests with assembly disabled #36466

Open
mundaym opened this issue Jan 8, 2020 · 1 comment
Open

x/crypto/sha3: add tests with assembly disabled #36466

mundaym opened this issue Jan 8, 2020 · 1 comment
Assignees
Milestone

Comments

@mundaym
Copy link
Member

@mundaym mundaym commented Jan 8, 2020

Both amd64 and s390x have assembly implementations of SHA-3. On amd64 the assembly is always used and the generic implementation is not tested at all. On s390x the generic implementation won't be tested if the SHA-3 CPU features are available. On both platforms we should add tests for the generic code to ensure it is properly tested.

Unfortunately due to the nature of the instructions involved they are implemented in different ways so this will take some thinking.

@mundaym mundaym added this to the Unreleased milestone Jan 8, 2020
@mundaym mundaym self-assigned this Jan 8, 2020
@FiloSottile

This comment has been minimized.

Copy link
Member

@FiloSottile FiloSottile commented Jan 10, 2020

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.