News for hackers. Stuff that matters.
Re:TFS: A file system built for performance, space efficienc... by legulere on Sunday May 21, 2017 @06:40AM (#14386636)
I do not buy the argument against AES. On both ARM and x86 you have side-channel secure hardware implementations of AES.
Re:TFS: A file system built for performance, space efficienc... by beefhash on Sunday May 21, 2017 @06:49AM (#14386663)
I assume they're targeting more than just ARM and x86, given they're talking about "truely portable AES implementations" in the README[1].

That said, I'm very inclined to distrust a very young cipher... released by the NSA, no less[2]. Which is an add-rotate-xor cipher[2], for which we already have the more reviewed ChaCha20[3], suggested for TLS 1.3[4].

[1] https://github.com/redox-os/tfs/blob/master/README.rst#faq

[2] https://eprint.iacr.org/2013/404

[3] https://cr.yp.to/chacha/chacha-20080128.pdf

[4] https://tools.ietf.org/html/rfc7905

Re:TFS: A file system built for performance, space efficienc... by nightcracker on Sunday May 21, 2017 @07:33AM (#14386792)
ChaCha20 would be the right choice here, not SPECK.
Re:TFS: A file system built for performance, space efficienc... by jedisct1 on Sunday May 21, 2017 @08:50AM (#14387052)
Or if they really want a lightweight cipher with a small block size, they should consider SPARX, especially since a Rust implementation is readily available: https://github.com/jedisct1/rust-sparx
Re:TFS: A file system built for performance, space efficienc... by jstarks on Sunday May 21, 2017 @12:11PM (#14387884)
Has anyone analyzed SPARX other than the authors? It seems a little early to recommend its use.
Re:TFS: A file system built for performance, space efficienc... by Kubuxu on Sunday May 21, 2017 @08:16AM (#14386938)
Salsa20 and ChaCha20 are faster on modern hardware than built-in AES instructions. AES is just old and complex. As Salsa family and other modern ciphers have shown you don't have to use complex function to achieve security.
Re:TFS: A file system built for performance, space efficienc... by dom0 on Sunday May 21, 2017 @01:38PM (#14388219)
This is just plain wrong.

- AES-256-CTR is about ~25 % faster with AES-NI than ChaCha20. The gap widens when we consider their respective AEAD constructions.

- AES construction has had simply different design goals than ChaCha20. Software implementations took the back seat, Hardware impls were important and AES is unproblematic for those.

- AES is arguably a rather conservative design. To some extent even twenty years later.

Re:TFS: A file system built for performance, space efficienc... by tw04 on Sunday May 21, 2017 @11:20AM (#14387668)
Salsa20 and ChaCha20 aren't FIPS140-2 certified (that I'm aware of or can find documented) which is pretty much a basic requirement at this point for anything in the enterprise.
Re:TFS: A file system built for performance, space efficienc... by Kubuxu on Sunday May 21, 2017 @11:50AM (#14387787)
And they probably won't for political reasons. Salsa20 was created by DJB who has previously fought with US Gov against encryption export ban and also they have their own suits they prefer you to use (for their own reasons).

Here is a reason why you can't trust US Gov for creating secure encryption: https://en.wikipedia.org/wiki/Dual_EC_DRBG

Re:TFS: A file system built for performance, space efficienc... by tw04 on Sunday May 21, 2017 @12:09PM (#14387874)
It doesn't matter if I trust or distrust the US government for creating secure encryption. There are laws in place across a plethora of industries REQUIRING FIPS140-2. If you want to do business in the US, it's a basic requirement.

At the end of the day the odds of this filesystem gaining any traction are basically 0. I'm just pointing out that not supporting an encryption algorithm that can meet the FIPS requirement makes it basically a non-starter for any commercial application.

Re:TFS: A file system built for performance, space efficienc... by kuschku on Sunday May 21, 2017 @12:53PM (#14388041)
> At the end of the day the odds of this filesystem gaining any traction are basically 0. I'm just pointing out that not supporting an encryption algorithm that can meet the FIPS requirement makes it basically a non-starter for any commercial application.

In the US. In many other countries, it might gain lots of traction.