summaryrefslogtreecommitdiffstats
path: root/src/methods/common.h
AgeCommit message (Collapse)Author
2013-12-01Change common packet header: flags comes first, nonce is big endianMatthias Schiffer
2013-11-30generic-poly1305: add helper functions to handle the common headerMatthias Schiffer
2013-11-15methods/common: decrease nonce length to 6, add flags byteMatthias Schiffer
2013-11-14Ensure sessions are invalidated before the nonce wrapsMatthias Schiffer
While it isn't realistic for the nonce to wrap in less than one hour, it's better to check for this.
2013-11-14Move test for initiator in the session refresh check from protocol to methodMatthias Schiffer
2013-10-29Allow using libsodium instead of NaClMatthias Schiffer
As libsodium has some strange include files (like a version.h), we try to use absolute include paths whenever possible in fastd now and rename our generated headers.
2013-10-28Unify duplicate code in xsalsa20-poly1305 and aes128-gcm methodsMatthias Schiffer