#
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
|
Revision tags: release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
031beb4e |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0 |
|
#
06c07e12 |
| 13-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Complete removal of opt_compat.h
Since Linux emulation layer build options was removed there is no reason to keep opt_compat.h.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.o
Complete removal of opt_compat.h
Since Linux emulation layer build options was removed there is no reason to keep opt_compat.h.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D38548 MFC after: 2 weeks
show more ...
|
Revision tags: release/12.4.0, release/13.1.0 |
|
#
63b7c2df |
| 02-Feb-2022 |
John Baldwin <jhb@FreeBSD.org> |
Disable -Wunused-function for {ed,x}25519_ref10.c in libsodium.
|
#
16cf646a |
| 25-Jan-2022 |
John Baldwin <jhb@FreeBSD.org> |
crypto: Remove xform.c and compile xform_*.c standalone.
Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33995
|
#
0c6274a8 |
| 25-Jan-2022 |
John Baldwin <jhb@FreeBSD.org> |
crypto: Add an API supporting curve25519.
This adds a wrapper around libsodium's curve25519 support matching Linux's curve25519 API. The intended use case for this is WireGuard.
Note that this is
crypto: Add an API supporting curve25519.
This adds a wrapper around libsodium's curve25519 support matching Linux's curve25519 API. The intended use case for this is WireGuard.
Note that this is not integrated with OCF as it is not related to symmetric operations on data.
Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33935
show more ...
|
#
e7168004 |
| 18-Jan-2022 |
John Baldwin <jhb@FreeBSD.org> |
crypto: Add a simple API for [X]ChaCha20-Poly1035 on flat buffers.
This is a synchronous software API which wraps the existing software implementation shared with OCF. Note that this will not curre
crypto: Add a simple API for [X]ChaCha20-Poly1035 on flat buffers.
This is a synchronous software API which wraps the existing software implementation shared with OCF. Note that this will not currently use optimized backends (such as ossl(4)) but may be appropriate for operations on small buffers.
Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33524
show more ...
|
#
7df4c506 |
| 11-Jan-2022 |
John Baldwin <jhb@FreeBSD.org> |
crypto.ko: Add hchacha20 from libsodium.
This was added to 'device crypto' in the kernel in bbb7a2c7c329494e0148026f8568c0da4d8db085 but was missing from the module.
Reviewed by: markj Sponsored by
crypto.ko: Add hchacha20 from libsodium.
This was added to 'device crypto' in the kernel in bbb7a2c7c329494e0148026f8568c0da4d8db085 but was missing from the module.
Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33522
show more ...
|
#
8b4af206 |
| 16-Dec-2021 |
John Baldwin <jhb@FreeBSD.org> |
Sort libsodium sources by path in sys/modules/crypto/Makefile.
This matches the order used in sys/conf/files to make it easier to keep these two files in sync.
Reviewed by: imp Sponsored by: The Fr
Sort libsodium sources by path in sys/modules/crypto/Makefile.
This matches the order used in sys/conf/files to make it easier to keep these two files in sync.
Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33484
show more ...
|
Revision tags: release/12.3.0, release/13.0.0 |
|
#
dd2e1352 |
| 18-Feb-2021 |
John Baldwin <jhb@FreeBSD.org> |
Add an implementation of CHACHA20_POLY1305 to cryptosoft.
This uses the chacha20 IETF and poly1305 implementations from libsodium. A seperate auth_hash is created for the auth side whose Setkey met
Add an implementation of CHACHA20_POLY1305 to cryptosoft.
This uses the chacha20 IETF and poly1305 implementations from libsodium. A seperate auth_hash is created for the auth side whose Setkey method derives the poly1305 key from the AEAD key and nonce as described in RFC 8439.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D27837
show more ...
|
#
fc8fc743 |
| 18-Feb-2021 |
John Baldwin <jhb@FreeBSD.org> |
Add an OCF algorithm for ChaCha20-Poly1305 AEAD.
Note that this algorithm implements the mode defined in RFC 8439.
Reviewed by: cem Sponsored by: Netflix Differential Revision: https://reviews.free
Add an OCF algorithm for ChaCha20-Poly1305 AEAD.
Note that this algorithm implements the mode defined in RFC 8439.
Reviewed by: cem Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D27836
show more ...
|
Revision tags: release/12.2.0 |
|
#
49d48f45 |
| 10-Oct-2020 |
Ed Maste <emaste@FreeBSD.org> |
modules/crypto: reenable assembly optimized skein implementation
r366344 corrected the optimized amd64 skein assembly implementation, so we can now enable it again.
Also add a dependency on this Ma
modules/crypto: reenable assembly optimized skein implementation
r366344 corrected the optimized amd64 skein assembly implementation, so we can now enable it again.
Also add a dependency on this Makefile for the skein_block object, so that it will be rebuit (similar to r366362).
PR: 248221 Sponsored by: The FreeBSD Foundation
show more ...
|
#
c7aa572c |
| 31-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
e32e8685 |
| 23-Jul-2020 |
Ed Maste <emaste@FreeBSD.org> |
modules/crypto: disable optimized assembly skein1024 implementation
It is presumably broken in the same way as userland skein1024 (see r363454)
PR: 248221
|
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).
|
#
8c27b7a9 |
| 04-Jun-2020 |
John Baldwin <jhb@FreeBSD.org> |
Add opt_compat.h needed by r359374.
Reported by: kevans
|
#
32075647 |
| 11-May-2020 |
John Baldwin <jhb@FreeBSD.org> |
Remove support for the Blowfish algorithm from OCF.
It no longer has any in-kernel consumers.
Reviewed by: cem Relnotes: yes Sponsored by: Chelsio Communications Differential Revision: https://revi
Remove support for the Blowfish algorithm from OCF.
It no longer has any in-kernel consumers.
Reviewed by: cem Relnotes: yes Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D24772
show more ...
|
#
5e46d47f |
| 11-May-2020 |
John Baldwin <jhb@FreeBSD.org> |
Remove support for the skipjack encryption algorithm.
This was removed from IPsec in r286100 and no longer has any in-tree consumers.
Reviewed by: cem Relnotes: yes Sponsored by: Chelsio Communicat
Remove support for the skipjack encryption algorithm.
This was removed from IPsec in r286100 and no longer has any in-tree consumers.
Reviewed by: cem Relnotes: yes Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D24769
show more ...
|
#
7971a6f9 |
| 11-May-2020 |
John Baldwin <jhb@FreeBSD.org> |
Remove support for the cast128 encryption algorithm.
It no longer has any in-tree consumers.
Reviewed by: cem Relnotes: yes Sponsored by: Chelsio Communications Differential Revision: https://revie
Remove support for the cast128 encryption algorithm.
It no longer has any in-tree consumers.
Reviewed by: cem Relnotes: yes Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D24768
show more ...
|
Revision tags: release/12.1.0 |
|
#
a15cb219 |
| 07-Aug-2019 |
Xin LI <delphij@FreeBSD.org> |
Expose zlib's utility functions in Z_SOLO library when building kernel. This allows kernel code to reuse zlib's implementation.
PR: 229763 Reviewed by: Yoshihiro Ota <ota j email ne jp> Relnotes: y
Expose zlib's utility functions in Z_SOLO library when building kernel. This allows kernel code to reuse zlib's implementation.
PR: 229763 Reviewed by: Yoshihiro Ota <ota j email ne jp> Relnotes: yes Differential Revision: https://reviews.freebsd.org/D21156
show more ...
|
#
0ed1d6fb |
| 01-Aug-2019 |
Xin LI <delphij@FreeBSD.org> |
Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, with an eventual goal to convert all legacl zlib callers to the new zlib version:
* Move generic zlib shims that are not s
Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, with an eventual goal to convert all legacl zlib callers to the new zlib version:
* Move generic zlib shims that are not specific to zlib 1.0.4 to sys/dev/zlib. * Connect new zlib (1.2.11) to the zlib kernel module, currently built with Z_SOLO. * Prefix the legacy zlib (1.0.4) with 'zlib104_' namespace. * Convert sys/opencrypto/cryptodeflate.c to use new zlib. * Remove bundled zlib 1.2.3 from ZFS and adapt it to new zlib and make it depend on the zlib module. * Fix Z_SOLO build of new zlib.
PR: 229763 Submitted by: Yoshihiro Ota <ota j email ne jp> Reviewed by: markm (sys/dev/zlib/zlib_kmod.c) Relnotes: yes Differential Revision: https://reviews.freebsd.org/D19706
show more ...
|
Revision tags: release/11.3.0 |
|
#
30e009fc |
| 19-Feb-2019 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r344270
|
#
c981cbbd |
| 15-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r343956 through r344177.
|