Revision tags: release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0, release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
e0c51286 |
| 08-Mar-2022 |
Kyle Evans <kevans@FreeBSD.org> |
libmd: split tests out into the test infrastructure
Make us a little less reliant on individuals running the tests, we'll start running them as part of CI.
PR: 280784 (exp-run) Reviewed by: delphi
libmd: split tests out into the test infrastructure
Make us a little less reliant on individuals running the tests, we'll start running them as part of CI.
PR: 280784 (exp-run) Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D34500
show more ...
|
#
e25527f7 |
| 08-Mar-2022 |
Kyle Evans <kevans@FreeBSD.org> |
libmd: symbol versioning
The primary benefit sought is exporting _libmd_* symbols in a private namespace, and avoiding export of some other implementation details that are shared amongst TUs.
PR:
libmd: symbol versioning
The primary benefit sought is exporting _libmd_* symbols in a private namespace, and avoiding export of some other implementation details that are shared amongst TUs.
PR: 280784 (exp-run) Reviewed by: fuz Differential Revision: https://reviews.freebsd.org/D34499
show more ...
|
#
e7a629c8 |
| 08-Mar-2022 |
Kyle Evans <kevans@FreeBSD.org> |
libmd, kern, stand: consolidate md5 implementations (NFC)
Reduce the number of md5c.c between the three of these from two to one by just reaching into the kernel build for both userland builds. The
libmd, kern, stand: consolidate md5 implementations (NFC)
Reduce the number of md5c.c between the three of these from two to one by just reaching into the kernel build for both userland builds. The precedent for this already exists for sha2 in both cases.
_libmd_ symbol privatization bits have been moved to sys/md5.h and md5.h remains to #include <sys/md5.h> for compatibility.
This stops exporting MD5Pad() in the process because the kernel stopped exporting it in 502a35d60f4c. soversion is bumped accordingly.
This also renames the libc version of stack_protector.c; it previously only worked by coincidence because .PATH ordering worked out such that we got the right one, but this is not the case anymore. Remove the landmine.
PR: 280784 (exp-run) Reviewed by: allanjude, delphij Differential Revision: https://reviews.freebsd.org/D34497
show more ...
|
#
e9ac4169 |
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
#
2768d705 |
| 06-Feb-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
libmd / md5: Add SHA-512/224.
While there, remove .Tn from man pages.
Also remove an obsolete comment about the 80386.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: kevans, allanjude Di
libmd / md5: Add SHA-512/224.
While there, remove .Tn from man pages.
Also remove an obsolete comment about the 80386.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: kevans, allanjude Differential Revision: https://reviews.freebsd.org/D38373
show more ...
|
#
20adba8b |
| 08-Aug-2022 |
Gleb Popov <arrowd@FreeBSD.org> |
src.conf: Introduce WITHOUT_MACHDEP knob.
Summary: This knob can be used to make buildsystem prefer generic C implentations of various functions, instead of machine-specific assembler ones.
Test Pl
src.conf: Introduce WITHOUT_MACHDEP knob.
Summary: This knob can be used to make buildsystem prefer generic C implentations of various functions, instead of machine-specific assembler ones.
Test Plan: `make buildworld` on amd64
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D36076
MFC after: 3 days
show more ...
|
Revision tags: release/12.3.0 |
|
#
71bf1c4c |
| 19-Nov-2021 |
Andrew Turner <andrew@FreeBSD.org> |
Add accelerated arm64 sha512 to libmd
As with sha256 add support for accelerated sha512 support to libmd on arm64. This depends on clang 13+ to build as this is the first release with the needed int
Add accelerated arm64 sha512 to libmd
As with sha256 add support for accelerated sha512 support to libmd on arm64. This depends on clang 13+ to build as this is the first release with the needed intrinsics. Gcc should also support them, however from a currently unknown release.
Reviewed by: cem Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33373
show more ...
|
#
a9472032 |
| 30-Aug-2021 |
Andrew Turner <andrew@FreeBSD.org> |
Revert "Disable the accelerated arm64 sha25 in static libraries"
This is now unneeded as arm64 can now resolve ifuncs in static binaries
This reverts commit c81ea895b563c4d1e39468a8525284b7474fe850
Revert "Disable the accelerated arm64 sha25 in static libraries"
This is now unneeded as arm64 can now resolve ifuncs in static binaries
This reverts commit c81ea895b563c4d1e39468a8525284b7474fe850.
Sponsored by: The FreeBSD Foundation
show more ...
|
#
c81ea895 |
| 19-Aug-2021 |
Andrew Turner <andrew@FreeBSD.org> |
Disable the accelerated arm64 sha25 in static libraries
We don't have ifunc support in static arm64 binaries. Until we do disable the accelerated sha256 code in a static libmd as it uses an ifunc.
Disable the accelerated arm64 sha25 in static libraries
We don't have ifunc support in static arm64 binaries. Until we do disable the accelerated sha256 code in a static libmd as it uses an ifunc.
Reported by: brd Sponsored by: The FreeBSD Foundation
show more ...
|
#
69d8dc20 |
| 23-Jul-2021 |
Andrew Turner <andrew@FreeBSD.org> |
Use arm64 sha256 intrinsics in libmd
Summary: When running on a CPU that supports the arm64 sha256 intrinsics use them to improve perfromance of sha256 calculations.
With this changethe following i
Use arm64 sha256 intrinsics in libmd
Summary: When running on a CPU that supports the arm64 sha256 intrinsics use them to improve perfromance of sha256 calculations.
With this changethe following improvement has been seen on an Apple M1 with FreeBS running under Parallels, with similar results on a Neoverse-N1 r3p1.
x sha256.orig + sha256.arm64 +--------------------------------------------------------------------+ |++ x x| |+++ xxx| ||A |A|| +--------------------------------------------------------------------+ N Min Max Median Avg Stddev x 5 3.41 3.5 3.46 3.458 0.042661458 + 5 0.47 0.54 0.5 0.504 0.027018512 Difference at 95.0% confidence -2.954 +/- 0.0520768 -85.4251% +/- 0.826831% (Student's t, pooled s = 0.0357071)
Reviewed by: cem Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D31284
show more ...
|
Revision tags: release/13.0.0, release/12.2.0 |
|
#
da6e5efe |
| 02-Oct-2020 |
Ed Maste <emaste@FreeBSD.org> |
libmd: add dependency workaround for r366344
r366344 fixed and reenabled the assembly optimized skein implementation, but skein_block objects were not being rebuilt in no-clean builds. This resulted
libmd: add dependency workaround for r366344
r366344 fixed and reenabled the assembly optimized skein implementation, but skein_block objects were not being rebuilt in no-clean builds. This resulted in failing no-clean builds. SKEIN_USE_ASM controls which routines come from C vs assembly, and with no explicit dependency r366344's change to SKEIN_USE_ASM did not cause skein_block.{o,pico} to be rebuilt.
Add a dependency on this Makefile for the skein_block objects. This dependency is broader in scope than absolutely required (that is, the skein_block objects will now be rebuilt on any change to this Makefile). There are ways this could be addressed, but it is probably not worth the additional effort or testing time to pursue them.
PR: 248221 Reported by: kevans, Jeremy Faulkner Discussed with: kevans Sponsored by: The FreeBSD Foundation
show more ...
|
#
36972ee3 |
| 01-Oct-2020 |
Ed Maste <emaste@FreeBSD.org> |
libmd: fix assembly optimized skein implementation
The assembly implementation incorrectly used logical AND instead of bitwise AND. Fix, and re-enable in libmd.
Submitted by: Yang Zhong <yzhong@fre
libmd: fix assembly optimized skein implementation
The assembly implementation incorrectly used logical AND instead of bitwise AND. Fix, and re-enable in libmd.
Submitted by: Yang Zhong <yzhong@freebsdfoundation.org> Reviewed by: cem (earlier) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26614
show more ...
|
#
c7aa572c |
| 31-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
0d2c19d0 |
| 23-Jul-2020 |
Ed Maste <emaste@FreeBSD.org> |
libmd: temporarily disable optimized assembly skein1024 implementation
It is apparently broken when assembled by contemporary GNU as as well as Clang IAS (which is used in the default configuration)
libmd: temporarily disable optimized assembly skein1024 implementation
It is apparently broken when assembled by contemporary GNU as as well as Clang IAS (which is used in the default configuration).
PR: 248221 Reported by: pizzamig Sponsored by: The FreeBSD Foundation
show more ...
|
#
e2c0e292 |
| 16-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
7425ce4b |
| 15-Jul-2020 |
Alex Richardson <arichardson@FreeBSD.org> |
Remove warning that is no longer accurate after r361853
We now build the skein assembly with clangs integrated assembler.
Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D256
Remove warning that is no longer accurate after r361853
We now build the skein assembly with clangs integrated assembler.
Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D25664
show more ...
|
Revision tags: release/11.4.0 |
|
#
24ed6f55 |
| 06-Jun-2020 |
Ed Maste <emaste@FreeBSD.org> |
Rename skein_block_asm.s to .S and assemble using Clang IAS
Comparing the object files produced by GNU as 2.17.50 and Clang IAS shows many immaterial changes in strtab etc., and one material change
Rename skein_block_asm.s to .S and assemble using Clang IAS
Comparing the object files produced by GNU as 2.17.50 and Clang IAS shows many immaterial changes in strtab etc., and one material change in .text:
1bac: 4c 8b 4f 18 mov 0x18(%rdi),%r9 1bb0: eb 0e jmp 1bc0 <Skein1024_block_loop> - 1bb2: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) - 1bb9: 00 00 00 00 - 1bbd: 0f 1f 00 nopl (%rax) + 1bb2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) + 1bb9: 00 00 00 + 1bbc: 0f 1f 40 00 nopl 0x0(%rax)
0000000000001bc0 <Skein1024_block_loop>: Skein1024_block_loop(): 1bc0: 4c 8b 47 10 mov 0x10(%rdi),%r8 1bc4: 4c 03 85 c0 00 00 00 add 0xc0(%rbp),%r8
That is, GNU as and Clang's integrated assembler use different multi- byte NOPs for alignment (GNU as emits an 11 byte NOP + a 3 byte NOP, while Clang IAS emits a 10 byte NOP + a 4 byte NOP).
Dependency cleanup hacks are not required, because we do not create .depend files from GNU as.
Reviewed by: allanjude, arichardson, cem, tsoome Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8434
show more ...
|
#
f2b86886 |
| 05-Jun-2020 |
Ed Maste <emaste@FreeBSD.org> |
Also pass SKEIN_USE_ASM to the assembler, via AFLAGS
|
#
310e81ae |
| 05-Jun-2020 |
Ed Maste <emaste@FreeBSD.org> |
Apply C SKEIN_LOOP setting only to skein_block.c
Otherwise if assembling skein_block_asm.s with Clang's integrated assembler we can pass conflicting SKEIN_LOOP settings (via CFLAGS and ACFLAGS).
|
Revision tags: release/12.1.0 |
|
#
f993ed2f |
| 09-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r351732 through r352104.
|
#
a7b5a3d4 |
| 05-Sep-2019 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: Put a lot of binaries and lib in FreeBSD-runtime
All of them are needed to be able to boot to single user and be able to repair a existing FreeBSD installation so put them directly into Fre
pkgbase: Put a lot of binaries and lib in FreeBSD-runtime
All of them are needed to be able to boot to single user and be able to repair a existing FreeBSD installation so put them directly into FreeBSD-runtime.
Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21503
show more ...
|
Revision tags: release/11.3.0, release/12.0.0 |
|
#
da2d1e9d |
| 29-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338298 through r338391.
|
#
01a9c323 |
| 26-Aug-2018 |
Sean Bruno <sbruno@FreeBSD.org> |
r338270 had the side effect of no longer installing libmd.so into /lib. For users who have a seperate zfs mount of /usr or /usr/lib, this will cause dynamic loading failures when attempting to execut
r338270 had the side effect of no longer installing libmd.so into /lib. For users who have a seperate zfs mount of /usr or /usr/lib, this will cause dynamic loading failures when attempting to execute zfs mount on bootup. E.g. the system won't boot.
Including <src.opts.mk> sets SHLIBDIR, so SHLIBDIR?= has no effect. The other lib/ Makefiles solve this problem by moving the SHLIBDIR assignment to before .include <src.opts.mk>.
Submitted by: jilles Reviewed by: allanjude Approved by: re (rgrimes) Differential Revision: https://reviews.freebsd.org/D16910
show more ...
|
#
7847e041 |
| 24-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338026 through r338297, and resolve conflicts.
|