Addition of Adiantum cipher to Kryptos?
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ernsteiswuerfel
    Posts: 556 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. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.18 / Gentoo Linux] | A600GS
  • »20.03.19 - 22:32
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    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 - 08:07
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ernsteiswuerfel
    Posts: 556 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. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.18 / Gentoo Linux] | A600GS
  • »24.03.19 - 14:56
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    It's actually based on TrueCrypt. Haven't been updated in a while...
  • »24.03.19 - 15:29
    Profile Visit Website