<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal, branch v2.2.0-beta1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.2.0-beta1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.2.0-beta1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2021-09-10T10:14:19+00:00</updated>
<entry>
<title>cli: drop -forcedecode flag</title>
<updated>2021-09-10T10:14:19+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-10T10:14:19+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d023cd6c95fcbc6b5056ba1f425d2ac3df4abc5a'/>
<id>urn:sha1:d023cd6c95fcbc6b5056ba1f425d2ac3df4abc5a</id>
<content type='text'>
The rewritten openssl backend does not support this flag anymore,
and it was inherently dangerour. Drop it (ignored for compatibility)
</content>
</entry>
<entry>
<title>-speed: show which xchacha implementation is preferred</title>
<updated>2021-09-08T18:46:52+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-08T18:46:52+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ad21647f250697d88eade461c08073732d2cf7e0'/>
<id>urn:sha1:ad21647f250697d88eade461c08073732d2cf7e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make -openssl also apply to xchacha</title>
<updated>2021-09-08T18:32:16+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-08T18:32:16+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=94e8004b6ce497dafd13e8c3f6f6596b49169970'/>
<id>urn:sha1:94e8004b6ce497dafd13e8c3f6f6596b49169970</id>
<content type='text'>
Now that stupidgcm supports xchacha, make it available
on mount.
</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>stupidgcm: normalize constructor naming</title>
<updated>2021-09-07T16:15:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-07T16:11:11+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=85c2beccaf674c69b3e30b0d646f5c11d91ecb9b'/>
<id>urn:sha1:85c2beccaf674c69b3e30b0d646f5c11d91ecb9b</id>
<content type='text'>
New() -&gt; NewAES256GCM()

Also add missing NewChacha20poly1305
constructor in without_openssl.go.
</content>
</entry>
<entry>
<title>stupidgcm: revamp package documentation</title>
<updated>2021-09-07T16:15:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-07T15:58:42+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f47e287c202ba92e9b48e65bf95e0771c6c4997c'/>
<id>urn:sha1:f47e287c202ba92e9b48e65bf95e0771c6c4997c</id>
<content type='text'>
Maybe interesting for people following
https://github.com/rfjakob/gocryptfs/issues/452
</content>
</entry>
<entry>
<title>stupidgcm: unexport stupidGCM struct</title>
<updated>2021-09-07T16:15:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-07T15:48:55+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d598536709db355366e90870c6df3508c71c5884'/>
<id>urn:sha1:d598536709db355366e90870c6df3508c71c5884</id>
<content type='text'>
No need to have it exported.
</content>
</entry>
<entry>
<title>stupidgcm: allow zero-length input data</title>
<updated>2021-09-07T16:15:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-07T15:47:48+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=3a80db953da93c741ad391ae124121459c1046b0'/>
<id>urn:sha1:3a80db953da93c741ad391ae124121459c1046b0</id>
<content type='text'>
We used to panic in this case because it is useless.
But Go stdlib supports it, so we should as well.
</content>
</entry>
<entry>
<title>stupidgcm: fix build with CGO_ENABLED=1 without_openssl</title>
<updated>2021-09-07T16:15:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-07T10:57:52+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=738d5a2b3a001318064be649d683684630eff4c2'/>
<id>urn:sha1:738d5a2b3a001318064be649d683684630eff4c2</id>
<content type='text'>
We missed some "// +build" lines
</content>
</entry>
<entry>
<title>stupidgcm: NewChacha20poly1305: avoid slice append</title>
<updated>2021-09-07T16:14:58+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-07T10:44:42+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d9510d0c0ba2ef31145499f4d49ab1d10c03de94'/>
<id>urn:sha1:d9510d0c0ba2ef31145499f4d49ab1d10c03de94</id>
<content type='text'>
I noticed that growslice() shows up in the cpuprofile.
Avoiding slice append for the private jey copy gives a 0.6% speedup:

gocryptfs/internal/speed$ benchstat old new
name             old time/op   new time/op   delta
StupidXchacha-4   5.68µs ± 0%   5.65µs ± 0%  -0.63%  (p=0.008 n=5+5)

name             old speed     new speed     delta
StupidXchacha-4  721MB/s ± 0%  725MB/s ± 0%  +0.63%  (p=0.008 n=5+5)
</content>
</entry>
</feed>
