OpenBSD/src Q2MSus3lib/libcrypto/sha sha1_aarch64_ce.S sha512_aarch64_ce.S

   Make SHA aarch64 assembly build with gcc.

   gcc is extremely fussy about register naming and insists on q and s naming
   for the ARM CE SHA instructions, even though they're referring to the same
   register (while LLVM just figures it out). Work around this by mapping
   registers to their required variant at usage and defining a handful of
   mappings between v registers and alternate names/views.

   This is still somewhat ugly, but seems to be one of the cleaner options
   that will allow portable to enable SHA assembly on platforms that use gcc.

   ok kenjiro@ tb@
VersionDeltaFile
1.5+31-30lib/libcrypto/sha/sha1_aarch64_ce.S
1.4+24-15lib/libcrypto/sha/sha512_aarch64_ce.S
1.6+17-10lib/libcrypto/sha/sha256_aarch64_ce.S
+72-553 files

OpenBSD/src MKh4Wttsys/dev/pci pcidevs_data.h pcidevs.h

   regen
VersionDeltaFile
1.2110+5-1sys/dev/pci/pcidevs_data.h
1.2115+2-1sys/dev/pci/pcidevs.h
+7-22 files

OpenBSD/src BgodRljsys/dev/pci pcidevs

   Add Qualcomm SC7280 PCIe.
VersionDeltaFile
1.2122+2-1sys/dev/pci/pcidevs
+2-11 files

OpenBSD/src ySu5EdYsys/arch/arm64/dev smmu_acpi.c smmu_fdt.c

   The Qualcomm QCS6490/SC7280 SoC needs the SMMUv2 workaround as well.

   ok patrick@
VersionDeltaFile
1.14+3-2sys/arch/arm64/dev/smmu_acpi.c
1.13+3-2sys/arch/arm64/dev/smmu_fdt.c
+6-42 files

OpenBSD/src ZaKl7KYlib/libcrypto/sha sha1_amd64_generic.S sha1_amd64_shani.S

   Tidy instruction separators in SHA assembly.

   Remove unnecessary separators and add a few to macros that call other
   macros (instead of expecting them to exist).
VersionDeltaFile
1.4+75-75lib/libcrypto/sha/sha1_amd64_generic.S
1.3+10-10lib/libcrypto/sha/sha1_amd64_shani.S
1.3+6-6lib/libcrypto/sha/sha512_amd64_generic.S
1.4+6-6lib/libcrypto/sha/sha1_aarch64_ce.S
1.5+6-6lib/libcrypto/sha/sha256_amd64_generic.S
1.3+6-6lib/libcrypto/sha/sha256_amd64_shani.S
+109-1091 files not shown
+113-1137 files

OpenBSD/src h8TllAqusr.sbin/rpki-client cert.c

   rpki-client: rename badcert label in cert.c to out

   no objection from claudio, job
VersionDeltaFile
1.214+11-11usr.sbin/rpki-client/cert.c
+11-111 files

OpenBSD/src RZy6TOVusr.sbin/rpki-client cert.c filemode.c

   rpki-client: rename pk and opk to cert_pkey and tal_pkey

   Additionally swap the argument order in the calls to EVP_PKEY_cmp() since
   this looks nicer.

   ok claudio job
VersionDeltaFile
1.213+8-8usr.sbin/rpki-client/cert.c
1.78+8-8usr.sbin/rpki-client/filemode.c
+16-162 files

OpenBSD/src bgvPjJuusr.sbin/rpki-client cms.c extern.h

   rpki-client: remove cms_parse_validate_detached()

   Geofeed was the only consumer of detache signatures and there are no plans
   to support any other content type needing this. So remove this wrapper and
   drop the now no longer needed BIO.

   Also remove the NULL checks for res and resz in cms_extract_econtent() as
   the callers of cms_parse_validate() pass in &cmsz, and cms_parse_validate()
   itself passes a &res.

   ok claudio job
VersionDeltaFile
1.60+4-23usr.sbin/rpki-client/cms.c
1.273+1-4usr.sbin/rpki-client/extern.h
+5-272 files

OpenBSD/src pyEqlCysys/dev/ic bcmgenet.c

   Do the TX ring space check before packet dequeue. The early check
   removes possible bus_dmamap_unload() and dequeue rollback in the output
   path.

   Also set the maximum TX segments count to 20. jmatthew@ pointed that
   existing value of 128 is too big. I checked others and found, that NetBSD
   uses 128 as we do and FreeBSD uses 20, so I used 20. May be this value is
   also too big, but it could be decreased at any moment.

   Tested on RPI4.

   ok jmatthew@
VersionDeltaFile
1.12+10-19sys/dev/ic/bcmgenet.c
+10-191 files

OpenBSD/src eYZZ2hrusr.bin/tmux tty-draw.c tty.c

   Replace overlay_ranges with visible_ranges which can hold more than
   three ranges (will be needed for floating panes); move the visible
   ranges checks outside of tty_draw_line and rewrite it to fix issues with
   partially-obscured wide characters. With Michael Grant.
