HW: add AES engine & implement AES-CCM
This commit is contained in:
parent
1bf449d752
commit
ea1ea0224c
12 changed files with 419 additions and 1 deletions
17
src/core/hw/aes/arithmetic128.h
Normal file
17
src/core/hw/aes/arithmetic128.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue