OpenBSD/src O2HY8l6sys/dev/ic dwqe.c

   skip dwqe_tx_proc() processing while the interface is not up

   Prevents a crash seen by bluhm@ while running flood ping in parallel
   to looping ifconfig dwqe0 down up:
   kernel: protection fault trap, code=0
   Stopped at      m_tag_delete_chain+0x30:        movq    0(%rsi),%rax

   ok kettenis@ dlg@ patrick@ deraadt@
VersionDeltaFile
1.18+4-1sys/dev/ic/dwqe.c
+4-11 files

OpenBSD/src Bp8iC9Uusr.bin/kdump kdump.c

   SYS_msyscall will go away soon.  kdump does not need a special handler
   for it.
   ok tb
VersionDeltaFile
1.162+1-2usr.bin/kdump/kdump.c
+1-21 files

OpenBSD/src Xfc764ylib/libcrypto/idea i_cbc.c

   Remove previously missed idea file.
VersionDeltaFile
1.7+1-1lib/libcrypto/idea/i_cbc.c
+1-11 files

OpenBSD/src 2QflZKUlib/libcrypto Makefile, lib/libcrypto/cast cast.c c_skey.c

   Consolidate cast code.
VersionDeltaFile
1.1+983-0lib/libcrypto/cast/cast.c
1.192+2-6lib/libcrypto/Makefile
1.15+1-1lib/libcrypto/cast/c_skey.c
1.8+1-1lib/libcrypto/cast/cast_s.h
1.9+1-1lib/libcrypto/cast/c_ofb64.c
1.9+1-1lib/libcrypto/cast/c_cfb64.c
+989-102 files not shown
+991-128 files

OpenBSD/src cSRsqnqlib/libcrypto Makefile, lib/libcrypto/camellia camellia.c cmll_cfb.c

   Consolidate camellia code.
VersionDeltaFile
1.13+123-3lib/libcrypto/camellia/camellia.c
1.191+1-7lib/libcrypto/Makefile
1.5+1-1lib/libcrypto/camellia/cmll_cfb.c
1.5+1-1lib/libcrypto/camellia/cmll_ctr.c
1.8+1-1lib/libcrypto/camellia/cmll_ecb.c
1.8+1-1lib/libcrypto/camellia/cmll_misc.c
+128-143 files not shown
+131-179 files

OpenBSD/src F02Mr4dlib/libcrypto Makefile, lib/libcrypto/arch/aarch64 Makefile.inc

   Move camellia to primary Makefile.

   These files are now built on all platforms.
VersionDeltaFile
1.190+4-4lib/libcrypto/Makefile
1.10+1-6lib/libcrypto/arch/riscv64/Makefile.inc
1.23+1-5lib/libcrypto/arch/i386/Makefile.inc
1.26+1-5lib/libcrypto/arch/amd64/Makefile.inc
1.13+1-4lib/libcrypto/arch/aarch64/Makefile.inc
1.23+1-3lib/libcrypto/arch/hppa/Makefile.inc
+9-276 files not shown
+14-4412 files

OpenBSD/src NsFtslSregress/lib/libcrypto Makefile, regress/lib/libcrypto/whirlpool whirlpool_test.c Makefile

   Add table-driven Whirlpool tests

   ok tb
VersionDeltaFile
1.1+240-0regress/lib/libcrypto/whirlpool/whirlpool_test.c
1.1+9-0regress/lib/libcrypto/whirlpool/Makefile
1.56+2-1regress/lib/libcrypto/Makefile
+251-13 files

OpenBSD/src kKIzTEYlib/libcrypto/camellia/asm cmll-x86.pl cmll-x86_64.pl

   Remove now unused camellia assembly implementations.
VersionDeltaFile
1.4+0-0lib/libcrypto/camellia/asm/cmll-x86.pl
1.9+0-0lib/libcrypto/camellia/asm/cmll-x86_64.pl
+0-02 files

OpenBSD/src T2h2N3edistrib/sets/lists/comp mi

   sync
VersionDeltaFile
1.1703+0-1distrib/sets/lists/comp/mi
+0-11 files

OpenBSD/src pPO8M15lib/libcrypto/arch/amd64 Makefile.inc, lib/libcrypto/arch/i386 Makefile.inc

   Stop building camellia assembly on amd64 and i386.

   This is a legacy algorithm and the assembly is only marginally faster than
   the C code.

   Discussed with beck@ and tb@
VersionDeltaFile
1.25+4-3lib/libcrypto/arch/amd64/Makefile.inc
1.22+4-2lib/libcrypto/arch/i386/Makefile.inc
+8-52 files

OpenBSD/src VdFdXVcusr.sbin/procmap procmap.c procmap.1

   Stop printing the "syscall" bit related to msyscall(2), since the subsystem
   is being deleted.
VersionDeltaFile
1.72+5-9usr.sbin/procmap/procmap.c
1.27+3-5usr.sbin/procmap/procmap.1
+8-142 files

OpenBSD/src HAt6ye5gnu/usr.bin/cc Makefile, gnu/usr.bin/cc/cc1obj Makefile

   No longer build the objective-C compiler (cc1obj). Its standard library
   (libobjc) had been removed from the build years ago, there is no need to
   keep the compiler.
   ok beck@ joshua@
VersionDeltaFile
1.69+3-3gnu/usr.bin/gcc/Makefile.bsd-wrapper
1.4+1-2gnu/usr.bin/cc/Makefile
1.3+1-1gnu/usr.bin/cc/cc1obj/Makefile
+5-63 files

OpenBSD/src zhyTPJasys/kern kern_sysctl.c

   Remove one global variable duplicating uvmexp.pagesize.
   ok guenther@ deraadt@
VersionDeltaFile
1.426+2-3sys/kern/kern_sysctl.c
+2-31 files

OpenBSD/src qyWRZsMlib/libm Makefile

   Simplify the conditionals for architectures which do not need any particular
   md files lists.
   ok guenther@ deraadt@
VersionDeltaFile
1.124+3-15lib/libm/Makefile
+3-151 files

OpenBSD/src C3Fo4FUlib/libc/sys sigaltstack.2 Makefile.inc

   the msyscall(2) manual page can be deleted.
   Also, the details described in sigaltstack(2) are no longer true.
   ok jmc
VersionDeltaFile
1.27+4-7lib/libc/sys/sigaltstack.2
1.178+2-2lib/libc/sys/Makefile.inc
1.4+2-2lib/libc/sys/msyscall.2
+8-113 files

OpenBSD/src 6yfbGSisys/sys syscall_mi.h

   Remove the at-syscall-time check for msyscall(2)'s behaviour.  msyscall(2)
   was a big coding effort to ensure that system calls could only be performed
   from static-binary/ld.so/libc.so/sigtramp regions of memory, by caching a
   uvm entry with a serial number; new mmap/mprotect calls would increment
   the map serial, and the entry would need to be looked up again.  So the
   cost was O(1) in the usual case, but O(log n) with some locking if a map
   change required a new lookup.
   In the new world order, such regions are immutable so they cannot be
   changed/split by mmap/mprotect; also we know the precise entry locations
   of the syscalls due to system call pinning (ELF OPENBSD_SYSCALL and
   pinsyscalls(2)), and this is all done as O(1) without any locking.

   All the other parts of the subsystem will be ripped out but please
   run a kernel with this before I make changes to ld.so..
   ok kettenis
VersionDeltaFile
1.32+1-7sys/sys/syscall_mi.h
+1-71 files

OpenBSD/src ukabvyzlib/libcrypto/man CMS_add1_signer.3 CMS_sign.3

   Sprinkle a few references to RFC 8419
VersionDeltaFile
1.9+5-2lib/libcrypto/man/CMS_add1_signer.3
1.10+5-2lib/libcrypto/man/CMS_sign.3
1.10+5-2lib/libcrypto/man/CMS_verify.3
+15-63 files

OpenBSD/src QoWcW6lregress/lib/libcrypto/cms cmstest.c

   Add regress coverage for EdDSA in CMS
VersionDeltaFile
1.8+42-6regress/lib/libcrypto/cms/cmstest.c
+42-61 files

OpenBSD/src OX7NJItlib/libcrypto/cms cms_sd.c, lib/libcrypto/ec ecx_methods.c

   Implement Ed25519 signatures for CMS (RFC 8419)

   This adds support for Edwards curve digital signature algorithms in the
   cryptographic message syntax, as specified in RFC 8419. Only Ed25519 is
   supported since that is the only EdDSA algorithm that LibreSSL supports
   (this is unlikely to change ever, but, as they say - never is a very
   long time).

   This has the usual curly interactions between EVP and CMS with poorly
   documented interfaces and lots of confusing magic return values and
   controls. This improves upon existing control handlers by documenting
   what is being done and why. Unlike other (draft) implementations we
   also happen to use the correct hashing algorithm.

   There are no plans to implement RFC 8418.

   joint work with job at p2k23

   ok jsing
VersionDeltaFile
1.31+64-20lib/libcrypto/cms/cms_sd.c
1.12+62-1lib/libcrypto/ec/ecx_methods.c
+126-212 files

OpenBSD/src dO0spzOlib/libcrypto Makefile, lib/libcrypto/arch/aarch64 Makefile.inc

   Move aes_core.c to the primary Makefile.

   This is now built on all platforms.
VersionDeltaFile
1.12+1-6lib/libcrypto/arch/aarch64/Makefile.inc
1.9+1-4lib/libcrypto/arch/riscv64/Makefile.inc
1.189+2-2lib/libcrypto/Makefile
1.11+1-3lib/libcrypto/arch/powerpc/Makefile.inc
1.13+1-3lib/libcrypto/arch/powerpc64/Makefile.inc
1.13+1-3lib/libcrypto/arch/alpha/Makefile.inc
+7-216 files not shown
+12-3212 files

