def aria.rotw
import bend-osdev-legacy-ciphers@0.1.0.0/aria.bend as Ariaimport Base
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M
4519# the 128-bit block rotated right by n bits (n below 128)
4520def aria.rotw(b: M.CmBlock) -> M.CmBlock:
4521 match b:
4522 case M.CmBlock{a, c, d, e}:
4523 M.CmBlock{e, a, c, d}