|
| template<typename Curve > |
| void | lime::double_ratchet_protocol::buildMessage_X3DHinit (std::vector< uint8_t > &message, const DSA< Curve, lime::DSAtype::publicKey > &Ik, const X< Curve, lime::Xtype::publicKey > &Ek, const uint32_t SPk_id, const uint32_t OPk_id, const bool OPk_flag) noexcept |
| | build an X3DH init message to insert in DR header EC only version More...
|
| |
| template<typename Curve > |
| void | lime::double_ratchet_protocol::buildMessage_X3DHinit (std::vector< uint8_t > &message, const DSA< typename Curve::EC, lime::DSAtype::publicKey > &Ik, const X< typename Curve::EC, lime::Xtype::publicKey > &Ek, const K< typename Curve::KEM, lime::Ktype::cipherText > &Ct, const uint32_t SPk_id, const uint32_t OPk_id, const bool OPk_flag) noexcept |
| | build an X3DH init message to insert in DR header EC and KEM version More...
|
| |
| template<typename Curve > |
| void | lime::double_ratchet_protocol::parseMessage_X3DHinit (const std::vector< uint8_t >message, DSA< Curve, lime::DSAtype::publicKey > &Ik, X< Curve, lime::Xtype::publicKey > &Ek, uint32_t &SPk_id, uint32_t &OPk_id, bool &OPk_flag) noexcept |
| | Parse the X3DH init message and extract peer Ik, peer Ek, self SPk id and seld OPk id if present This is for EC only version. More...
|
| |
| template<typename Curve > |
| void | lime::double_ratchet_protocol::parseMessage_X3DHinit (const std::vector< uint8_t >message, DSA< typename Curve::EC, lime::DSAtype::publicKey > &Ik, X< typename Curve::EC, lime::Xtype::publicKey > &Ek, K< typename Curve::KEM, lime::Ktype::cipherText > &Ct, uint32_t &SPk_id, uint32_t &OPk_id, bool &OPk_flag) noexcept |
| | Parse the X3DH init message and extract peer Ik, peer Ek, self SPk id and seld OPk id if present This is for EC and KEM version. More...
|
| |
| template<typename Curve > |
| bool | lime::double_ratchet_protocol::parseMessage_get_X3DHinit (const std::vector< uint8_t > &message, std::vector< uint8_t > &X3DH_initMessage) noexcept |
| | check the message for presence of X3DH init in the header, extract it if there is one More...
|
| |