summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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
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-18blowfish-ctr: formatting fixesMatthias Schiffer
2013-11-18Remove OpenSSL-based blowfish implementationMatthias Schiffer
It doesn't have any advantages over the builtin one.
2013-11-18secure_memzero all cipher and MAC statesMatthias Schiffer
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-17Add null cipherMatthias Schiffer
2013-11-17Revert bytewise ghash implementationMatthias Schiffer
The performance gain is negligible, and OpenSSL avoids a bytewise implementation to mitigate timing attacks. This reverts commits d4916544299c28c4fb16da6d3306eea0a6d5d79f and 1b06460aa967e3afcfa6fc8d664874134ab6c739.