HW: add AES engine & implement AES-CCM

This commit is contained in:
wwylele 2017-01-01 14:58:02 +02:00
parent 1bf449d752
commit ea1ea0224c
12 changed files with 419 additions and 1 deletions

View file

@ -0,0 +1,17 @@
// Copyright 2017 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include "common/common_types.h"
#include "core/hw/aes/key.h"
namespace HW {
namespace AES {
AESKey Lrot128(const AESKey& in, u32 rot);
AESKey Add128(const AESKey& a, const AESKey& b);
AESKey Xor128(const AESKey& a, const AESKey& b);
} // namspace AES
} // namespace HW