- Implements core `transform_impl` handling both Encrypt and Decrypt actions. - Implements 10-round AES encryption (standard rounds + final round). - Implements 10-round AES decryption (inverse rounds + final inverse round). - Adds `add_round_key` helper to XOR state with subkey block.