mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 13:39:28 +00:00
[nx] Fix indent.
This commit is contained in:
parent
e9d24e4297
commit
c42b498e19
1 changed files with 60 additions and 60 deletions
|
@ -26,67 +26,67 @@ namespace nx
|
|||
void exportBinary();
|
||||
void importBinary(const byte_t* bytes, size_t len);
|
||||
|
||||
// variables
|
||||
void clear();
|
||||
uint32_t getRomAreaStartPage() const;
|
||||
void setRomAreaStartPage(uint32_t startPage);
|
||||
uint32_t getBackupAreaStartPage() const;
|
||||
void setBackupAreaStartPage(uint32_t startPage);
|
||||
byte_t getKekIndex() const;
|
||||
void setKekIndex(byte_t kekIndex);
|
||||
byte_t getTitleKeyDecIndex() const;
|
||||
void setTitleKeyDecIndex(byte_t index);
|
||||
byte_t getRomSizeType() const;
|
||||
void setRomSizeType(byte_t romSizeType);
|
||||
byte_t getCardHeaderVersion() const;
|
||||
void setCardHeaderVersion(byte_t version);
|
||||
byte_t getFlags() const;
|
||||
void setFlags(byte_t flags);
|
||||
uint64_t getPackageId() const;
|
||||
void setPackageId(uint64_t id);
|
||||
uint32_t getValidDataEndPage() const;
|
||||
void setValidDataEndPage(uint32_t page);
|
||||
const crypto::aes::sAesIvCtr& getAesCbcIv() const;
|
||||
void setAesCbcIv(const crypto::aes::sAesIvCtr& iv);
|
||||
uint64_t getPartitionFsAddress() const;
|
||||
void setPartitionFsAddress(uint64_t address);
|
||||
uint64_t getPartitionFsSize() const;
|
||||
void setPartitionFsSize(uint64_t size);
|
||||
const crypto::sha::sSha256Hash& getPartitionFsHash() const;
|
||||
void setPartitionFsHash(const crypto::sha::sSha256Hash& hash);
|
||||
const crypto::sha::sSha256Hash& getInitialDataHash() const;
|
||||
void setInitialDataHash(const crypto::sha::sSha256Hash& hash);
|
||||
uint32_t getSelSec() const;
|
||||
void setSelSec(uint32_t sel_sec);
|
||||
uint32_t getSelT1Key() const;
|
||||
void setSelT1Key(uint32_t sel_t1_key);
|
||||
uint32_t getSelKey() const;
|
||||
void setSelKey(uint32_t sel_key);
|
||||
uint32_t getLimAreaPage() const;
|
||||
void setLimAreaPage(uint32_t page);
|
||||
// variables
|
||||
void clear();
|
||||
uint32_t getRomAreaStartPage() const;
|
||||
void setRomAreaStartPage(uint32_t startPage);
|
||||
uint32_t getBackupAreaStartPage() const;
|
||||
void setBackupAreaStartPage(uint32_t startPage);
|
||||
byte_t getKekIndex() const;
|
||||
void setKekIndex(byte_t kekIndex);
|
||||
byte_t getTitleKeyDecIndex() const;
|
||||
void setTitleKeyDecIndex(byte_t index);
|
||||
byte_t getRomSizeType() const;
|
||||
void setRomSizeType(byte_t romSizeType);
|
||||
byte_t getCardHeaderVersion() const;
|
||||
void setCardHeaderVersion(byte_t version);
|
||||
byte_t getFlags() const;
|
||||
void setFlags(byte_t flags);
|
||||
uint64_t getPackageId() const;
|
||||
void setPackageId(uint64_t id);
|
||||
uint32_t getValidDataEndPage() const;
|
||||
void setValidDataEndPage(uint32_t page);
|
||||
const crypto::aes::sAesIvCtr& getAesCbcIv() const;
|
||||
void setAesCbcIv(const crypto::aes::sAesIvCtr& iv);
|
||||
uint64_t getPartitionFsAddress() const;
|
||||
void setPartitionFsAddress(uint64_t address);
|
||||
uint64_t getPartitionFsSize() const;
|
||||
void setPartitionFsSize(uint64_t size);
|
||||
const crypto::sha::sSha256Hash& getPartitionFsHash() const;
|
||||
void setPartitionFsHash(const crypto::sha::sSha256Hash& hash);
|
||||
const crypto::sha::sSha256Hash& getInitialDataHash() const;
|
||||
void setInitialDataHash(const crypto::sha::sSha256Hash& hash);
|
||||
uint32_t getSelSec() const;
|
||||
void setSelSec(uint32_t sel_sec);
|
||||
uint32_t getSelT1Key() const;
|
||||
void setSelT1Key(uint32_t sel_t1_key);
|
||||
uint32_t getSelKey() const;
|
||||
void setSelKey(uint32_t sel_key);
|
||||
uint32_t getLimAreaPage() const;
|
||||
void setLimAreaPage(uint32_t page);
|
||||
|
||||
uint32_t getFwVerMajor() const;
|
||||
void setFwVerMajor(uint32_t ver);
|
||||
uint32_t getFwVerMinor() const;
|
||||
void setFwVerMinor(uint32_t ver);
|
||||
uint32_t getAccCtrl1() const;
|
||||
void setAccCtrl1(uint32_t acc_ctrl_1);
|
||||
uint32_t getWait1TimeRead() const;
|
||||
void setWait1TimeRead(uint32_t seconds);
|
||||
uint32_t getWait2TimeRead() const;
|
||||
void setWait2TimeRead(uint32_t seconds);
|
||||
uint32_t getWait1TimeWrite() const;
|
||||
void setWait1TimeWrite(uint32_t seconds);
|
||||
uint32_t getWait2TimeWrite() const;
|
||||
void setWait2TimeWrite(uint32_t seconds);
|
||||
uint32_t getFwMode() const;
|
||||
void setFwMode(uint32_t fw_mode);
|
||||
uint32_t getUppVersion() const;
|
||||
void setUppVersion(uint32_t version);
|
||||
const byte_t* getUppHash() const;
|
||||
void setUppHash(const byte_t* hash);
|
||||
uint64_t getUppId() const;
|
||||
void setUppId(uint64_t id);
|
||||
uint32_t getFwVerMajor() const;
|
||||
void setFwVerMajor(uint32_t ver);
|
||||
uint32_t getFwVerMinor() const;
|
||||
void setFwVerMinor(uint32_t ver);
|
||||
uint32_t getAccCtrl1() const;
|
||||
void setAccCtrl1(uint32_t acc_ctrl_1);
|
||||
uint32_t getWait1TimeRead() const;
|
||||
void setWait1TimeRead(uint32_t seconds);
|
||||
uint32_t getWait2TimeRead() const;
|
||||
void setWait2TimeRead(uint32_t seconds);
|
||||
uint32_t getWait1TimeWrite() const;
|
||||
void setWait1TimeWrite(uint32_t seconds);
|
||||
uint32_t getWait2TimeWrite() const;
|
||||
void setWait2TimeWrite(uint32_t seconds);
|
||||
uint32_t getFwMode() const;
|
||||
void setFwMode(uint32_t fw_mode);
|
||||
uint32_t getUppVersion() const;
|
||||
void setUppVersion(uint32_t version);
|
||||
const byte_t* getUppHash() const;
|
||||
void setUppHash(const byte_t* hash);
|
||||
uint64_t getUppId() const;
|
||||
void setUppId(uint64_t id);
|
||||
|
||||
private:
|
||||
const std::string kModuleName = "XCI_HEADER";
|
||||
|
|
Loading…
Reference in a new issue