maj(x, y, z) = ((x & 0x00000007) << 29) ^ ((x & y) ^ (x & z) ^ (y & z)) function ROTR(x,n) = (x >> to_bits(6, i * 8))[7..0] val aes_rv64_shiftrows_fwd : (bits(64),