summaryrefslogtreecommitdiffstats
path: root/src/methods
AgeCommit message (Collapse)Author
2014-05-25Make a few struct fields that are not supposed to be changed defines insteadMatthias Schiffer
2014-04-20Make ctx globalMatthias Schiffer
2014-04-20Make conf globalMatthias Schiffer
2014-04-10Use #pragma onceMatthias Schiffer
2014-03-14Adjust copyright yearsMatthias Schiffer
2014-03-10Remove aligned data_t type againMatthias Schiffer
2014-01-27Add an aligned uint8_t type data_t and use it to ensure the alignment of ↵Matthias Schiffer
various buffers on the stack
2014-01-26Switch to the new timeout helpers where possibleMatthias Schiffer
2014-01-26Get rid of long_ago variable, use timeout helpersMatthias Schiffer
2013-12-05Add support for <cipher>+<cipher>+gmac methodsMatthias Schiffer
2013-12-05Merge generic-gcm method into generic-gmacMatthias Schiffer
2013-12-04Change xor and xor_a back to work on pointersMatthias Schiffer
For some reason, this makes GCC generate much better code on MIPS with -Os
2013-12-01xsalsa20-poly1305: swap nonce byte order to make it backwards compatibleMatthias Schiffer
2013-12-01Change common packet header: flags comes first, nonce is big endianMatthias Schiffer
2013-11-30xsalsa20-poly1305: partly convert to the new method helpersMatthias Schiffer
2013-11-30generic-gcm: drop compat supportMatthias Schiffer
2013-11-30composed-gmac: convert to the new common method helpersMatthias Schiffer
2013-11-30generic-gmac: convert to the new common method helpersMatthias Schiffer
2013-11-30generic-gcm: convert to the new common method helpersMatthias Schiffer
2013-11-30cipher-test: use the new common header helpersMatthias Schiffer
2013-11-30generic-poly1305: add helper functions to handle the common headerMatthias Schiffer
2013-11-30generic-poly1305: use the new buffer helpersMatthias Schiffer
2013-11-30generic-poly1305: cleanupMatthias Schiffer
2013-11-30Make the crypto implementations independent of fastd.h (and fix more minor bugs)Matthias Schiffer
2013-11-30Rename methods to methods providers and method contexts to methods to ↵Matthias Schiffer
reflect their function better
2013-11-30Perform string-based lookup of method-related information only onceMatthias Schiffer
2013-11-30Remove cipher and MAC contextsMatthias Schiffer
Not a single implementation was using them...
2013-11-29Revert "crypto: separate cipher/MAC availability check from information request"Matthias Schiffer
This reverts commit d0707b161d10cf79242d40b24853988c89c7604a.
2013-11-29crypto: separate cipher/MAC availability check from information requestMatthias Schiffer
2013-11-29Allow method init to failMatthias Schiffer
2013-11-29generic-gmac: use HKDF expansion instead of the stream cipher to generate HMatthias Schiffer
2013-11-29Reorder check: avoid undefined behaviour due to negative or to long shiftsMatthias Schiffer
2013-11-29Compile with -std=c99 and restructure some code to ensure there is no ↵Matthias Schiffer
invalid aliasing (hopefully)
2013-11-25Move crypto algorithm information out of implementationMatthias Schiffer
2013-11-25Move cipher and mac structures to a new headerMatthias Schiffer
2013-11-25Add a new generic-gmac methodMatthias Schiffer
2013-11-25Rename generic-gmac method to composed-gmacMatthias Schiffer
2013-11-20Replace max_packet_size functions by a max_overhead fieldMatthias Schiffer
2013-11-20Slightly simplify method/cipher/MAC definitionsMatthias Schiffer
2013-11-20Add generic-poly1305 methodMatthias Schiffer
2013-11-18generic-gmac: some code simplificationsMatthias Schiffer
2013-11-18Add cipher-test method to measure the raw performance of a cipherMatthias Schiffer
2013-11-18generic-gmac: don't access invalid pointer for the reorder check with null ↵Matthias Schiffer
cipher
2013-11-18Some work towards a composable GMAC methodMatthias Schiffer
2013-11-18generic-gcm: the method state itself doesn't hold any keys anymore, so we ↵Matthias Schiffer
don't need to secure_memzero it
2013-11-18generic-gcm: cipher_get returns a booleanMatthias Schiffer
2013-11-16generic-gcm: fix a GCC uninitialized-use warningMatthias 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