mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-04 00:38:47 +00:00
updates
- implemented frontend - namespaced Core - imported qdevicewatcher - fixed bug in logging (more like in misc)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <functional>
|
||||
#include "core/key/arithmetic128.h"
|
||||
|
||||
namespace Key {
|
||||
namespace Core::Key {
|
||||
|
||||
AESKey Lrot128(const AESKey& in, u32 rot) {
|
||||
AESKey out;
|
||||
@@ -56,4 +56,4 @@ AESKey Xor128(const AESKey& a, const AESKey& b) {
|
||||
return out;
|
||||
}
|
||||
|
||||
} // namespace Key
|
||||
} // namespace Core::Key
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
#include "common/common_types.h"
|
||||
#include "core/key/key.h"
|
||||
|
||||
namespace Key {
|
||||
namespace Core::Key {
|
||||
|
||||
AESKey Lrot128(const AESKey& in, u32 rot);
|
||||
AESKey Add128(const AESKey& a, const AESKey& b);
|
||||
AESKey Add128(const AESKey& a, u64 b);
|
||||
AESKey Xor128(const AESKey& a, const AESKey& b);
|
||||
|
||||
} // namespace Key
|
||||
} // namespace Core::Key
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "core/key/arithmetic128.h"
|
||||
#include "core/key/key.h"
|
||||
|
||||
namespace Key {
|
||||
namespace Core::Key {
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -216,4 +216,4 @@ void SelectCommonKeyIndex(u8 index) {
|
||||
key_slots[KeySlotID::TicketCommonKey].SetKeyY(common_key_y_slots.at(index));
|
||||
}
|
||||
|
||||
} // namespace Key
|
||||
} // namespace Core::Key
|
||||
|
||||
+2
-2
@@ -9,7 +9,7 @@
|
||||
#include <string>
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace Key {
|
||||
namespace Core::Key {
|
||||
|
||||
enum KeySlotID : std::size_t {
|
||||
|
||||
@@ -69,4 +69,4 @@ AESKey GetNormalKey(std::size_t slot_id);
|
||||
|
||||
void SelectCommonKeyIndex(u8 index);
|
||||
|
||||
} // namespace Key
|
||||
} // namespace Core::Key
|
||||
|
||||
Reference in New Issue
Block a user