Build date: 1732316402 - Fri Nov 22 23:00:02 UTC 2024 Build cvs date: 1732296425 - Fri Nov 22 17:27:05 UTC 2024 Build id: 2024-11-23.1 Build tags: amd64-regress ports sysupgrade Applied the following diff(s): /home/anton/tmp/robsd/src-ptrace-xstate.diff /home/anton/tmp/robsd/src-sys-em.diff /home/anton/tmp/robsd/src-sys-newvers.diff /home/anton/tmp/robsd/src-sys-uhidev-sispm.diff /home/anton/tmp/robsd/src-sysupgrade.diff ? regress/sys/kern/ptrace/xstate P lib/libcrypto/ec/ec_asn1.c P lib/libcrypto/ec/ec_lib.c P lib/libcrypto/ec/ec_local.h P lib/libcrypto/ec/ec_mult.c P lib/libutil/imsg-buffer.c P regress/usr.sbin/rpki-client/test-http.c P sys/dev/ic/ahci.c P usr.bin/tmux/cmd-queue.c P usr.bin/tmux/cmd-save-buffer.c P usr.bin/tmux/tmux.1 P usr.bin/tmux/tmux.h commit FjeqDh9jZIMSrBwi Author: tb Date: 2024/11/22 17:27:05 Comment tweak from jsing with another tweak by me lib/libcrypto/ec/ec_mult.c commit R1spHZSbtVAIckcS Author: tb Date: 2024/11/22 17:08:13 Stop using BIGNUM internals, add some clarifying comments ok jsing lib/libcrypto/ec/ec_mult.c commit 4ZEE7tvpvwL4XEW4 Author: tb Date: 2024/11/22 16:27:46 Rewrite the crazy while loop into a for loop It's still horrible, but slightly less so... ok jsing lib/libcrypto/ec/ec_mult.c commit tup6chY40EA7bCuj Author: tb Date: 2024/11/22 16:17:36 First pass over compute_wNAF() This streamlines this mess and adapts the API better to its only caller. Nothing much going on here, except that we drop confusing checks and unhelpful comment, thereby making the algorithm more cleanly visible. ok jsing lib/libcrypto/ec/ec_mult.c commit VgsQqcy3ppaR1py7 Author: tb Date: 2024/11/22 15:21:14 Swap the order of m and n in ec_wNAF_precompute() This matches the ec_wNAF_mul() API better ok jsing lib/libcrypto/ec/ec_mult.c commit Dzk2fdQ2cdO3b26L Author: tb Date: 2024/11/22 14:59:40 Split two helpers out of ec_wNAF_mul() As its name indicates, the first, ec_compute_odd_multiples(), fills point, 3 * point, 5 * point, ..., (2 * len - 1) * point into row[]. In fact, it first computes doubled = 2 * point and then goes on to set row[i] = row[i - 1] + doubled. That's straightforward enough. One change here is that this helper allocates row[i] on the fly rather than preallocating the entire array of points up front. The second piece is the actual precomputation, ec_wNAF_precompute(). It first computes the wNAF digits of the two scalars n and m (in this order for now) with appropriate window size and length. Then the above mentioned val[] array is allocated and populated with odd multiples of point and generator. Finally, all points in val[] are made affine in a single step, which means we only need one modular inversion, and this then allows us to take fast paths in all the computations in the one remaining loop in ec_wNAF_mul(). ok jsing lib/libcrypto/ec/ec_mult.c commit l076bUHdsYykguWq Author: nicm Date: 2024/11/22 12:58:05 Do not strvis output to terminal from commands. usr.bin/tmux/cmd-queue.c usr.bin/tmux/cmd-save-buffer.c usr.bin/tmux/tmux.h commit BjxKRhfoTKWcrvEq Author: nicm Date: 2024/11/22 12:36:13 Document command prompt escape sequence, from Von Welch. usr.bin/tmux/tmux.1 commit y5FWkPRht6aAdBb5 Author: tb Date: 2024/11/22 12:14:41 Rename curve_name into nid This used to be the case until they were given a 'more meaningful name' about 20 years ago. We cant fix the public API, but I'm tired of being confused by this nonsense. lib/libcrypto/ec/ec_lib.c lib/libcrypto/ec/ec_local.h commit ytqdMjfNM0E3etBR Author: tb Date: 2024/11/22 12:01:14 Use OPENSSL_EC_EXPLICIT_CURVE rather than 0 lib/libcrypto/ec/ec_asn1.c commit 5UbObmL5bqVpezGP Author: jan Date: 2024/11/22 09:29:41 Flush the interrupt status register in ahci(4) attach AMD 600 Series AHCI set interrupt bits during sd(4) attaching while using polling mode. Thus, we have to clear them, before enable interrupt handling. Also the AHCI 1.3.1 saids to do this. tested by tobhe@ ok tobhe@, jmatthew@ sys/dev/ic/ahci.c commit UxVcB8cnjcDFatc7 Author: tb Date: 2024/11/22 07:20:50 Bring the weird msgbuf_free() into a slightly more usual form ok claudio lib/libutil/imsg-buffer.c commit FbAGvs3UkUci5xkd Author: claudio Date: 2024/11/22 07:16:12 Adjust test-http.c to the new ibuf world order. Failure noticed by anton@ regress/usr.sbin/rpki-client/test-http.c commit QEB8Emj83oDYbEFn Author: tb Date: 2024/11/22 02:11:09 Fix NULL deref in msgbuf_free() From Henry Ford lib/libutil/imsg-buffer.c commit MdeAKkNWKU4uE3NF Author: tb Date: 2024/11/22 00:54:42 Garbage collect the now unused totalnum lib/libcrypto/ec/ec_mult.c commit FS1sCi29w1XKAhK9 Author: tb Date: 2024/11/22 00:52:39 Move wNAF[], wNAF_len[], wsize[] to the stack Again, we know their sizes (always 2), so we can avoid allocating and freeing them. Also remove the extra "pivot" element. It's not needed. ok djm lib/libcrypto/ec/ec_mult.c commit WRuDlgLLnYOXAETe Author: tb Date: 2024/11/22 00:15:38 Change 0 - digit to -digit pointed out by jsing lib/libcrypto/ec/ec_mult.c commit 3rjS0ir3NfHKzTCM Author: tb Date: 2024/11/22 00:14:36 Rename val_sub[] into row[] and move it to the stack ok djm lib/libcrypto/ec/ec_mult.c