I am trying to benchmark the disk performance of different symmetric ciphers.Why encrypting folders?I have already looked into full disk encryption for this, and found it is an absolute pain to setup on a Raspberry Pi, on top of having to re set it up it for all of the ciphers I wish to test. This does not mean I am avoiding it at all costs, if someone provides a less time consuming and/or only one-time setup I'm all ears.In order to test the disk performance of different symmetric ciphers on a Raspberry Pi, I need to have some folders encrypted with such ciphers. The ciphers I had plans on testing were:AES (Rijndael)TwofishSerpentRC6MARSThese are the AES competition finalists. I also wanted to test some older ciphers that are not as secure as the above, such as Blowfish, TripleDES, Cast6.In order to do so, I resorted to ecryptfs, as by this very useful wiki page.I have therefore been using the command:mount -t ecryptfs /home/pi/test /home/pi/testand then placing the test file for the benchmarking commands in this encrypted folder.This is where the question splits:Getting all of the ciphers available in ecryptfs to workFinding a way to add ciphers to ecryptfs or utilise another tool to achieve the same resultGetting all of the ciphers available in ecryptfs to workFor some reason, when I go about using any cipher in the list apart from AES and TripleDES, I get this error:mount: wrong fs type, bad option, bad superblock on /home/gvlfm78/yee,       missing codepage or helper program, or other error       In some cases useful info is found in syslog - try       dmesg | tail or so.Error mounting eCryptfs: [-1] Operation not permittedThis error is independent of running the command as superuser or not. There is nothing related to this error when checking the logs with dmesg | tail.Adding ciphers to ecryptfsI am looking for a way to add ciphers to ecryptfs, or utilising an equivalent command that allows me to do so, such as the ones on previously linked wiki page.Maybe these should have been two separate questions, but I felt that separating them would cause the viewer to have to read the other question too anyway to understand the situation.
Setting up encrypted folders with ecryptfs on Raspbian
debian;raspberry pi;disk encryption;benchmark;ecryptfs