Electroneum
Public Member Functions | Public Attributes | Private Member Functions | List of all members
cryptonote::account_keys Struct Reference

#include <account.h>

Collaboration diagram for cryptonote::account_keys:
Collaboration graph
[legend]

Public Member Functions

account_keysoperator= (account_keys const &)=default
 
void encrypt (const crypto::chacha_key &key)
 
void decrypt (const crypto::chacha_key &key)
 
void encrypt_viewkey (const crypto::chacha_key &key)
 
void decrypt_viewkey (const crypto::chacha_key &key)
 
hw::deviceget_device () const
 
void set_device (hw::device &hwdev)
 

Public Attributes

account_public_address m_account_address
 
crypto::secret_key m_spend_secret_key
 
crypto::secret_key m_view_secret_key
 
std::vector< crypto::secret_keym_multisig_keys
 
hw::devicem_device = &hw::get_device("default")
 
crypto::chacha_iv m_encryption_iv
 
const crypto::chacha_iv default_iv {{0, 0, 0, 0, 0, 0, 0, 0}}
 

Private Member Functions

void xor_with_key_stream (const crypto::chacha_key &key)
 

Member Function Documentation

◆ decrypt()

void cryptonote::account_keys::decrypt ( const crypto::chacha_key &  key)

◆ decrypt_viewkey()

void cryptonote::account_keys::decrypt_viewkey ( const crypto::chacha_key &  key)

◆ encrypt()

void cryptonote::account_keys::encrypt ( const crypto::chacha_key &  key)

◆ encrypt_viewkey()

void cryptonote::account_keys::encrypt_viewkey ( const crypto::chacha_key &  key)

◆ get_device()

hw::device & cryptonote::account_keys::get_device ( ) const

◆ operator=()

account_keys& cryptonote::account_keys::operator= ( account_keys const &  )
default

◆ set_device()

void cryptonote::account_keys::set_device ( hw::device hwdev)

◆ xor_with_key_stream()

void cryptonote::account_keys::xor_with_key_stream ( const crypto::chacha_key &  key)
private

Member Data Documentation

◆ default_iv

const crypto::chacha_iv cryptonote::account_keys::default_iv {{0, 0, 0, 0, 0, 0, 0, 0}}

◆ m_account_address

account_public_address cryptonote::account_keys::m_account_address

◆ m_device

hw::device* cryptonote::account_keys::m_device = &hw::get_device("default")

◆ m_encryption_iv

crypto::chacha_iv cryptonote::account_keys::m_encryption_iv

◆ m_multisig_keys

std::vector<crypto::secret_key> cryptonote::account_keys::m_multisig_keys

◆ m_spend_secret_key

crypto::secret_key cryptonote::account_keys::m_spend_secret_key

◆ m_view_secret_key

crypto::secret_key cryptonote::account_keys::m_view_secret_key

The documentation for this struct was generated from the following files: