libgocryptfs/internal/cryptocore
Jakob Unterwurzacher 9e1dd73e55 -speed: add XChaCha20-Poly1305-OpenSSL
$ ./gocryptfs -speed
gocryptfs v2.1-56-gdb1466f-dirty.stupidchacha; go-fuse v2.1.1-0.20210825171523-3ab5d95a30ae; 2021-09-02 go1.17 linux/amd64
AES-GCM-256-OpenSSL       	 529.53 MB/s
AES-GCM-256-Go            	 833.85 MB/s	(selected in auto mode)
AES-SIV-512-Go            	 155.27 MB/s
XChaCha20-Poly1305-Go     	 715.33 MB/s	(use via -xchacha flag)
XChaCha20-Poly1305-OpenSSL	 468.94 MB/s

https://github.com/rfjakob/gocryptfs/issues/452
2021-09-07 18:14:05 +02:00
..
cryptocore_test.go go mod: declare module version v2 2021-08-23 15:05:15 +02:00
cryptocore.go -speed: add XChaCha20-Poly1305-OpenSSL 2021-09-07 18:14:05 +02:00
hkdf_test.go cryptocore: improve comments and add tests for hkdfDerive 2017-05-27 14:41:20 +02:00
hkdf.go Add partial XChaCha20-Poly1305 support (mount flag only) 2021-08-23 16:00:41 +02:00
nonce.go cryptocore: prefetch nonces in 512-byte blocks 2017-06-09 22:05:14 +02:00
randprefetch_test.go cryptocore: add urandom + randprefetch benchmarks 2017-08-16 18:33:00 +02:00
randprefetch.go cryptocore: add urandom + randprefetch benchmarks 2017-08-16 18:33:00 +02:00
randsize_test.go cryptocore: add urandom + randprefetch benchmarks 2017-08-16 18:33:00 +02:00