Full disk encryption

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Full disk encryption

Postby lockheed » Wed Oct 15, 2014 2:22 pm

I was contemplating encrypting my storage USB hdd connected to Raspberry PI running Arch ARM.

So I run benchmark, but the results were not very encouraging:
$this->bbcode_second_pass_code('', '# cryptsetup benchmark
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1 42010 iterations per second
PBKDF2-sha256 43690 iterations per second
PBKDF2-sha512 3353 iterations per second
PBKDF2-ripemd160 49648 iterations per second
PBKDF2-whirlpool 4576 iterations per second
# Algorithm | Key | Encryption | Decryption
aes-cbc 128b 16.0 MiB/s 16.3 MiB/s
serpent-cbc 128b N/A N/A
twofish-cbc 128b N/A N/A
aes-cbc 256b 13.2 MiB/s 13.4 MiB/s
serpent-cbc 256b N/A N/A
twofish-cbc 256b N/A N/A
aes-xts 256b 17.0 MiB/s 16.9 MiB/s
serpent-xts 256b N/A N/A
twofish-xts 256b N/A N/A
aes-xts 512b 14.0 MiB/s 13.9 MiB/s
serpent-xts 512b N/A N/A
twofish-xts 512b N/A N/A')
Not only is it slower than I expected, but also only one algorithm available. Is there some way to get others working, too?
lockheed
 
Posts: 26
Joined: Sat May 24, 2014 5:46 am

Re: Full disk encryption

Postby WarheadsSE » Wed Oct 15, 2014 2:27 pm

Immediately, it seems like you should check the kernel config and the documentation for the project as to the requirements for those ciphers.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 50 guests