Bitcoin
Namespaces | Functions | Variables
sha1.cpp File Reference
#include <crypto/sha1.h>
#include <crypto/common.h>
#include <string.h>

Namespaces

 anonymous_namespace{sha1.cpp}
 
 anonymous_namespace{sha1.cpp}::sha1
 Internal SHA-1 implementation.
 

Functions

void anonymous_namespace{sha1.cpp}::sha1::Round (uint32_t a, uint32_t &b, uint32_t c, uint32_t d, uint32_t &e, uint32_t f, uint32_t k, uint32_t w)
 
uint32_t anonymous_namespace{sha1.cpp}::sha1::f1 (uint32_t b, uint32_t c, uint32_t d)
 
uint32_t anonymous_namespace{sha1.cpp}::sha1::f2 (uint32_t b, uint32_t c, uint32_t d)
 
uint32_t anonymous_namespace{sha1.cpp}::sha1::f3 (uint32_t b, uint32_t c, uint32_t d)
 
uint32_t anonymous_namespace{sha1.cpp}::sha1::left (uint32_t x)
 
void anonymous_namespace{sha1.cpp}::sha1::Initialize (uint32_t *s)
 
void anonymous_namespace{sha1.cpp}::sha1::Transform (uint32_t *s, const unsigned char *chunk)
 

Variables

const uint32_t anonymous_namespace{sha1.cpp}::sha1::k1 = 0x5A827999ul
 
const uint32_t anonymous_namespace{sha1.cpp}::sha1::k2 = 0x6ED9EBA1ul
 
const uint32_t anonymous_namespace{sha1.cpp}::sha1::k3 = 0x8F1BBCDCul
 
const uint32_t anonymous_namespace{sha1.cpp}::sha1::k4 = 0xCA62C1D6ul