This is purely to circumvent the "SD card is public space" issue. The only idea is to have the same measure of security in memory as on the SD card, to allow for large caches. So: Private key in memory. Fast encryption streaming algorithm to write and read to the SD card with the private key in memory. Fast. That's it.