<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/stupidgcm/Makefile, branch LockSharedStorage_rebase1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=LockSharedStorage_rebase1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=LockSharedStorage_rebase1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2021-09-07T16:15:04+00:00</updated>
<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: replace chacha20poly1305_seal with generic aead_seal</title>
<updated>2021-09-07T16:14:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-03T15:11:57+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=69d626b26f5a3f55c752b59af44710b992e2ab76'/>
<id>urn:sha1:69d626b26f5a3f55c752b59af44710b992e2ab76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stupidgcm: batch C calls in chacha20poly1305_seal</title>
<updated>2021-09-07T16:14:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-03T14:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a3f5a8492a8bc62d8e2a639bd449b425efa66ce2'/>
<id>urn:sha1:a3f5a8492a8bc62d8e2a639bd449b425efa66ce2</id>
<content type='text'>
Go has a high overhead for each C call, so batch
all openssl operations in the new C function chacha20poly1305_seal.

Benchmark results:

internal/speed$ go test -bench BenchmarkStupidXchacha -count 10 &gt; old.txt
internal/speed$ go test -bench BenchmarkStupidXchacha -count 10 &gt; new.txt

internal/speed$ benchstat old.txt new.txt
name             old time/op   new time/op   delta
StupidXchacha-4   8.79µs ± 1%   7.25µs ± 1%  -17.54%  (p=0.000 n=10+10)

name             old speed     new speed     delta
StupidXchacha-4  466MB/s ± 1%  565MB/s ± 1%  +21.27%  (p=0.000 n=10+10)
</content>
</entry>
</feed>
