<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/modules/crypto, branch master</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=master</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2020-10-10T01:13:14Z</updated>
<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-test2/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-test2/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>
<entry>
<title>Rename skein_block_asm.s to .S and assemble using Clang IAS</title>
<updated>2020-06-06T00:35:41Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-06-06T00:35:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=24ed6f550a26e4872f70064975e1fa72467fc4d6'/>
<id>urn:sha1:24ed6f550a26e4872f70064975e1fa72467fc4d6</id>
<content type='text'>
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 &lt;Skein1024_block_loop&gt;
-  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 &lt;Skein1024_block_loop&gt;:
 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
</content>
</entry>
<entry>
<title>Also pass SKEIN_USE_ASM to the assembler, via AFLAGS</title>
<updated>2020-06-05T18:56:43Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-06-05T18:56:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f2b86886645fc3fa331543565268808b80d5abdb'/>
<id>urn:sha1:f2b86886645fc3fa331543565268808b80d5abdb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Apply C SKEIN_LOOP setting only to skein_block.c</title>
<updated>2020-06-05T17:00:38Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-06-05T17:00:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=310e81aede569411ad005f6d6e7259ae0cdafd82'/>
<id>urn:sha1:310e81aede569411ad005f6d6e7259ae0cdafd82</id>
<content type='text'>
Otherwise if assembling skein_block_asm.s with Clang's integrated assembler
we can pass conflicting SKEIN_LOOP settings (via CFLAGS and ACFLAGS).
</content>
</entry>
<entry>
<title>Add opt_compat.h needed by r359374.</title>
<updated>2020-06-03T23:21:44Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-06-03T23:21:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8c27b7a98bcf4d1a0c9a77c53d46b82893e919c5'/>
<id>urn:sha1:8c27b7a98bcf4d1a0c9a77c53d46b82893e919c5</id>
<content type='text'>
Reported by:	kevans
</content>
</entry>
<entry>
<title>Remove support for the Blowfish algorithm from OCF.</title>
<updated>2020-05-11T21:24:05Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-05-11T21:24:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=32075647ef7fedb53479d3872960d9ae40e86491'/>
<id>urn:sha1:32075647ef7fedb53479d3872960d9ae40e86491</id>
<content type='text'>
It no longer has any in-kernel consumers.

Reviewed by:	cem
Relnotes:	yes
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D24772
</content>
</entry>
<entry>
<title>Remove support for the skipjack encryption algorithm.</title>
<updated>2020-05-11T20:54:59Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-05-11T20:54:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5e46d47f933cf674b55611d447d487a9cc35bea9'/>
<id>urn:sha1:5e46d47f933cf674b55611d447d487a9cc35bea9</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Remove support for the cast128 encryption algorithm.</title>
<updated>2020-05-11T20:52:18Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-05-11T20:52:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7971a6f91178be26667ce3ca9672ad6f26724109'/>
<id>urn:sha1:7971a6f91178be26667ce3ca9672ad6f26724109</id>
<content type='text'>
It no longer has any in-tree consumers.

Reviewed by:	cem
Relnotes:	yes
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D24768
</content>
</entry>
<entry>
<title>Expose zlib's utility functions in Z_SOLO library when building kernel.</title>
<updated>2019-08-07T01:41:17Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2019-08-07T01:41:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a15cb219c6f2b8ed16179c2fce882a2ff327b753'/>
<id>urn:sha1:a15cb219c6f2b8ed16179c2fce882a2ff327b753</id>
<content type='text'>
This allows kernel code to reuse zlib's implementation.

PR:		229763
Reviewed by:	Yoshihiro Ota &lt;ota j email ne jp&gt;
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D21156
</content>
</entry>
</feed>
