Apply clang-format on crypto/* and compat/*

This commit is contained in:
Pieter Wuille
2014-09-25 08:23:32 +02:00
parent ea69592a2f
commit cf42c36e99
11 changed files with 577 additions and 446 deletions

View File

@@ -9,7 +9,8 @@
#include <stdlib.h>
/** A hasher class for RIPEMD-160. */
class CRIPEMD160 {
class CRIPEMD160
{
private:
uint32_t s[5];
unsigned char buf[64];
@@ -19,7 +20,7 @@ public:
static const size_t OUTPUT_SIZE = 20;
CRIPEMD160();
CRIPEMD160& Write(const unsigned char *data, size_t len);
CRIPEMD160& Write(const unsigned char* data, size_t len);
void Finalize(unsigned char hash[OUTPUT_SIZE]);
CRIPEMD160& Reset();
};