wait... how do other systems such as APFS and ZFS do acceleration ?
wait... how do other systems such as APFS and ZFS do acceleration ?
Posted Mar 28, 2017 21:04 UTC (Tue) by tytso (✭ supporter ✭, #9993)In reply to: wait... how do other systems such as APFS and ZFS do acceleration ? by ortalo
Parent article: Inline encryption support for block devices
Right now, all of in-line crypto acceleration hardware which I am familiar with is targetting encryption only, unfortunately.
The challenge with doing authenticated encryption (e.g., AES GCM) is that you need to store the per-block authentication tag somewhere. The challenge is that doing this would mean we would need flash chips with page sizes that are 4k plus 32 bytes for the IV and AES GCM authentication tag. But there aren't any eMMC flash devices with 4128 byte pages. And a non-standard, custom eMMC storage device would be extremely pricey. So it would probably be not commercially viable. :-(
