-
Notifications
You must be signed in to change notification settings - Fork 2k
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/chacha20poly1305: guard PSHUFB usage with GOAMD64_v2 #275
Conversation
The PSHUFP instruction is part of SSE which is only v2+ but it is being used without the GOAMD64_v2 guard. The ROL routines were copied from Go's internal/chacha20poly1305 package. Fixes golang/go#63871
This PR (HEAD: e235e8e) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/crypto/+/538786. Important tips:
|
Message from Russ Cox: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/538786. |
Message from Mauri de Souza Meneguzzo: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/538786. |
Message from Mauri de Souza Meneguzzo: Patch Set 4: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/538786. |
Message from Gopher Robot: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/538786. |
Message from Gopher Robot: Patch Set 4: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/538786. |
Message from Keith Randall: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/538786. |
Message from Mauri de Souza Meneguzzo: Patch Set 5: Run-TryBot+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/538786. |
Message from Keith Randall: Patch Set 5: Code-Review+2 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/538786. |
Message from Keith Randall: Patch Set 5: Code-Review+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/538786. |
The PSHUFB instruction is part of SSE which is only v2+ but it is being used without the GOAMD64_v2 guard. The ROL macros were copied from CL 516859 that adds internal/chacha8rand. Fixes golang/go#63871 Change-Id: I3c8ba75ff284cda4fc788885643246936e617b85 GitHub-Last-Rev: e235e8e GitHub-Pull-Request: #275 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/538786 Reviewed-by: Keith Randall <[email protected]> Run-TryBot: Mauri de Souza Meneguzzo <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Russ Cox <[email protected]>
This PR is being closed because golang.org/cl/538786 has been merged. |
The PSHUFB instruction is part of SSE which is only v2+ but it is being
used without the GOAMD64_v2 guard.
The ROL macros were copied from CL 516859 that adds internal/chacha8rand.
Fixes golang/go#63871