Addition of Adiantum cipher to Kryptos?
  • Order of the Butterfly
    Order of the Butterfly
    ernsteiswuerfel
    Posts: 259 from 2015/6/18
    From: Funeralopolis
    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:
    Code:
    # 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]
  • »20.03.19 - 23:32
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 1735 from 2003/3/5
    From: Poland
    I guess it would be cool to adapt a new core from Vera Crypt. I fear we currently lack the manpower to do this though.
  • »24.03.19 - 09:07
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    ernsteiswuerfel
    Posts: 259 from 2015/6/18
    From: Funeralopolis
    Ah, didn't know Kryptos is VeraCrypt based. In this case I was a bit early. ;-) Adiantum is not implemented in VeraCrypt yet (klick). Linux-wise it is since kernel 4.20.x and cryptsetup 2.0.6.
    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]
  • »24.03.19 - 15:56
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 1735 from 2003/3/5
    From: Poland
    It's actually based on TrueCrypt. Haven't been updated in a while...
  • »24.03.19 - 16:29
    Profile Visit Website