aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h
Commit message (Collapse)AuthorAgeFilesLines
* Avoid VLA in hash.hPieter Wuille2017-02-281-4/+4
| | | | | Github-Pull: #9791 Rebased-From: 5c8fd508112016c3821b71112270afe83e6949ac
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Get rid of nType and nVersionPieter Wuille2016-11-071-1/+4
| | | | | | | | | | | Remove the nType and nVersion as parameters to all serialization methods and functions. There is only one place where it's read and has an impact (in CAddress), and even there it does not impact any of the recursively invoked serializers. Instead, the few places that need nType or nVersion are changed to read it directly from the stream object, through GetType() and GetVersion() methods which are added to all stream classes.
* Make nType and nVersion private and sometimes constPieter Wuille2016-11-071-2/+2
| | | | | Make the various stream implementations' nType and nVersion private and const (except in CDataStream where we really need a setter).
* Make streams' read and write return voidPieter Wuille2016-11-071-2/+1
| | | | | | | | The stream implementations had two cascading layers (the upper one with operator<< and operator>>, and a lower one with read and write). The lower layer's functions are never cascaded (nor should they, as they should only be used from the higher layer), so make them return void instead.
* Support SipHash with arbitrary byte writesPieter Wuille2016-06-071-1/+20
|
* Add SipHash-2-4 primitives to hashPieter Wuille2016-05-171-0/+15
|
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Prevector typePieter Wuille2015-11-131-0/+8
|
* chaincodes: abstract away more chaincode behaviorCory Fields2015-05-061-1/+3
| | | | [squashme] replace struct CCainCode with a typedef uint256 ChainCode
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Split up crypto/sha2Pieter Wuille2014-11-201-1/+1
|
* minor code style cleanup after recent mergesPhilip Kaufmann2014-11-041-1/+2
| | | | | - add a missing license header - correct some header orderings etc.
* boost: moveonly: move BIP32Hash to hash.hCory Fields2014-10-311-0/+1
|
* header include cleanupPhilip Kaufmann2014-09-141-1/+1
| | | | - ensures alphabetical ordering for includes etc. in source file headers
* add missing header end commentsPhilip Kaufmann2014-08-281-1/+1
| | | | | | - ensures a consistent usage in header files - also add a blank line after the copyright header where missing - also remove orphan new-lines at the end of some files
* Add <Hasher>::OUTPUT_SIZEPieter Wuille2014-06-211-6/+10
|
* Add built-in RIPEMD-160 implementationPieter Wuille2014-06-211-3/+2
|
* Move crypto implementations to src/crypto/Pieter Wuille2014-06-211-1/+1
|
* Switch script.cpp and hash.cpp to use sha2.cpp instead of OpenSSL.Pieter Wuille2014-06-211-72/+102
|
* Add a built-in SHA256/SHA512 implementation.Pieter Wuille2014-06-211-10/+0
| | | | This also moves the HMAC-SHA512 implementation to sha2.cpp.
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-3/+6
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* Bump Year Number to 2013super32013-10-201-1/+1
|
* Add HMAC-SHA512 to hashPieter Wuille2013-06-241-0/+10
|
* Make CPubKey statically allocatedPieter Wuille2013-05-301-2/+9
|
* Add MurmurHash3 implementation to hash.h/add hash.cpp.Matt Corallo2013-01-161-0/+3
|
* Split off hash.h from util.hPieter Wuille2012-12-181-0/+116