CTR Pia  4.11.3
Game Communication Engine
nn::pia::common::CryptoSetting Struct Reference

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.
 

Detailed Description

A structure for encryption settings.


Revision History:
2013-12-04 Initial version.

Member Enumeration Documentation

Indicates the type of encryption algorithm.

Enumerator
MODE_NOTHING 

None.

MODE_AES_128 

AES-128.

Constructor & Destructor Documentation

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.

Member Data Documentation

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).