CTR Pia
4.11.3
Game Communication Engine
|
A structure for encryption settings. More...
Public Types |
Public Member Functions | |
CryptoSetting () | |
Instantiates the object with default parameters (default constructor). More... | |
Public Attributes | |
u8 | m_Key [KEY_SIZE] |
The encryption key. More... | |
Mode | m_Mode |
The type of encryption algorithm. | |
Static Public Attributes | |
static const size_t | KEY_SIZE = 16 |
Specifies the key size. | |
nn::pia::common::CryptoSetting::CryptoSetting | ( | ) |
Instantiates the object with default parameters (default constructor).
The encryption algorithm is initialized to no encryption, and the encryption key is initialized to zero.
u8 nn::pia::common::CryptoSetting::m_Key[KEY_SIZE] |
The encryption key.
It does not need to be set if there is no encryption (MODE_NOTHING
).