Order of the Butterfly
Posts: 259 from 2015/6/18
Linux got a new secure enryption cipher added in Kernel 5.0.0: Adiantum (klick
). It is based on the freely available Salsa/ChaCha Stream Cipher and was added for decent encryption speed on low-end ARM-CPUs which lack AES acceleration. Turns out it is also fast on our 'high end' Apple PPC gear.
Some numbers from my G5 7,3, Gentoo Linux, Kernel 5.0.2:
# Die Tests sind nur annähernd genau, da sie nicht auf den Datenträger zugreifen.
# Algorithm | Key | Encryption | Decryption
serpent-xts 256b 33,0 MiB/s 36,8 MiB/s
camellia-xts 256b 58,3 MiB/s 61,5 MiB/s
twofish-xts 256b 61,2 MiB/s 61,6 MiB/s
aes-xts 256b 68,6 MiB/s 67,5 MiB/s
xchacha20,aes-adiantum 256b 88,6 MiB/s 88,8 MiB/s
xchacha12,aes-adiantum 256b 103,7 MiB/s 103,8 MiB/s
Kryptos already supports AES, Serpent and Twofish. The numbers are in favour of Adiantum as you can see. These ciphers are the plain C versions of the Linux kernel, testing was done with the benchmark function of cryptsetup 2.0.6. Dunno if the current MorphOS implementation of AES/Twofish/Serpent has some means of Altivec acceleration.
I think adiatum would make a great addition to Kryptos, especially for the ones among us with ye goode olde Powerbooke G4.
Talos II Secure Workstation. [Gentoo Linux] | PMac G5 7,3. PBook G4 5,8. [MorphOS 3.11 / Gentoo Linux] | A1200. ACA-1233, Indivision AGA Mk2. [Amiga OS 3.1.4]