mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-14 16:50:46 -04:00
HW: add AES engine & implement AES-CCM
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user