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

Fix ARM64 assembly #19

Merged
merged 3 commits into from
Mar 25, 2021
Merged

Fix ARM64 assembly #19

merged 3 commits into from
Mar 25, 2021

Conversation

klauspost
Copy link
Contributor

The wrong constants were used for ARM64, leading to wrong values being calculated.
This is likely due to a linker change or similar.

  • Rename to less generic names.
  • Use textflag.h
  • Apply asmfmt

Fixes #17

The wrong constants were used for ARM64, leading to wrong values being calculated.
This is likely due to a linker change or similar.

* Rename to less generic names.
* Use textflag.h
* Apply asmfmt

Fixes minio#17
@harshavardhana harshavardhana merged commit 08ce0b4 into minio:master Mar 25, 2021
aead pushed a commit to aead/minio that referenced this pull request Mar 29, 2021
This commit adds a self-test for all bitrot algorithms:
 - SHA-256
 - BLAKE2b
 - HighwayHash

The self-test computes an incremental checksum of pseudo-random
messages. If a bitrot algorithm implementation stops working on
some CPU architecture or with a certain Go version this self-test
will prevent the server from starting and silently corrupting data.

For additional context see: minio/highwayhash#19
aead pushed a commit to aead/minio that referenced this pull request Mar 29, 2021
This commit adds a self-test for all bitrot algorithms:
 - SHA-256
 - BLAKE2b
 - HighwayHash

The self-test computes an incremental checksum of pseudo-random
messages. If a bitrot algorithm implementation stops working on
some CPU architecture or with a certain Go version this self-test
will prevent the server from starting and silently corrupting data.

For additional context see: minio/highwayhash#19
aead pushed a commit to aead/minio that referenced this pull request Mar 30, 2021
This commit adds a self-test for all bitrot algorithms:
 - SHA-256
 - BLAKE2b
 - HighwayHash

The self-test computes an incremental checksum of pseudo-random
messages. If a bitrot algorithm implementation stops working on
some CPU architecture or with a certain Go version this self-test
will prevent the server from starting and silently corrupting data.

For additional context see: minio/highwayhash#19
aead pushed a commit to aead/minio that referenced this pull request Mar 30, 2021
This commit adds a self-test for all bitrot algorithms:
 - SHA-256
 - BLAKE2b
 - HighwayHash

The self-test computes an incremental checksum of pseudo-random
messages. If a bitrot algorithm implementation stops working on
some CPU architecture or with a certain Go version this self-test
will prevent the server from starting and silently corrupting data.

For additional context see: minio/highwayhash#19
aead pushed a commit to aead/minio that referenced this pull request Mar 31, 2021
This commit adds a self-test for all bitrot algorithms:
 - SHA-256
 - BLAKE2b
 - HighwayHash

The self-test computes an incremental checksum of pseudo-random
messages. If a bitrot algorithm implementation stops working on
some CPU architecture or with a certain Go version this self-test
will prevent the server from starting and silently corrupting data.

For additional context see: minio/highwayhash#19
harshavardhana pushed a commit to minio/minio that referenced this pull request Apr 6, 2021
This commit adds a self-test for all bitrot algorithms:
 - SHA-256
 - BLAKE2b
 - HighwayHash

The self-test computes an incremental checksum of pseudo-random
messages. If a bitrot algorithm implementation stops working on
some CPU architecture or with a certain Go version this self-test
will prevent the server from starting and silently corrupting data.

For additional context see: minio/highwayhash#19
@klauspost klauspost deleted the fix-arm64-asm branch January 15, 2024 17:22
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.

Wrong hash value returned in go v1.16.2 on arm64
3 participants