summaryrefslogtreecommitdiffstats
path: root/src/methods
AgeCommit message (Collapse)Author
2014-08-31Replace memcmp with a constant-time version in some placesMatthias Schiffer
2014-08-28Add generic-umac and composed-umac methods based on UMACMatthias Schiffer
2014-08-28Revert "Experimental HMAC-SHA1 implementation"Matthias Schiffer
We don't really want to support it, and it's slower than GHASH... This reverts commit 9bf498263765328011ee105e5e7b3e1cc1b2bc3f.
2014-08-25Experimental HMAC-SHA1 implementationMatthias Schiffer
This adds experimental support for <cipher>+hmac-sha1 methods. It currently depends on OpenSSL and is not yet ready for production use.
2014-08-25MAC: rename hash() to digest() and change length unit from blocks to bytesMatthias Schiffer
2014-08-24Coding style: always add a space between a pointer's type and the *Matthias Schiffer
2014-08-24Use simple int64_t timestamps in ms instead of timespecsMatthias Schiffer
2014-08-02Introduce and use alloc helpersMatthias Schiffer
These new helpers will terminate fastd on allocation failures and add some additional convenience (allow strdup with NULL; typesafe new(type) macros).
2014-06-12Fix an undefined shiftMatthias Schiffer
2014-05-29Document *everything*Matthias Schiffer
2014-05-28Still more documentationMatthias Schiffer
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