VersionDeltaFile
1.1+319-0usr.bin/tmux/tty-draw.c
1.454+39-244usr.bin/tmux/tty.c
1.63+42-27usr.bin/tmux/popup.c
1.444+41-20usr.bin/tmux/server-client.c
1.1288+36-17usr.bin/tmux/tmux.h
1.111+18-7usr.bin/tmux/screen-redraw.c
+495-3154 files not shown
+511-32510 files

OpenBSD/src sn1zghjregress/lib/libcrypto/mlkem mlkem1024_decap_tests.txt mlkem1024_encap_tests.txt

   unusally -> unusually
VersionDeltaFile
1.2+10-10regress/lib/libcrypto/mlkem/mlkem1024_decap_tests.txt
1.2+10-10regress/lib/libcrypto/mlkem/mlkem1024_encap_tests.txt
1.2+10-10regress/lib/libcrypto/mlkem/mlkem768_decap_tests.txt
+30-303 files

OpenBSD/src 410YmTyregress/lib/libcrypto/bn bn_ffdh.c

   bn_ffdh: unifdef HAVE_SCAPY_SPECIAL
VersionDeltaFile
1.3+1-7regress/lib/libcrypto/bn/bn_ffdh.c
+1-71 files

OpenBSD/src pJ3Zoeulib/libcrypto/dh dh_check.c

   DH_check: teach this DoS vector about RFC 7919 primes

   ok beck
VersionDeltaFile
1.33+6-1lib/libcrypto/dh/dh_check.c
+6-11 files

OpenBSD/src UBezA0fregress/lib/libcrypto/bn bn_ffdh.c

   bn_ffdh: unifdef HAVE_RFC7919_PRIMES
VersionDeltaFile
1.2+1-8regress/lib/libcrypto/bn/bn_ffdh.c
+1-81 files

OpenBSD/src fPcQc3slib/libcrypto/bn bn_const.c bn_local.h

   bn_const: add RFC 7919 primes

   There is no intention to expose these via public API or to use them in TLS.
   For now these will only be used for short-circuiting pointless expensive
   computations in DH_check().

   ok beck
VersionDeltaFile
1.9+293-1lib/libcrypto/bn/bn_const.c
1.62+7-1lib/libcrypto/bn/bn_local.h
+300-22 files

OpenBSD/src ODlOHjHlib/libcrypto/dh dh_check.c

   Scapy special for DH_check()

   The latest release of Scapy calls DH_check() on all the well-known
   Diffie-Hellman parameters for RFCs 2409, 3526, and 7919. It does this
   via pyca/cryptography at startup. Every single time. This is obviously
   very expensive, due to our 64 MR rounds (which are complete overkill
   now that we have BPSW). Instead of pondering the ideal number of rounds
   for BPSW with FFDH, simply skip the check if the parameter matches a
   well-known prime. These are known to be safe primes, so we can skip
   those super-expensive and pointless checks without any risk.

   This is only done for the public dh->p parameter. It could be further
   optimized, but with the follow-up commit adding the RFC 7919 primes this
   reduces the startup time to what it was before Scapy 2.7.0: < 1s.

   Reverting from 64 MR rounds to BN_check_primes rounds, we would still
   have ~8s startup time without this optimization, which isn't great for
   an interactive tool.


    [11 lines not shown]
VersionDeltaFile
1.32+60-2lib/libcrypto/dh/dh_check.c
+60-21 files

OpenBSD/src zlB24Gtregress/lib/libcrypto/bn bn_ffdh.c Makefile

   bn regress: add test that double checks the RFC 2409 and 3526 primes

   Also has code to check the RFC 7919 primes and run DH_check() once that
   knows about these.
VersionDeltaFile
1.1+502-0regress/lib/libcrypto/bn/bn_ffdh.c
1.39+3-1regress/lib/libcrypto/bn/Makefile
+505-12 files

OpenBSD/src TACs3q4distrib/sets/lists/base mi

   sync
VersionDeltaFile
1.1179+1-1distrib/sets/lists/base/mi
+1-11 files

OpenBSD/src YAZJUofusr.bin/ssh sshd_config.5

   Make it clear that DenyUsers/DenyGroups overrides AllowUsers/AllowGroups.
   Previously we specified the order in which the directives are
   processed but it was ambiguous as to what happened if both matched.
   OK djm@
VersionDeltaFile
1.393+13-13usr.bin/ssh/sshd_config.5
+13-131 files

