20 #ifndef lime_settings_hpp 21 #define lime_settings_hpp 47 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:82
constexpr size_t DRSessionSharedADSize
Definition: lime_settings.hpp:45
constexpr uint16_t maxSendingChain
Maximum length of Sending chain.
Definition: lime_settings.hpp:63
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:76
constexpr unsigned int DRSession_limboTime_days
Definition: lime_settings.hpp:66
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:74
constexpr uint16_t maxMessageSkip
Definition: lime_settings.hpp:50
constexpr uint16_t maxMessagesReceivedAfterSkip
Definition: lime_settings.hpp:55
constexpr uint16_t OPk_batchSize
default batch size when uploading OPks to X3DH server
Definition: lime_settings.hpp:80
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:86
constexpr unsigned int OPk_updatePeriod
in seconds, how often should we perform an update (check if we should publish new OPk...
Definition: lime_settings.hpp:88
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:84