summaryrefslogtreecommitdiff
path: root/lib/nes/app/crypto/aes256.hh
blob: 1ce9d7ab7d4bf2058e7f61445321f4d64eaa5115 (plain)
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