<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/stupidgcm/openssl.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 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: 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 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: replace naked panics</title>
<updated>2021-09-07T16:14:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-04T10:01:50+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b8c56ccffc7d2512cb33434a4fb86467fea1e36f'/>
<id>urn:sha1:b8c56ccffc7d2512cb33434a4fb86467fea1e36f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stupidgcm: fix without_openssl build</title>
<updated>2021-09-07T16:14:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-04T09:58:43+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8f820c429d88f601ba6c7a614fef23b7f53eb489'/>
<id>urn:sha1:8f820c429d88f601ba6c7a614fef23b7f53eb489</id>
<content type='text'>
$ ./build-without-openssl.bash
internal/speed/speed.go:152:14: undefined: stupidgcm.NewXchacha20poly1305
</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>
</feed>