OpenBSD/src T0PSpSalib/libfuse fuse_session.c fuse_lowlevel.c, sys/miscfs/fuse fuse_vnops.c

   Adds basic implementation of the low-level FUSE API.
   This is sufficient to compile and run lowntfs-3g.

   In this patch the low and high-level APIs are independent. The next
   patch will modify the high-level API to make use of the low-level API
   so that there is no longer any code duplication.

   The libfuse changes are mostly additions and should be self-explanatory.
   There are also some kernel changes required, which are:

   - A fusefs dir vnode now keeps a reference to its parent vnode so that ".." is
     resolves in fusefs_lookup rather than sending the lookup request to the FUSE
     file system. This is consistent with Linux.
   - Added sanity checks for the attributes returned from FBT_GETATTR. These
     belong in the kernel and not in libfuse.
   - fusefs_readdir needed some tweaking to handle full buffers.
   - Set the vnode type from the attributes returned from FBT_MKDIR and
     FBT_MKNOD.


    [6 lines not shown]
VersionDeltaFile
1.1+698-0lib/libfuse/fuse_session.c
1.1+308-0lib/libfuse/fuse_lowlevel.c
1.2+136-1lib/libfuse/fuse_lowlevel.h
1.75+43-12sys/miscfs/fuse/fuse_vnops.c
1.27+47-7lib/libfuse/fuse_private.h
1.2+49-2lib/libfuse/fuse_chan.c
+1,281-227 files not shown
+1,359-5613 files

OpenBSD/src 1SRCpncregress/lib/libcrypto/wycheproof Makefile

   wycheproof regress: wycheproof-testvectors was renamed to wycheproof

   Installed packages will update and pkg_add wycheproof-testvectors will
   continue to work.
VersionDeltaFile
1.12+2-2regress/lib/libcrypto/wycheproof/Makefile
+2-21 files

OpenBSD/src 9BvaEBedistrib/sets/lists/base mi

   sync sndio bump
VersionDeltaFile
1.1178+1-1distrib/sets/lists/base/mi
+1-11 files

OpenBSD/src aGBxtsrregress/lib/libcrypto/x509/policy policy.c

   policy test: parital -> partial
VersionDeltaFile
1.14+2-2regress/lib/libcrypto/x509/policy/policy.c
+2-21 files

OpenBSD/src b2BIudSinclude sndio.h, lib/libsndio shlib_version

   libsndio: Increase the length of display strings and control names

   Fixes truncated uaudio(4) device names. As we're at it, increase other
   strings and add padding in the sioctl_desc structure, for future use.
VersionDeltaFile
1.17+5-12include/sndio.h
1.17+2-2lib/libsndio/shlib_version
+7-142 files

OpenBSD/src e55OQF1lib/libsndio sio.c sio_open.3, usr.bin/sndiod sock.c dev.c

   libsndio: Add the new sio_onxrun(3) function to report underruns

   libsndio recovers after underruns, so in most cases they should just
   be ignored. However there are cases where a program may use an external
   audio clock (ex. an RTP stream) and resample to make the local audio
   rate match the remote rate to keep the latency constant. To do so, the
   program must measure continuously the clock drift and calculate the
   resampling ratio. Upon underrun, such programs must restart the
   measurements, hence the need for this new interface.

   ok armani
VersionDeltaFile
1.56+35-1usr.bin/sndiod/sock.c
1.28+27-1lib/libsndio/sio.c
1.59+24-2lib/libsndio/sio_open.3
1.127+22-2usr.bin/sndiod/dev.c
1.30+16-1usr.bin/sndiod/siofile.c
1.22+6-1lib/libsndio/sio_aucat.c
+130-88 files not shown
+154-1514 files

OpenBSD/src u5AotmDregress/lib/libcrypto/wycheproof wycheproof.go

   ML-KEM: unstub runMLKEMKeyGenTest()

   This adds coverage for MLKEM_private_key_from_seed(), which was previously
   only minimal teted from our regress.
VersionDeltaFile
1.201+50-1regress/lib/libcrypto/wycheproof/wycheproof.go
+50-11 files

OpenBSD/src Yu3Gx91regress/lib/libcrypto/wycheproof wycheproof.go

   ML-KEM: improve the EncapsTest

   New testvectors want some more detailed handling, which brings these
   Wycheproof encapsulation tests about on par with our existing tests.
VersionDeltaFile
1.200+46-4regress/lib/libcrypto/wycheproof/wycheproof.go
+46-41 files

OpenBSD/src MzULwJVregress/lib/libcrypto/wycheproof wycheproof.go

   ML-KEM: add handler stub for the new KeyGenTest
VersionDeltaFile
1.199+7-1regress/lib/libcrypto/wycheproof/wycheproof.go
+7-11 files

OpenBSD/src A5n0I3wregress/lib/libcrypto/wycheproof wycheproof.go

   ML_KEM: fix broken test: the encapsulated key is eK, not C...
VersionDeltaFile
1.198+2-2regress/lib/libcrypto/wycheproof/wycheproof.go
+2-21 files

OpenBSD/src fZ68ZHFregress/lib/libcrypto/wycheproof wycheproof.go

   ML-KEM: don't treat API failure as test failure for invalid test cases

   An update to the test vectors adds tests which verifies that the API
   correctly rejects some inputs.
VersionDeltaFile
1.197+11-5regress/lib/libcrypto/wycheproof/wycheproof.go
+11-51 files