1 2 3 4 5 6 7 8 9 10 11 12
#pragma once #include "nes/common/containers/span.hh" #include "nes/common/types.hh" namespace nes::app::aes256 { using key = span<u8 const, 256 / 8>; auto encrypt(span<u8>, key) -> void; auto decrypt(span<u8>, key) -> void; } // namespace nes::app::aes256