aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
AgeCommit message (Collapse)Author
2016-05-13crypto: add AES 128/256 CBC classesCory Fields
The output should always match openssl's, even for failed operations. Even for a decrypt with broken padding, the output is always deterministic (and attemtps to be constant-time).
2016-05-13Add ctaes-based constant time AES implementationPieter Wuille
2016-05-11Merge commit 'a545127fbccef4ee674d18d43732ce00ba97f782' as 'src/crypto/ctaes'Pieter Wuille
2016-04-15crypto: bytes counts are 64 bitWladimir J. van der Laan
Byte counts for SHA256, SHA512, SHA1 and RIPEMD160 must be 64 bits. `size_t` has a different size per platform, causing divergent results when hashing more than 4GB of data.
2015-03-06build: Endian compatibilityWladimir J. van der Laan
- Detect endian instead of stopping configure on big-endian - Add `byteswap.h` and `endian.h` header for compatibility with Windows and other operating systems that don't come with them - Update `crypto/common.h` functions to use compat endian header
2015-01-06Use libsecp256k1's RFC6979 implementationPieter Wuille
2014-12-19Added "Core" to copyright headerssandakersmann
Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-11-20Header define style cleanupsPieter Wuille
2014-11-20Add the RFC6979 PRNGPieter Wuille
2014-11-20Add HMAC-SHA256Pieter Wuille
2014-11-20Split up crypto/sha2Pieter Wuille
2014-11-03Fix all header definesPavel Janík
2014-09-29update license of compat and cryptoPhilip Kaufmann
- change license to be just MIT for all files in compat and crypto - also add missing header end comments - ensure default header include style
2014-09-25Apply clang-format on crypto/* and compat/*Pieter Wuille
2014-09-14header include cleanupPhilip Kaufmann
- ensures alphabetical ordering for includes etc. in source file headers
2014-06-21Add <Hasher>::OUTPUT_SIZEPieter Wuille
2014-06-21crypto: explicitly check for byte read/write functionsCory Fields
Don't depend on hard-coded platform lists
2014-06-21Move {Read,Write}{LE,BE}{32,64} to common.h and use builtins if possiblePieter Wuille
2014-06-21Add built-in RIPEMD-160 implementationPieter Wuille
2014-06-21Move crypto implementations to src/crypto/Pieter Wuille