-
Notifications
You must be signed in to change notification settings - Fork 18k
x/crypto/chacha20poly1305: illegal instruction on AMD E2-1800 APU #17464
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
Labels
Milestone
Comments
CL https://golang.org/cl/31187 mentions this issue. |
c-expert-zigbee
pushed a commit
to c-expert-zigbee/crypto_go
that referenced
this issue
Mar 28, 2022
The SSE code of chacha20poly1305 used PINSRB and PEXTRQ, which are only available on machines supporting SSE4.1. Fixes golang/go#17464 Change-Id: Ic7313433cb21f9a3709d23b50ab58ac1d87957af Reviewed-on: https://go-review.googlesource.com/31187 Reviewed-by: Adam Langley <agl@golang.org> Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
c-expert-zigbee
pushed a commit
to c-expert-zigbee/crypto_go
that referenced
this issue
Mar 29, 2022
The SSE code of chacha20poly1305 used PINSRB and PEXTRQ, which are only available on machines supporting SSE4.1. Fixes golang/go#17464 Change-Id: Ic7313433cb21f9a3709d23b50ab58ac1d87957af Reviewed-on: https://go-review.googlesource.com/31187 Reviewed-by: Adam Langley <agl@golang.org> Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
LewiGoddard
pushed a commit
to LewiGoddard/crypto
that referenced
this issue
Feb 16, 2023
The SSE code of chacha20poly1305 used PINSRB and PEXTRQ, which are only available on machines supporting SSE4.1. Fixes golang/go#17464 Change-Id: Ic7313433cb21f9a3709d23b50ab58ac1d87957af Reviewed-on: https://go-review.googlesource.com/31187 Reviewed-by: Adam Langley <agl@golang.org> Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
BiiChris
pushed a commit
to BiiChris/crypto
that referenced
this issue
Sep 15, 2023
The SSE code of chacha20poly1305 used PINSRB and PEXTRQ, which are only available on machines supporting SSE4.1. Fixes golang/go#17464 Change-Id: Ic7313433cb21f9a3709d23b50ab58ac1d87957af Reviewed-on: https://go-review.googlesource.com/31187 Reviewed-by: Adam Langley <agl@golang.org> Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
desdeel2d0m
added a commit
to desdeel2d0m/crypto
that referenced
this issue
Jul 1, 2024
The SSE code of chacha20poly1305 used PINSRB and PEXTRQ, which are only available on machines supporting SSE4.1. Fixes golang/go#17464 Change-Id: Ic7313433cb21f9a3709d23b50ab58ac1d87957af Reviewed-on: https://go-review.googlesource.com/31187 Reviewed-by: Adam Langley <agl@golang.org> Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?go version go1.7.1 linux/amd64
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/i/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build762679001=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
What did you do?
I'm trying to encrypt some data using "golang.org/x/crypto/chacha20poly1305". But I receive an illegal instruction error. I have tried disabling the ASM implementation and this makes the error go away. So apparently it fails to detect that my processor does not support the ASM implementation.
Processor information:
Example program:
What did you expect to see?
I expected the program to complete without error.
What did you see instead?
The text was updated successfully, but these errors were encountered: