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 SHA1. */
class CSHA1 {
class CSHA1
{
private:
uint32_t s[5];
unsigned char buf[64];
@@ -19,7 +20,7 @@ public:
static const size_t OUTPUT_SIZE = 20;
CSHA1();
CSHA1& Write(const unsigned char *data, size_t len);
CSHA1& Write(const unsigned char* data, size_t len);
void Finalize(unsigned char hash[OUTPUT_SIZE]);
CSHA1& Reset();
};