mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
fmt: run clang-format on hash_x11.h
This commit is contained in:
parent
bd8aa04d44
commit
dc1f566fce
@ -8,15 +8,15 @@
|
||||
|
||||
#include <crypto/x11/sph_blake.h>
|
||||
#include <crypto/x11/sph_bmw.h>
|
||||
#include <crypto/x11/sph_cubehash.h>
|
||||
#include <crypto/x11/sph_echo.h>
|
||||
#include <crypto/x11/sph_groestl.h>
|
||||
#include <crypto/x11/sph_jh.h>
|
||||
#include <crypto/x11/sph_keccak.h>
|
||||
#include <crypto/x11/sph_skein.h>
|
||||
#include <crypto/x11/sph_luffa.h>
|
||||
#include <crypto/x11/sph_cubehash.h>
|
||||
#include <crypto/x11/sph_shavite.h>
|
||||
#include <crypto/x11/sph_simd.h>
|
||||
#include <crypto/x11/sph_echo.h>
|
||||
#include <crypto/x11/sph_skein.h>
|
||||
|
||||
#include <uint256.h>
|
||||
|
||||
@ -42,7 +42,8 @@ inline uint256 HashX11(const T1 pbegin, const T1 pend)
|
||||
uint512 hash[11];
|
||||
|
||||
sph_blake512_init(&ctx_blake);
|
||||
sph_blake512 (&ctx_blake, (pbegin == pend ? pblank : static_cast<const void*>(&pbegin[0])), (pend - pbegin) * sizeof(pbegin[0]));
|
||||
sph_blake512(&ctx_blake, (pbegin == pend ? pblank : static_cast<const void*>(&pbegin[0])),
|
||||
(pend - pbegin) * sizeof(pbegin[0]));
|
||||
sph_blake512_close(&ctx_blake, static_cast<void*>(&hash[0]));
|
||||
|
||||
sph_bmw512_init(&ctx_bmw);
|
||||
|
Loading…
Reference in New Issue
Block a user