Show Your Support: Did you know that you can get Phoronix Premium for under $4 per month? Try it today to view our site ad-free, multi-page articles on a single page, and more while the proceeds allow us to write more Linux hardware reviews. At the very least, please disable your ad-blocker.
Google Decides Not To Use Speck For Disk Encryption, Instead Developing HPolyC
Google now says they no longer intend to make use of Speck for encryption on these super low-end devices... Speck has been controversial due to being developed by the NSA, it was rejected from becoming an ISO standard, and there is an unproven belief this crypto algorithm could be back-doored by this US spy agency. So instead Google is working on an alternative implementation for disk encryption on these barebones Android smartphones.
What Google is working on is a new encryption mode called HPolyC. The HPolyC implementation uses the ChaCha stream cipher for disk encryption and have a stronger notion of security than XTS thanks to true wide-block modes.
Google's Eric Biggers wrote, "HPolyC is a construction, not a primitive. It is proven secure if XChaCha and AES are secure, subject to a security bound. Unless there is a mistake in this proof, one therefore does not need to trust HPolyC; one need only trust XChaCha (which itself has a security reduction to ChaCha) and AES... We attest that no "backdoor" or other weakness was inserted into HPolyC, its implementation, or any other aspect of our work; and that to the best of our knowledge, HPolyC's security proof is correct. You don't have to trust us, though: since HPolyC is a construction, not a primitive, its security proof can be independently verified by anyone."
As a "request for comments", Google sent out their HPolyC kernel work today on the kernel mailing list. It's not ready for merging yet but they are looking for developers and security experts to review and test the code.
As part of this patch series, Google is not dropping the Speck code within the kernel but they will "no longer have any objection to them being removed."