CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/27 00:53:15 Modified files: lib/libcrypto/evp: m_sigver.c Log message: Fix whitespace
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/03/27 00:51:59 Modified files: lib/libcrypto/aes: aes_core.c Log message: Use crypto_rol_u32() instead of an undefined ROTATE macro. ok tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/27 00:47:52 Modified files: lib/libssl : ssl_lib.c ssl_sess.c Log message: Unify up_ref implementations in libssl ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/03/27 00:39:46 Modified files: lib/libcrypto/aes: aes_core.c Log message: Remove unused NDEBUG define.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/03/27 00:38:54 Modified files: lib/libcrypto/aes: aes_core.c Log message: Tidy includes and a comment.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/03/27 00:37:28 Removed files: lib/libcrypto/aes: aes_x86core.c Log message: Remove rather scary unused experimental code. ok tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: jos...@cvs.openbsd.org 2024/03/27 00:33:51 Modified files: lib/libcrypto/evp: m_sigver.c Log message: Clean up use of EVP_MD_CTX_{legacy_clear,cleanup} in EVP_DigestSignFinal Additionally, this cleans up some more surrounding code. This is a fixed version of r1.21. ok tb
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/03/27 00:15:18 Modified files: lib/libcrypto/md4: md4.c Log message: Demacro md4. Use static inline functions instead of macros. Also number rounds as per the RFC. ok joshua@ tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/27 00:08:45 Modified files: lib/libcrypto : Symbols.namespace lib/libcrypto/engine: engine_stubs.c Added files: lib/libcrypto/hidden/openssl: engine.h Log message: Hide symbols in engine ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 22:58:34 Modified files: sys/dev/pci/drm/include/drm: drm_fixed.h Log message: drm: Fix drm_fixp2int_round() making it add 0.5 >From Arthur Grillo 296e6678a432aaff0b8c6a6a17b9b2b193556c71 in linux-6.6.y/6.6.23 807f96abdf14c80f534c78f2d854c2590963345c in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 22:55:35 Modified files: sys/dev/pci/drm/amd/pm/swsmu/smu11: arcturus_ppt.c sys/dev/pci/drm/amd/pm/swsmu/smu13: aldebaran_ppt.c smu_v13_0_6_ppt.c Log message: drm/amd/pm: Fix esm reg mask use to get pcie speed >From Asad Kamal 310ae9eb3d2a13345f2590e7581fd45d97323a02 in linux-6.6.y/6.6.23 b485b899e5b8f83723833feca30a1a1e3df778df in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 22:52:45 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_atom.c Log message: drm/amdgpu: Fix missing break in ATOM_ARG_IMM Case of atom_get_src_int() >From Srinivasan Shanmugam bf13e50a4b760a0155d4cce869dac8480c5ae839 in linux-6.6.y/6.6.23 7cf1ad2fe10634238b38442a851d89514cb14ea2 in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 22:50:30 Modified files: sys/dev/pci/drm/amd/display/dc/link/protocols: link_edp_panel_control.c Log message: drm/amd/display: Add 'replay' NULL check in 'edp_set_replay_allow_active()' >From Srinivasan Shanmugam f610c46771ef1047e46d61807aa7c69cd29e63d8 in linux-6.6.y/6.6.23 f6aed043ee5d75b3d1bfc452b1a9584b63c8f76b in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 22:48:35 Modified files: sys/dev/pci/drm/amd/display/amdgpu_dm: amdgpu_dm.c Log message: drm/amd/display: fix NULL checks for adev->dm.dc in amdgpu_dm_fini() >From Nikita Zhandarovich e040f1fbe9abae91b12b074cfc3bbb5367b79811 in linux-6.6.y/6.6.23 2a3cfb9a24a28da9cc13d2c525a76548865e182c in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 22:44:37 Modified files: sys/dev/pci/drm/radeon: ni.c Log message: drm/radeon/ni: Fix wrong firmware size logging in ni_init_microcode() >From Nikita Zhandarovich 6fc5fb8ebef803285a8f71e298e8a658d836a492 in linux-6.6.y/6.6.23 c4891d979c7668b195a0a75787967ec95a24ecef in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 22:42:17 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_discovery.c Log message: drm/amdgpu: Fix potential out-of-bounds access in 'amdgpu_discovery_reg_base_init()' >From Srinivasan Shanmugam 8f3e68c6a3fff53c2240762a47a0045d89371775 in linux-6.6.y/6.6.23 cdb637d339572398821204a1142d8d615668f1e9 in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 22:40:04 Modified files: sys/dev/pci/drm/amd/display/dc/dcn10: dcn10_hw_sequencer.c Log message: drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()' >From Srinivasan Shanmugam 2d9fe7787af01188dc470a649bdbb842d6511fd7 in linux-6.6.y/6.6.23 9ccfe80d022df7c595f1925afb31de2232900656 in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 22:37:32 Modified files: sys/dev/pci/drm/amd/display/amdgpu_dm: amdgpu_dm_debugfs.c Log message: drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_read()' >From Srinivasan Shanmugam ad76fd30557d6a106c481e4606a981221ca525f7 in linux-6.6.y/6.6.23 4b09715f1504f1b6e8dff0e9643630610bc05141 in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 22:32:19 Modified files: sys/dev/pci/drm/include/drm: drm_fixed.h Log message: drm: Don't treat 0 as -1 in drm_fixp2int_ceil >From Harry Wentland bac3d37d2f7cab3d9c42a7c9775c84aee4fa89d9 in linux-6.6.y/6.6.23 cf8837d7204481026335461629b84ac7f4538fa5 in mainline linux
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: jos...@cvs.openbsd.org 2024/03/26 22:18:50 Modified files: lib/libcrypto/evp: m_sigver.c Log message: Recommit r1.20 ok tb jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/03/26 21:05:59 Modified files: lib/libcrypto/evp: m_sigver.c Log message: Revert to r1.19 while we track down a bug in the last two commits.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: jos...@cvs.openbsd.org 2024/03/26 19:55:41 Modified files: lib/libcrypto/evp: m_sigver.c Log message: Clean up use of EVP_MD_CTX_{legacy_clear,cleanup} in EVP_DigestSignFinal Additionally, this cleans up some more surrounding code. ok tB
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/26 19:49:31 Modified files: lib/libcrypto/dsa: dsa_lib.c Log message: Use dsa for DSA and dh for DH This unifies variable names and does some other cleanup. Only change in generated assembly is line number changes.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/26 19:26:30 Modified files: lib/libcrypto/dh: dh_lib.c Log message: Use dh for DH function arguments. No need for a variety of r, d, ...
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/26 19:22:30 Modified files: lib/libcrypto/bio: bio_lib.c lib/libcrypto/dh: dh_lib.c lib/libcrypto/dsa: dsa_lib.c lib/libcrypto/ec: ec_key.c lib/libcrypto/rsa: rsa_lib.c lib/libcrypto/x509: x_all.c Log message: Unify *_up_ref() implementations No need for an inconsistently named local variable and a ternary operator. ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2024/03/26 17:48:49 Modified files: sys/netinet6 : frag6.c Log message: Additional length check for IPv6 reassembled fragments. FreeBSD-SA-23:06.ipv6 security advisory has added an additional overflow check in frag6_input(). OpenBSD is not affected by that as the bug was introduced by another change in 2019. The existing code is complicated and NetBSD has taken the FreeBSD fix, although they were also not affected. The additional check makes the complicated code more robust. Length calculation taken from NetBSD. Discussed with FreeBSD. OK sashan@ mvs@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/26 17:45:05 Modified files: lib/libcrypto/x509: x509rset.c Log message: Remove superfluous parentheses in X509_REQ setters No change in generated assembly
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/26 17:41:45 Modified files: lib/libcrypto/x509: x509cset.c Log message: Cosmetics, mostly removal of silly parentheses No change in generated assembly
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/26 17:21:36 Modified files: lib/libcrypto/x509: x509_set.c Log message: Drop superfluous parentheses in X509_set_version()
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2024/03/26 16:46:48 Modified files: sys/arch/riscv64/riscv64: machdep.c Log message: The devicetree standard allows for multiple /memory nodes, each with multiple memory ranges. We support the latter, but not the former. Fix this, such that we detect all the memory on the Milk-V Pioneer board. ok miod@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/26 16:45:38 Modified files: lib/libcrypto/x509: x509cset.c Log message: Tweak versions comment for CRLs
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/26 16:44:57 Modified files: lib/libcrypto/x509: x509_set.c Log message: piuid and psuid have annoyed me for long enough
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/26 16:43:42 Modified files: lib/libcrypto/x509: x509_trs.c Log message: x509 trust: remove unneeded headers
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2024/03/26 16:26:04 Modified files: sys/arch/riscv64/stand/efiboot: Makefile conf.c efiboot.c efiboot.h Added files: sys/arch/riscv64/stand/efiboot: efiriscv.c Log message: Implement support for the RISC-V UEFI Boot Protocol. This provides us the boot hart ID for firmware that doesn't provide it through the device tree such as the EDK2-based firmware for the Sophgo SG2042 SoC. ok patrick@, miod@
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: st...@cvs.openbsd.org 2024/03/26 13:22:30 Modified files: . : anoncvs.html Log message: sync
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: st...@cvs.openbsd.org 2024/03/26 13:22:11 Modified files: build/mirrors : anoncvs.html.end anoncvs.html.head Log message: replace defunct anoncvs mirror in examples in the main body text
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2024/03/26 13:12:34 Modified files: regress/sys/kern/noexec: testfly.S Log message: add cfi instructions to repair this test on amd64 and arm64. ok kettenis@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2024/03/26 12:18:30 Modified files: sys/kern : kern_lock.c sys/sys: mutex.h Log message: Improve spinning in mtx_enter(). Instead of calling mtx_enter_try() in each spinning loop, do it only if the result of a lockless read indicates that the mutex has been released. This avoids some expensive atomic compare-and-swap operations. Up to 5% reduction of spinning time during kernel build can been seen on a 8 core amd64 machine. On other machines there was no visible effect. Test on powerpc64 has revealed a bug in mtx_owner declaration. Not the variable was volatile, but the object it points to. Move the volatile declaration in struct mutex to avoid a hang when going to multiuser. from Mateusz Guzik; input kettenis@ jca@; OK mpi@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/03/26 08:46:49 Modified files: sys/arch/sparc64/stand/ofwboot: boot.c vers.c Log message: Implement the chmod a-x bsd.upgrade trick in the sparc64 ofwboot bootloader. OK deraadt@ florian@ kn@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/03/26 06:54:22 Modified files: lib/libcrypto/sha: sha1.c Log message: Rework input and output handling for sha1. Use be32toh(), htobe32() and crypto_{load,store}_htobe32() as appropriate. Also use the same while() loop that is used for other hash functions. ok joshua@ tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/03/26 06:45:29 Modified files: usr.sbin/bgpd : session.c Log message: Move the SendHoldTimer code into start_timer_sendholdtime() and ensure the timer is stopped if HoldTime is 0. OK tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/03/26 06:23:02 Modified files: lib/libcrypto/md4: md4.c Log message: Inline initial values. No functional change.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/03/26 06:18:23 Modified files: lib/libcrypto/md4: md4.c Log message: Rework input and output handling for md4. Use le32toh(), htole32() and crypto_{load,store}_htole32() as appropriate. ok joshua@ tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: jos...@cvs.openbsd.org 2024/03/26 06:10:50 Modified files: lib/libcrypto/hmac: hmac.c Log message: Simplify HMAC_CTX_new() There is no need to call HMAC_CTX_init() as the memory has already been initialised to zero. ok tb
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: jos...@cvs.openbsd.org 2024/03/26 05:25:08 Modified files: lib/libcrypto/evp: m_sigver.c Log message: Clean up EVP_DigestSignFinal ok jsing tb
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 05:17:36 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_drv.c Log message: Temporarily change the connector to unregistered when adding the backlight property to avoid warnings. Matches how inteldrm_native_backlight() handles this. problem reported and fix tested by tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/26 05:09:37 Modified files: lib/libcrypto/x509: x509_set.c x509cset.c x509rset.c Log message: Reject setting invalid versions for certs, CRLs and CSRs The toolkit aspect bites again. Lots of invalid CRLs and CSRs are produced because people neither read the RFCs nor does the toolkit check anything it is fed. Reviewers apparently also aren't capable of remembering that they have three copy-pasted versions of the same API and that adding a version check to one of the might suggest adding one for the other two. This requires ruby-openssl 20240326p0 to pass ok beck job jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/03/26 05:09:02 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_drv.c Log message: test bl_idx instead of the connector type to check for backlight tested by tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2024/03/26 04:20:20 Modified files: usr.bin/tmux : window-copy.c Log message: Fix selection present check, reported by M Kelly.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2024/03/26 04:01:57 Modified files: sys/net: rtable.c Log message: Avoid NULL pointer dereference in routing table an_match(). OK mvs@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: jos...@cvs.openbsd.org 2024/03/26 02:54:48 Modified files: lib/libtls : tls.c tls.h tls_client.c tls_server.c Log message: Add TLS_ERROR_INVALID_CONTEXT error code to libtls ok jsing@ beck@
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: sas...@cvs.openbsd.org 2024/03/26 02:51:51 Modified files: . : 75.html Log message: add few more notes in pf(4)/pfctl(8)
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: dtuc...@cvs.openbsd.org 2024/03/26 02:09:16 Modified files: regress/usr.bin/ssh: sftp-cmds.sh Log message: test -h is the POSIXly way of testing for a symlink. Reduces diff vs Portable.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/03/26 01:12:52 Modified files: lib/libcrypto/md4: md4.c Log message: Remove now unnecessary do {} while (0);
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/03/26 01:11:29 Modified files: lib/libcrypto/md4: md4.c Log message: Inline HASH_MAKE_STRING. No change to generated assembly.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/03/26 01:03:10 Modified files: lib/libcrypto/asn1: p5_pbev2.c Log message: Remove PKCS5_pbe2_set_iv() This used to be a generalization of PKCS5_pbe2_set(). Its only caller was the latter, which always passes aiv == NULL and pbe_prf == -1. Thus, the iv would always be random and regarding the pbe_prf, it would always end up being NID_hmacWithSHA1 since the only ctrl grokking EVP_CTRL_PBE_PRF_NID was RC2's control, but only if PBE_PRF_TEST was defined, which it wasn't. ok jsing