- implemented frontend
- namespaced Core
- imported qdevicewatcher
- fixed bug in logging (more like in misc)
This commit is contained in:
zhupengfei
2019-08-28 19:16:05 +08:00
parent fd5106759a
commit 7df0b63a1e
22 changed files with 351 additions and 166 deletions
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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
View File
@@ -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