<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/modules/crypto, branch releng/13.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:27Z</updated>
<entry>
<title>sys: Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-23T17:43:27Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5510f79042fbd543de55807d0da7f8a2b8be2f89'/>
<id>urn:sha1:5510f79042fbd543de55807d0da7f8a2b8be2f89</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

Similar commit in current:
(cherry picked from commit 031beb4e239b)
</content>
</entry>
<entry>
<title>Disable -Wunused-function for {ed,x}25519_ref10.c in libsodium.</title>
<updated>2023-03-22T16:19:58Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-02-02T20:25:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e889fcdf8e8ddc184c97e79b82bcf251126e1fa5'/>
<id>urn:sha1:e889fcdf8e8ddc184c97e79b82bcf251126e1fa5</id>
<content type='text'>
(cherry picked from commit 63b7c2df8ec41bf9ac33ccaf9b9d16c7dc28ea0c)
</content>
</entry>
<entry>
<title>crypto: Add an API supporting curve25519.</title>
<updated>2022-07-13T19:28:41Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-01-24T23:27:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b29bd06e67d249708f5429b07f722089e1fce63f'/>
<id>urn:sha1:b29bd06e67d249708f5429b07f722089e1fce63f</id>
<content type='text'>
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

(cherry picked from commit 0c6274a819ffdf6d5a3713b2c0f7014840f01703)
</content>
</entry>
<entry>
<title>crypto: Add a simple API for [X]ChaCha20-Poly1035 on flat buffers.</title>
<updated>2022-07-13T19:25:55Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-01-18T22:47:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a4eea5804d5ced2af3c94723603ff6445082653f'/>
<id>urn:sha1:a4eea5804d5ced2af3c94723603ff6445082653f</id>
<content type='text'>
This is a synchronous software API which wraps the existing software
implementation in libsodium.  This is different from the code in main
in that this uses libsodium directly.  The version in main uses the
software backend shared with OCF, but main required changes that break
the ABI of struct enc_xform that cannot be merged to stable/13.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit e71680049bb8ff395aeaa144377dd9e49331f45e)
</content>
</entry>
<entry>
<title>crypto.ko: Add hchacha20 from libsodium.</title>
<updated>2022-07-13T19:21:48Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-01-11T22:15:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bbe969eb91eb8bbb04c2e447b1e11ddcb7438536'/>
<id>urn:sha1:bbe969eb91eb8bbb04c2e447b1e11ddcb7438536</id>
<content type='text'>
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

(cherry picked from commit 7df4c50643cfeecdd42b8e55c38709bf84b1b002)
</content>
</entry>
<entry>
<title>Sort libsodium sources by path in sys/modules/crypto/Makefile.</title>
<updated>2022-04-29T21:09:07Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2021-12-16T21:47:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8252f0b6ace274f60efaca3a3cb86e679b7207d3'/>
<id>urn:sha1:8252f0b6ace274f60efaca3a3cb86e679b7207d3</id>
<content type='text'>
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

(cherry picked from commit 8b4af206f67e93735a5b22921469a2bce63fb6ab)
</content>
</entry>
<entry>
<title>Add an implementation of CHACHA20_POLY1305 to cryptosoft.</title>
<updated>2021-10-21T15:51:22Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2021-02-18T17:22:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d5cbcae312e705fb89e2ce79c823e9d8697c6b0c'/>
<id>urn:sha1:d5cbcae312e705fb89e2ce79c823e9d8697c6b0c</id>
<content type='text'>
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

(cherry picked from commit dd2e1352b68aa33f7f6f8c19aaf88cf287013ae8)
</content>
</entry>
<entry>
<title>Add an OCF algorithm for ChaCha20-Poly1305 AEAD.</title>
<updated>2021-10-21T15:51:22Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2021-02-18T17:21:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ec3872a696a9b931ca8366c616bf9efc2dbfe8f8'/>
<id>urn:sha1:ec3872a696a9b931ca8366c616bf9efc2dbfe8f8</id>
<content type='text'>
Note that this algorithm implements the mode defined in RFC 8439.

Reviewed by:	cem
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D27836

(cherry picked from commit fc8fc743d89388c0c5b97a491428fab2b36beac8)
</content>
</entry>
<entry>
<title>modules/crypto: reenable assembly optimized skein implementation</title>
<updated>2020-10-10T01:13:14Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-10-10T01:13:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=49d48f45c8f728956cc2d982bf33ae79cd6fd8e9'/>
<id>urn:sha1:49d48f45c8f728956cc2d982bf33ae79cd6fd8e9</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>modules/crypto: disable optimized assembly skein1024 implementation</title>
<updated>2020-07-23T19:19:33Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-07-23T19:19:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e32e86852841c9b5fd2bcaa740f0f22cfaa3b3e5'/>
<id>urn:sha1:e32e86852841c9b5fd2bcaa740f0f22cfaa3b3e5</id>
<content type='text'>
It is presumably broken in the same way as userland skein1024 (see r363454)

PR:		248221
</content>
</entry>
</feed>
