aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
Commit message (Collapse)AuthorAgeFilesLines
* Update to use thread_localChey2021-06-271-1/+1
|
* fix runtime for dogecoin on Alpine Linux musl libcchey2021-06-021-1/+2
|
* Replace HMAC_SHA256 with Bitcoin's version (#1438)Ross Nicoll2018-09-192-90/+25
|
* Litecoin: Scrypt n=1024 Pow hash based upon Colin Percival's Tarnsnap (2009) ↵Warren Togami2018-09-193-0/+510
| | | | Modified by Artforz, coblee, pooler, wtogami, Nikolay Belikov, Adrian Gallagher
* Avoid unaligned access in crypto i/oPieter Wuille2017-01-121-10/+26
|
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-315-5/+5
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Update ctaesPieter Wuille2016-12-081-4/+4
|
* Fix some typosfsb40002016-11-281-1/+1
|
* crypto: add AES 128/256 CBC classesCory Fields2016-05-132-0/+196
| | | | | | 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).
* Add ctaes-based constant time AES implementationPieter Wuille2016-05-132-0/+139
|
* Merge commit 'a545127fbccef4ee674d18d43732ce00ba97f782' as 'src/crypto/ctaes'Pieter Wuille2016-05-116-0/+939
|
* crypto: bytes counts are 64 bitWladimir J. van der Laan2016-04-154-4/+4
| | | | | | 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.
* build: Endian compatibilityWladimir J. van der Laan2015-03-061-65/+11
| | | | | | | | - 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
* Use libsecp256k1's RFC6979 implementationPieter Wuille2015-01-062-83/+0
|
* Added "Core" to copyright headerssandakersmann2014-12-1915-15/+15
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Header define style cleanupsPieter Wuille2014-11-204-12/+12
|
* Add the RFC6979 PRNGPieter Wuille2014-11-202-0/+83
|
* Add HMAC-SHA256Pieter Wuille2014-11-202-0/+66
|
* Split up crypto/sha2Pieter Wuille2014-11-207-271/+314
|
* Fix all header definesPavel Janík2014-11-033-9/+9
|
* update license of compat and cryptoPhilip Kaufmann2014-09-297-11/+13
| | | | | | - change license to be just MIT for all files in compat and crypto - also add missing header end comments - ensure default header include style
* Apply clang-format on crypto/* and compat/*Pieter Wuille2014-09-257-425/+561
|
* header include cleanupPhilip Kaufmann2014-09-143-0/+3
| | | | - ensures alphabetical ordering for includes etc. in source file headers
* Add <Hasher>::OUTPUT_SIZEPieter Wuille2014-06-216-10/+20
|
* crypto: explicitly check for byte read/write functionsCory Fields2014-06-211-16/+63
| | | | Don't depend on hard-coded platform lists
* Move {Read,Write}{LE,BE}{32,64} to common.h and use builtins if possiblePieter Wuille2014-06-214-61/+51
|
* Add built-in RIPEMD-160 implementationPieter Wuille2014-06-212-0/+242
|
* Move crypto implementations to src/crypto/Pieter Wuille2014-06-214-0/+712