TARAXA
dev::p2p::RLPXFrameCoderImpl Class Reference
Collaboration diagram for dev::p2p::RLPXFrameCoderImpl:

Public Member Functions

void updateMAC (CryptoPP::Keccak_256 &_mac, bytesConstRef _seed={})
 Update state of _mac. More...
 

Public Attributes

CryptoPP::SecByteBlock frameEncKey
 Key for m_frameEnc. More...
 
CryptoPP::CTR_Mode< CryptoPP::AES >::Encryption frameEnc
 Encoder for egress plaintext. More...
 
CryptoPP::SecByteBlock frameDecKey
 Key for m_frameDec. More...
 
CryptoPP::CTR_Mode< CryptoPP::AES >::Encryption frameDec
 Decoder for egress plaintext. More...
 
CryptoPP::SecByteBlock macEncKey
 
CryptoPP::ECB_Mode< CryptoPP::AES >::Encryption macEnc
 Key for m_macEnd. More...
 
CryptoPP::Keccak_256 egressMac
 State of MAC for egress ciphertext. More...
 
CryptoPP::Keccak_256 ingressMac
 State of MAC for ingress ciphertext. More...
 

Private Attributes

Mutex x_macEnc
 Mutex. More...
 

Member Function Documentation

◆ updateMAC()

void RLPXFrameCoderImpl::updateMAC ( CryptoPP::Keccak_256 &  _mac,
bytesConstRef  _seed = {} 
)

Update state of _mac.

Member Data Documentation

◆ egressMac

CryptoPP::Keccak_256 dev::p2p::RLPXFrameCoderImpl::egressMac

State of MAC for egress ciphertext.

One-way coder used by updateMAC for ingress and egress MAC updates.

◆ frameDec

CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption dev::p2p::RLPXFrameCoderImpl::frameDec

Decoder for egress plaintext.

◆ frameDecKey

CryptoPP::SecByteBlock dev::p2p::RLPXFrameCoderImpl::frameDecKey

Key for m_frameDec.

◆ frameEnc

CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption dev::p2p::RLPXFrameCoderImpl::frameEnc

Encoder for egress plaintext.

◆ frameEncKey

CryptoPP::SecByteBlock dev::p2p::RLPXFrameCoderImpl::frameEncKey

Key for m_frameEnc.

◆ ingressMac

CryptoPP::Keccak_256 dev::p2p::RLPXFrameCoderImpl::ingressMac

State of MAC for ingress ciphertext.

◆ macEnc

CryptoPP::ECB_Mode<CryptoPP::AES>::Encryption dev::p2p::RLPXFrameCoderImpl::macEnc

Key for m_macEnd.

◆ macEncKey

CryptoPP::SecByteBlock dev::p2p::RLPXFrameCoderImpl::macEncKey

◆ x_macEnc

Mutex dev::p2p::RLPXFrameCoderImpl::x_macEnc
private

Mutex.


The documentation for this class was generated from the following file: