def aria.eks
bend-osdev-legacy-ciphers@0.1.0.0 · aria.bend:4552
import bend-osdev-legacy-ciphers@0.1.0.0/aria.bend as Aria
import Base
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M
4552
4553def aria.eks(+w0: M.CmBlock, +w1: M.CmBlock, +w2: M.CmBlock, +w3: M.CmBlock) -> List<&2, M.CmBlock>:
4554 aria.append(aria.ek4(19n, w0, w1, w2, w3), aria.append(aria.ek4(31n, w0, w1, w2, w3), aria.append(aria.ek4(67n, w0, w1, w2, w3), aria.append(aria.ek4(97n, w0, w1, w2, w3), [M.CmBlock.xor(w0, aria.rotr(109n, w1))]))))