20 #ifndef lime_settings_hpp 21 #define lime_settings_hpp 46 static_assert(DRSessionSharedADSize<64,
"Shared AD is generated through HKDF-Sha512 with only one round implemented so its size can't be more than Sha512 max output size");
constexpr uint16_t OPk_initialBatchSize
default batch size when creating a new user
Definition: lime_settings.hpp:81
constexpr size_t DRSessionSharedADSize
Definition: lime_settings.hpp:44
constexpr std::uint16_t maxSendingChain
Maximum length of Sending chain.
Definition: lime_settings.hpp:62
constexpr unsigned int SPK_limboTime_days
in days, How long shall we keep a signed pre-key once it has been replaced by a new one ...
Definition: lime_settings.hpp:75
constexpr unsigned int DRSession_limboTime_days
Definition: lime_settings.hpp:65
constexpr unsigned int SPK_lifeTime_days
in days, Life time of a signed pre-key, it will be set to stale after that period ...
Definition: lime_settings.hpp:73
constexpr uint16_t OPk_batchSize
default batch size when uploading OPks to X3DH server
Definition: lime_settings.hpp:79
constexpr std::uint16_t maxMessageSkip
Definition: lime_settings.hpp:49
constexpr unsigned int OPk_limboTime_days
in days, How long shall we keep an OPk in localStorage once we've noticed X3DH server dispatched it ...
Definition: lime_settings.hpp:85
constexpr std::uint16_t maxMessagesReceivedAfterSkip
Definition: lime_settings.hpp:54
constexpr uint16_t OPk_serverLowLimit
default limit for keys on server to trigger generation/upload of a new batch of OPks ...
Definition: lime_settings.hpp:83