summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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-01Add fast SSE2 implementations "xmm" for Salsa20 and Salsa20/12Matthias Schiffer
Public Domain implementations by D. J. Bernstein, see http://cr.yp.to/snuffle.html
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-12-01Remove a few `aligned' attributes that don't make senseMatthias 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-30Move buffer-related functions to a new header and add some more utility ↵Matthias Schiffer
functions
2013-11-30Move logging defines to a new headerMatthias 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-30Make crypto implementation configurable (and update a few error messages)Matthias Schiffer
2013-11-30config: update and sort keyword listMatthias Schiffer
2013-11-30Clean up some parts of the configuration handling (and fix a few little 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-29Fix build without NaClMatthias Schiffer
2013-11-29Allow method init to failMatthias Schiffer
2013-11-29Output an error message when the encrypt function failsMatthias Schiffer
2013-11-29Use <cpuid.h>Matthias Schiffer
fastd will segfault in valgrind otherwise (O_o)
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-29HKDF: add a forgotten const qualifierMatthias Schiffer
2013-11-29Compile with -std=c99 and restructure some code to ensure there is no ↵Matthias Schiffer
invalid aliasing (hopefully)
2013-11-28ghash-pclmulqdq: fix one left usage of a __builtin pclmulqdq instead of the ↵Matthias Schiffer
_mm version
2013-11-28ghash-pclmulqdq: rework implementation to allow both GCC and Clang to ↵Matthias Schiffer
generate fast code
2013-11-28ghash-pclmulqdq: make byteswap a macroMatthias Schiffer
For some reason, this allows clang to optimize the code much better.
2013-11-28ghash-pclmulqdq: speed up multiplication using the Karatsuba algorithmMatthias Schiffer
2013-11-28Add a pclmulqdq ghash implementationMatthias Schiffer
2013-11-28Add CPUID functionMatthias Schiffer
2013-11-27Allow checking if a crypto algorithm is available at runtimeMatthias Schiffer
2013-11-27Add OpenSSL-based aes128-ctr implementationMatthias Schiffer
2013-11-27Correctly initialize OpenSSLMatthias Schiffer
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-21Add salsa20/12 cipherMatthias Schiffer
2013-11-21Add salsa20 cipherMatthias Schiffer
2013-11-20Replace max_packet_size functions by a max_overhead fieldMatthias Schiffer