Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | Private Attributes | List of all members
dev::p2p::RLPXFrameCoderImpl Class Reference

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
 One-way coder used by updateMAC for ingress and egress MAC updates. More...
 
CryptoPP::Keccak_256 ingressMac
 State of MAC for ingress ciphertext. More...
 

Private Attributes

Mutex x_macEnc
 Mutex. More...
 

Detailed Description

Definition at line 53 of file RLPXFrameCoder.cpp.

Member Function Documentation

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

Update state of _mac.

Definition at line 269 of file RLPXFrameCoder.cpp.

Here is the call graph for this function:

Member Data Documentation

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

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

State of MAC for egress ciphertext.

Definition at line 68 of file RLPXFrameCoder.cpp.

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

Decoder for egress plaintext.

Definition at line 63 of file RLPXFrameCoder.cpp.

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

Key for m_frameDec.

Definition at line 62 of file RLPXFrameCoder.cpp.

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

Encoder for egress plaintext.

Definition at line 60 of file RLPXFrameCoder.cpp.

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

Key for m_frameEnc.

Definition at line 59 of file RLPXFrameCoder.cpp.

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

State of MAC for ingress ciphertext.

Definition at line 69 of file RLPXFrameCoder.cpp.

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

Key for m_macEnd.

Definition at line 66 of file RLPXFrameCoder.cpp.

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

Definition at line 65 of file RLPXFrameCoder.cpp.

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

Mutex.

Definition at line 72 of file RLPXFrameCoder.cpp.


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