mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-27 23:57:38 -04:00
finished implementing decryption routines. Still needs fixing compilation
This commit is contained in:
parent
6626538cab
commit
1c12178874
5 changed files with 260 additions and 86 deletions
|
@ -239,7 +239,8 @@ public:
|
|||
|
||||
/// Session key encrypted for the whole group
|
||||
///
|
||||
RsTlvBinaryData encrypted_key_data ;
|
||||
RsTlvBinaryData initialisation_vector ;
|
||||
std::map<RsGxsId, RsTlvBinaryData> encrypted_session_keys;
|
||||
};
|
||||
/*!
|
||||
* Use to send to peer list of grps
|
||||
|
|
|
@ -53,6 +53,7 @@ virtual bool SetTlv(void *data, uint32_t size, uint32_t *offset) const;
|
|||
virtual bool GetTlv(void *data, uint32_t size, uint32_t *offset);
|
||||
virtual std::ostream &print(std::ostream &out, uint16_t indent) const; /*! Error/Debug util function */
|
||||
|
||||
// mallocs the necessary size, and copies data into the allocated buffer in bin_data
|
||||
bool setBinData(const void *data, uint32_t size);
|
||||
|
||||
uint16_t tlvtype; /// set/checked against TLV input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue