Lime3DS/src/core/hw/aes/arithmetic128.h

17 lines
431 B
C++
Raw Normal View History

2017-01-01 12:58:02 +00:00
// 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"
2019-02-19 01:34:18 +00:00
namespace HW::AES {
2017-01-01 12:58:02 +00:00
AESKey Lrot128(const AESKey& in, u32 rot);
AESKey Add128(const AESKey& a, const AESKey& b);
AESKey Add128(const AESKey& a, u64 b);
2017-01-01 12:58:02 +00:00
AESKey Xor128(const AESKey& a, const AESKey& b);
2019-02-19 01:34:18 +00:00
} // namespace HW::AES