OpenBSD/src NGE07pwlib/libcrypto Makefile, lib/libcrypto/idea idea.c i_ecb.c

   Consolidate idea into a single C file.
VersionDeltaFile
1.1+418-0lib/libcrypto/idea/idea.c
1.188+2-6lib/libcrypto/Makefile
1.8+1-1lib/libcrypto/idea/i_ecb.c
1.7+1-1lib/libcrypto/idea/i_ofb64.c
1.8+1-1lib/libcrypto/idea/i_skey.c
1.7+1-1lib/libcrypto/idea/i_cfb64.c
+424-106 files

OpenBSD/src SNrStPilib/libcrypto/rc2 rc2_local.h

   Remove unused n2ln, l2nn, n2l and l2n macros.
VersionDeltaFile
1.3+1-44lib/libcrypto/rc2/rc2_local.h
+1-441 files

OpenBSD/src oyRAcn2lib/libcrypto/x509 x509_vpm.c

   Make X509_VERIFY_PARAM_set1_policies() less bad

   If any OBJ_dup() fails along the way, a partially copied policy stack
   would remain on the params object. This makes no sense. Implement and
   use an sk_ASN1_OBJECT_deep_copy(), that copies the full stack or else
   returns NULL.

   Remove unnecessary NULL check and streamline some other logic.

   ok jsing
VersionDeltaFile
1.45+33-21lib/libcrypto/x509/x509_vpm.c
+33-211 files

OpenBSD/src Lb2RNSelib/libcrypto/x509 x509_vpm.c

   Clean up X509_VERIFY_PARAM_add0_policy()

   Streamline some checks and use more idiomatic sk_push() error check

   ok jsing
VersionDeltaFile
1.44+5-6lib/libcrypto/x509/x509_vpm.c
+5-61 files

OpenBSD/src hlzzy3zlib/libcrypto/aes aes_core.c, lib/libcrypto/aes/asm aes-x86_64.pl aes-mips.pl

   Always use C functions for AES_set_{encrypt,decrypt}_key().

   Always include aes_core.c and provide AES_set_{encrypt,decrypt}_key() via C
   functions, which then either use a C implementation or call the assembly
   implementation.

   ok tb@
VersionDeltaFile
1.20+38-7lib/libcrypto/aes/aes_core.c
1.16+21-21lib/libcrypto/aes/asm/aes-x86_64.pl
1.6+10-10lib/libcrypto/aes/asm/aes-mips.pl
1.4+9-9lib/libcrypto/aes/asm/aes-armv4.pl
1.12+8-8lib/libcrypto/aes/asm/aes-586.pl
1.23+4-1lib/libcrypto/arch/amd64/Makefile.inc
+90-563 files not shown
+101-589 files

OpenBSD/src vkJ6VfLlib/libcrypto/asn1 asn_mime.c

   Retire mime_debug()

   discussed with jsing
VersionDeltaFile
1.34+1-5lib/libcrypto/asn1/asn_mime.c
+1-51 files

OpenBSD/src 9WOG68ilib/libcrypto/asn1 asn_mime.c

   Improve error checking in i2d_ASN1_bio_stream()

   The streaming BIO API is full of missing error checks. This diff reverts
   the logic so that the single call to ASN1_item_i2d_bio() is error checked
   (it has the usual 1/0 return values), unindents the bulk of the code and
   propagates the SMIME_crlf_copy() return value (alos 1/0) to be the actual
   error.

   ok jsing
VersionDeltaFile
1.33+24-23lib/libcrypto/asn1/asn_mime.c
+24-231 files

OpenBSD/src Oso0jhKlib/libcrypto Makefile, lib/libcrypto/whrlpool whirlpool.c wp_local.h

   Consolidate whirlpool into a single C file.

   Buy a vowel at the same time, since we're no longer limited to 8.3 file
   names.

   Discussed with tb@
VersionDeltaFile
1.1+853-0lib/libcrypto/whrlpool/whirlpool.c
1.187+2-3lib/libcrypto/Makefile
1.3+1-1lib/libcrypto/whrlpool/wp_local.h
1.9+1-1lib/libcrypto/whrlpool/wp_dgst.c
1.16+1-1lib/libcrypto/whrlpool/wp_block.c
+858-65 files

OpenBSD/src YrqCpxPlib/libcrypto/whrlpool/asm wp-x86_64.pl wp-mmx.pl

   Remove now unused assembly implementations of whirlpool.
VersionDeltaFile
1.7+0-0lib/libcrypto/whrlpool/asm/wp-x86_64.pl
1.4+0-0lib/libcrypto/whrlpool/asm/wp-mmx.pl
+0-02 files

OpenBSD/src 8QnV1Zmlib/libcrypto Symbols.namespace, lib/libcrypto/bf blowfish.c

   Hide symbols in Blowfish

   ok jsing tb
VersionDeltaFile
1.1+36-0lib/libcrypto/hidden/openssl/blowfish.h
1.3+8-1lib/libcrypto/bf/blowfish.c
1.90+7-0lib/libcrypto/Symbols.namespace
+51-13 files