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/ed25519: document whether Verify is constant time #21137
Labels
Milestone
Comments
It does not, since it operates only on public data. The use of |
Change https://golang.org/cl/53074 mentions this issue: |
maxtaco
pushed a commit
to keybase/go-crypto
that referenced
this issue
Mar 28, 2018
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
MeABc
pushed a commit
to MeABc/bogo
that referenced
this issue
Apr 20, 2018
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
MeABc
pushed a commit
to MeABc/bogo
that referenced
this issue
Apr 20, 2018
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
MeABc
pushed a commit
to MeABc/bogo
that referenced
this issue
Apr 25, 2018
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
MeABc
pushed a commit
to MeABc/bogo
that referenced
this issue
Jun 10, 2018
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
MeABc
pushed a commit
to MeABc/bogo
that referenced
this issue
Jul 7, 2018
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
MeABc
pushed a commit
to MeABc/bogo
that referenced
this issue
Jul 30, 2018
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
MeABc
pushed a commit
to MeABc/bogo
that referenced
this issue
Aug 6, 2018
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
MeABc
pushed a commit
to MeABc/bogo
that referenced
this issue
Aug 25, 2018
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
c-expert-zigbee
pushed a commit
to c-expert-zigbee/crypto_go
that referenced
this issue
Mar 28, 2022
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
c-expert-zigbee
added a commit
to c-expert-zigbee/crypto_go
that referenced
this issue
Mar 29, 2022
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
LewiGoddard
pushed a commit
to LewiGoddard/crypto
that referenced
this issue
Feb 16, 2023
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
BiiChris
pushed a commit
to BiiChris/crypto
that referenced
this issue
Sep 15, 2023
Verify operates only on public data and thus is not constant-time. The use of a constant-time function in Verify was thus misleading. Fixes golang/go#21137 Change-Id: I1ff5a0371fbe8abe62420f19acf3e416fe1b1428 Reviewed-on: https://go-review.googlesource.com/53074 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There have been some questions whether this function runs in constant time or not. I assume it does, otherwise there would be no reason to call subtle.ConstantTimeCompare on the last line of the function, but it would be good to double check, and/or document this.
The text was updated successfully, but these errors were encountered: