<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/stupidgcm, branch v1.1-rc1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.1-rc1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.1-rc1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2016-10-04T21:30:05+00:00</updated>
<entry>
<title>A few more lint fixes</title>
<updated>2016-10-04T21:30:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-10-04T21:30:05+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a4956fa6bfde27c21f70e8577ebb586ccc9a3691'/>
<id>urn:sha1:a4956fa6bfde27c21f70e8577ebb586ccc9a3691</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lint fixes</title>
<updated>2016-10-04T21:18:33+00:00</updated>
<author>
<name>Valient Gough</name>
</author>
<published>2016-10-02T04:14:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b764917cd5c1b1d61b8ce08e7af0b29793fbbb80'/>
<id>urn:sha1:b764917cd5c1b1d61b8ce08e7af0b29793fbbb80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>without_openssl: support compiling completely without openssl</title>
<updated>2016-10-04T07:51:14+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-10-04T07:51:14+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=56c0b19612dd25b84474211c1a84897fe89ce7d4'/>
<id>urn:sha1:56c0b19612dd25b84474211c1a84897fe89ce7d4</id>
<content type='text'>
Build helper script: build-without-openssl.bash
</content>
</entry>
<entry>
<title>reverse: switch from GCM-SIV to AES-SIV</title>
<updated>2016-09-26T21:25:13+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-09-26T21:25:13+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e9bb8b800c6c724125ccd862f4d20946317b31f5'/>
<id>urn:sha1:e9bb8b800c6c724125ccd862f4d20946317b31f5</id>
<content type='text'>
GCM-SIV is not yet finalized, and the reference implemenation is
painfully slow at about 2 MB/s. Switch to AES-SIV.
</content>
</entry>
<entry>
<title>stupidgcm: add GCM-SIV benchmark</title>
<updated>2016-09-25T18:04:55+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-09-25T18:04:33+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=0e277ba19e3a18093c33d3927739031b76892de3'/>
<id>urn:sha1:0e277ba19e3a18093c33d3927739031b76892de3</id>
<content type='text'>
On a CPU without AES-NI:

$ go test -bench .
Benchmark4kEncStupidGCM-2   	   50000	     24155 ns/op	 169.57 MB/s
Benchmark4kEncGoGCM-2       	   20000	     93965 ns/op	  43.59 MB/s
Benchmark4kEncGCMSIV-2      	     500	   2576193 ns/op	   1.59 MB/s
</content>
</entry>
<entry>
<title>Implement changes proposed by gosimple.</title>
<updated>2016-09-25T17:48:21+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-09-25T17:48:21+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5f4b16c00f2475a8efd0ae0d4d4e26f92b563dc0'/>
<id>urn:sha1:5f4b16c00f2475a8efd0ae0d4d4e26f92b563dc0</id>
<content type='text'>
Also delete the unused "dirIVNameStruct", found by deadcode.
</content>
</entry>
<entry>
<title>stupidgcm: use __builtin_trap()</title>
<updated>2016-07-04T06:14:24+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-04T06:14:24+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=52655843ab68a37f0000b009cf90cf370df32f98'/>
<id>urn:sha1:52655843ab68a37f0000b009cf90cf370df32f98</id>
<content type='text'>
  [...]/stupidgcm/locking.go:16:2:
  warning: indirection of non-volatile null pointer will
  be deleted, not trap [-Wnull-dereference]
  [...]/stupidgcm/locking.go:16:2:
  note: consider using __builtin_trap() or qualifying
  pointer with 'volatile'

https://github.com/rfjakob/gocryptfs/issues/15
</content>
</entry>
<entry>
<title>stupidgcm: add benchmark.bash wrapper</title>
<updated>2016-05-22T13:49:09+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-05-22T13:49:09+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=888e147cd8698ad13ddec6c5e35ca928ff701a7e'/>
<id>urn:sha1:888e147cd8698ad13ddec6c5e35ca928ff701a7e</id>
<content type='text'>
Add a simple bash wrapper to make it easier to run the GCM
benchmarks.
</content>
</entry>
<entry>
<title>stupidgcm: set dummy locking callback.</title>
<updated>2016-05-04T22:09:08+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-05-04T22:02:04+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=cf29ce37627fd6ba4416dd9eb5e56bed44128131'/>
<id>urn:sha1:cf29ce37627fd6ba4416dd9eb5e56bed44128131</id>
<content type='text'>
In general, OpenSSL is only threadsafe if you provide a locking function
through CRYPTO_set_locking_callback. However, the GCM operations that
stupidgcm uses never call that function.

To guard against that ever changing, set a dummy locking callback
that crashes the app.
</content>
</entry>
<entry>
<title>stupidgcm: skip tests on Go 1.4 and older</title>
<updated>2016-05-04T22:09:08+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-05-04T20:34:52+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=906172938afcf40418d78d825ee4cd2b9363d643'/>
<id>urn:sha1:906172938afcf40418d78d825ee4cd2b9363d643</id>
<content type='text'>
Quoting from the patch:

	We compare against Go's built-in GCM implementation. Since stupidgcm only
	supports 128-bit IVs and Go only supports that from 1.5 onward, we cannot
	run these tests on older Go versions.
</content>
</entry>
</feed>
