<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/stupidgcm/prefer.go, branch xattr_user_buffer</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2024-06-06T08:07:08+00:00</updated>
<entry>
<title>stupidgcm: detect AES-GCM acceleration like crypto/tls</title>
<updated>2024-06-06T08:07:08+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2024-06-06T08:07:08+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f06f27e7bc098e334024c365004f9303e79997d9'/>
<id>urn:sha1:f06f27e7bc098e334024c365004f9303e79997d9</id>
<content type='text'>
Instead of just looking for AES, also look for PCLMULQDQ,
like crypto/tls does.

Fixes: https://github.com/rfjakob/gocryptfs/issues/822
</content>
</entry>
<entry>
<title>make format</title>
<updated>2022-12-29T14:00:37+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2022-12-29T14:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=856ccaac10579abda5620dfc86ad6031b1076a43'/>
<id>urn:sha1:856ccaac10579abda5620dfc86ad6031b1076a43</id>
<content type='text'>
Run "make format" using
go version go1.19.4 linux/amd64
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2022-06-26T08:59:06+00:00</updated>
<author>
<name>Yuta Hayashibe</name>
</author>
<published>2022-05-04T09:06:20+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e9ecff7f07aeb1efe0edec7b4b050ce3c0ef75f8'/>
<id>urn:sha1:e9ecff7f07aeb1efe0edec7b4b050ce3c0ef75f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stupidgcm: add CpuHasAES()</title>
<updated>2021-09-14T16:58:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-14T16:47:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=61e37b2439f0b8a7c16458e73cb57c7428fe61f2'/>
<id>urn:sha1:61e37b2439f0b8a7c16458e73cb57c7428fe61f2</id>
<content type='text'>
Makes the code clearer, and will be used in the next commit.
</content>
</entry>
<entry>
<title>stupidgcm: add PreferOpenSSL{AES256GCM,Xchacha20poly1305}</title>
<updated>2021-09-08T17:48:13+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-08T17:48:13+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1a5866729387c09eca1cdc9737d1b02c74c25901'/>
<id>urn:sha1:1a5866729387c09eca1cdc9737d1b02c74c25901</id>
<content type='text'>
Add PreferOpenSSLXchacha20poly1305,
rename PreferOpenSSL -&gt; PreferOpenSSLAES256GCM.
</content>
</entry>
<entry>
<title>Unbreak hyperlinks broken by go mod v2 conversion</title>
<updated>2021-08-30T09:31:01+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-30T09:31:01+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=34d8a498c4899b1493f7bea16c22486d6725c9b1'/>
<id>urn:sha1:34d8a498c4899b1493f7bea16c22486d6725c9b1</id>
<content type='text'>
Commit

  69d88505fd7f4cb0d9e4f1918de296342fe05858 go mod: declare module version v2

translated all instances of "github.com/rfjakob/gocryptfs/" to
"github.com/rfjakob/gocryptfs/v2/".

Unfortunately, this included hyperlinks.

Unbreak the hyperlinks like this:

  find . -name \*.go | xargs sed -i s%https://github.com/rfjakob/gocryptfs/v2/%https://github.com/rfjakob/gocryptfs/v2/%
</content>
</entry>
<entry>
<title>go mod: declare module version v2</title>
<updated>2021-08-23T13:05:15+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-23T13:05:15+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=69d88505fd7f4cb0d9e4f1918de296342fe05858'/>
<id>urn:sha1:69d88505fd7f4cb0d9e4f1918de296342fe05858</id>
<content type='text'>
Our git version is v2+ for some time now, but go.mod
still declared v1. Hopefully making both match makes
https://pkg.go.dev/github.com/rfjakob/gocryptfs/v2 work.

All the import paths have been fixed like this:

  find . -name \*.go | xargs sed -i s%github.com/rfjakob/gocryptfs/%github.com/rfjakob/gocryptfs/v2/%
</content>
</entry>
<entry>
<title>stupidgcm: prefer Go stdlib over OpenSSL on Apple M1</title>
<updated>2021-05-26T07:20:22+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-05-26T07:20:22+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1d2ac1e589209be96f8ee5fbba9a18e7e2c5fb04'/>
<id>urn:sha1:1d2ac1e589209be96f8ee5fbba9a18e7e2c5fb04</id>
<content type='text'>
https://github.com/rfjakob/gocryptfs/issues/556
</content>
</entry>
<entry>
<title>Prefer Go stdlib aes-gcm on arm64 with aes instructions</title>
<updated>2020-04-13T20:34:07+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-04-13T20:34:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8f5c2a613d37d8f58aee5b2405098da5c99aaca2'/>
<id>urn:sha1:8f5c2a613d37d8f58aee5b2405098da5c99aaca2</id>
<content type='text'>
We used to prefer openssl in this situation, which
used to make sense, but now Go gained an optimized
assembly implementation for aes-gcm on arm64 with
aes instructions:

  root@q1:~/go/src/github.com/rfjakob/gocryptfs# ./gocryptfs -speed
  gocryptfs v1.7.1-46-g73436d9; go-fuse v1.0.1-0.20190319092520-161a16484456; 2020-04-13 go1.14.2 linux/arm64
  AES-GCM-256-OpenSSL      212.30 MB/s    (selected in auto mode)
  AES-GCM-256-Go           452.30 MB/s
  AES-SIV-512-Go           100.25 MB/s
  XChaCha20-Poly1305-Go    137.35 MB/s

https://github.com/rfjakob/gocryptfs/issues/452
</content>
</entry>
<entry>
<title>merge prefer_openssl package into stupidgcm</title>
<updated>2020-02-15T16:21:30+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-02-15T16:21:30+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d5ce340c02601992cc9dab1bd7d3c2d95d81155e'/>
<id>urn:sha1:d5ce340c02601992cc9dab1bd7d3c2d95d81155e</id>
<content type='text'>
Now that I have discovered golang.org/x/sys/cpu and that Go
versions below 1.6 are uncommon, there was not much useful
code left in prefer_openssl.

Merge the remains into stupidgcm.
</content>
</entry>
</feed>
