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

Add nopshufb tag #256

Merged
merged 7 commits into from
Nov 15, 2023
Merged

Add nopshufb tag #256

merged 7 commits into from
Nov 15, 2023

Conversation

klauspost
Copy link
Owner

@klauspost klauspost commented Nov 11, 2023

Add nopshufb tag that should remove all code utilizing PSHUFB - and similar code on other platforms.

Background

None of section below is legal advice. Seek your own legal counsel.
As stated by the LICENSE the authors will not be held reliable for any use of this library.
Users are encouraged to independently verify they comply with all legal requirements.

As can be seen in recent news there has been lawsuits related to possible patents of aspects of erasure coding functionality.

As a possible mitigation it is possible to use the tag nopshufb when compiling any code which includes this package.
This will remove all inclusion and use of PSHUFB and equivalent on other platforms.

This is done by adding -tags=nopshufb to go build and similar commands that produce binary output.

The removed code may not be infringing and even after -tags=nopshufb there may still be infringing code left.

@klauspost klauspost changed the title WIP: Add nopshufb tag Add nopshufb tag Nov 15, 2023
@klauspost klauspost merged commit e586036 into master Nov 15, 2023
13 checks passed
@klauspost klauspost deleted the nopshufb branch November 15, 2023 14:26
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.

None yet

1 participant