[Bug 15679] tls curve secp256r1 (aka P256) miscomiples on x86_64
bugzilla at busybox.net
bugzilla at busybox.net
Thu Jul 11 22:06:15 UTC 2024
https://bugs.busybox.net/show_bug.cgi?id=15679
Denys Vlasenko <vda.linux at googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Summary|wget with amazon.com fails |tls curve secp256r1 (aka
|with TLS handshake failure |P256) miscomiples on x86_64
|on Debian 12 |
Status|NEW |RESOLVED
--- Comment #3 from Denys Vlasenko <vda.linux at googlemail.com> ---
commit 67ec1f8cd1051354d2af1b9a793fa5968b0d54ad (HEAD -> master)
Date: Thu Jul 11 23:48:53 2024 +0200
tls: P256: fix obscure x86_64 asm misbehavior, closes 15679
gcc does not necessarily clear upper bits in
64-bit regs if you ask it to load a 32-bit constant.
Cast it to unsigned long. Better yet, hand-write loading
of the constant with a smaller instruction.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list