def aria.rotw
import bend-osdev-aria@0.1.0.0/aria.bend as Ariaimport Base
import bend-osdev-mode-core@0.1.0.0/mode_core.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}