aboutsummaryrefslogtreecommitdiff
path: root/src/megolm.c
AgeCommit message (Collapse)Author
2016-05-24Fix handling of integer wraparound in megolm.cRichard van der Hoff
2016-05-24megolm_advance_to: Remove excessive optimisationRichard van der Hoff
There was some slightly overcomplex logic designed to save a couple of hash operations when R(0) and R(1) were advanced, but the extra code was hard to understand and didn't save much.
2016-05-24megolm.c: rewrite counter updateRichard van der Hoff
We no longer need to keep track of intermediate values of the counter, which means we can update it much more easily.
2016-05-24megolm.c: Remove spurious arguments to rehash_partRichard van der Hoff
These were left over from when rehash_part did a bunch of logging.
2016-05-24Update megolm_cipher as a global structRichard van der Hoff
Initialise megolm_cipher via the preprocessor macro, instead of with a function.
2016-05-24Implement pickling/unpickling for outbound group sessionsRichard van der Hoff
2016-05-24Implementation of an outbound group sessionRichard van der Hoff
2016-05-24Implementation of the megolm ratchetRichard van der Hoff