<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/stupidgcm/common_test.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>2025-08-07T20:06:39+00:00</updated>
<entry>
<title>stupidgcm: make build tags consistent</title>
<updated>2025-08-07T20:06:39+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-08-07T20:06:39+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5f324fe6614c1cf6bc7e5c07807332c8bb23dd5c'/>
<id>urn:sha1:5f324fe6614c1cf6bc7e5c07807332c8bb23dd5c</id>
<content type='text'>
This makes building with just CGO_ENABLED=0 work.
</content>
</entry>
<entry>
<title>make format</title>
<updated>2022-08-28T09:11:36+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2022-08-28T09:11:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=003a7fa2e53ac15d2c94a34102ae12b69b23c586'/>
<id>urn:sha1:003a7fa2e53ac15d2c94a34102ae12b69b23c586</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix minor unreachable code caused by t.Fatal</title>
<updated>2022-08-15T12:24:18+00:00</updated>
<author>
<name>Abirdcfly</name>
</author>
<published>2022-08-10T05:18:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=702a2e19ccaba962449f3844d57f32e56711422e'/>
<id>urn:sha1:702a2e19ccaba962449f3844d57f32e56711422e</id>
<content type='text'>
Signed-off-by: Abirdcfly &lt;fp544037857@gmail.com&gt;</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: add testConcurrency</title>
<updated>2021-09-07T16:14:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-07T10:41:58+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=39b1070506436dcf35ac83c7f8cee65067856062'/>
<id>urn:sha1:39b1070506436dcf35ac83c7f8cee65067856062</id>
<content type='text'>
Verifies that we don't corrupt data when called concurrently.
</content>
</entry>
<entry>
<title>stupidgcm: add BenchmarkCCall</title>
<updated>2021-09-07T16:14:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-05T10:17:38+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6a0206897c83e1f3e4539d6a6c77149167f49626'/>
<id>urn:sha1:6a0206897c83e1f3e4539d6a6c77149167f49626</id>
<content type='text'>
gocryptfs/internal/stupidgcm$ go test -bench .
goos: linux
goarch: amd64
pkg: github.com/rfjakob/gocryptfs/v2/internal/stupidgcm
cpu: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
BenchmarkCCall-4   	15864030	        78.60 ns/op
PASS
ok  	github.com/rfjakob/gocryptfs/v2/internal/stupidgcm	1.898s
</content>
</entry>
<entry>
<title>stupidgcm: introduce stupidAEADCommon and use for both chacha &amp; gcm</title>
<updated>2021-09-07T16:14:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-04T09:41:56+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e2ec048a09889b2bf71e8bbfef9f0584ff7d69db'/>
<id>urn:sha1:e2ec048a09889b2bf71e8bbfef9f0584ff7d69db</id>
<content type='text'>
Nice deduplication and brings the GCM decrypt speed up to par.

internal/speed$ benchstat old new
name                old time/op   new time/op   delta
StupidGCM-4          4.71µs ± 0%   4.66µs ± 0%   -0.99%  (p=0.008 n=5+5)
StupidGCMDecrypt-4   5.77µs ± 1%   4.51µs ± 0%  -21.80%  (p=0.008 n=5+5)

name                old speed     new speed     delta
StupidGCM-4         870MB/s ± 0%  879MB/s ± 0%   +1.01%  (p=0.008 n=5+5)
StupidGCMDecrypt-4  710MB/s ± 1%  908MB/s ± 0%  +27.87%  (p=0.008 n=5+5)
</content>
</entry>
<entry>
<title>stupidgcm: add stupidXchacha20poly1305</title>
<updated>2021-09-07T16:14:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-02T08:51:51+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4017e4b22c2fe1c31dc67163affc49c28fd8c391'/>
<id>urn:sha1:4017e4b22c2fe1c31dc67163affc49c28fd8c391</id>
<content type='text'>
Implementation copied from
https://github.com/golang/crypto/blob/32db794688a5a24a23a43f2a984cecd5b3d8da58/chacha20poly1305/xchacha20poly1305.go
</content>
</entry>
<entry>
<title>stupidgcm: stupidChacha20poly1305: use byte array for key</title>
<updated>2021-09-07T16:13:54+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-02T08:37:44+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5df7ee815dcd91d33e6167c20cebcbd5c51c2c7a'/>
<id>urn:sha1:5df7ee815dcd91d33e6167c20cebcbd5c51c2c7a</id>
<content type='text'>
Follow what golang.org/x/crypto/chacha20poly1305 does
for easier integration in the next commit.
</content>
</entry>
</feed>
