mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-09 08:21:18 +12:00
31 lines
667 B
C++
31 lines
667 B
C++
#pragma once
|
|
#include "Cafe/IOSU/iosu_types_common.h"
|
|
|
|
#define CCR_NFC_ERROR (-0x2F001E)
|
|
#define CCR_NFC_INVALID_LOCKED_SECRET (-0x2F0029)
|
|
#define CCR_NFC_INVALID_UNFIXED_INFOS (-0x2F002A)
|
|
|
|
namespace iosu
|
|
{
|
|
namespace ccr_nfc
|
|
{
|
|
struct CCRNFCCryptData
|
|
{
|
|
uint32 version;
|
|
uint32 dataSize;
|
|
uint32 seedOffset;
|
|
uint32 keyGenSaltOffset;
|
|
uint32 uuidOffset;
|
|
uint32 unfixedInfosOffset;
|
|
uint32 unfixedInfosSize;
|
|
uint32 lockedSecretOffset;
|
|
uint32 lockedSecretSize;
|
|
uint32 unfixedInfosHmacOffset;
|
|
uint32 lockedSecretHmacOffset;
|
|
uint8 data[540];
|
|
};
|
|
static_assert(sizeof(CCRNFCCryptData) == 0x248);
|
|
|
|
IOSUModule* GetModule();
|
|
}
|
|
}
|