11 unsigned char rkey[64];
14 memset(rkey + keylen, 0, 64 - keylen);
17 memset(rkey + 32, 0, 32);
20 for (
int n = 0; n < 64; n++)
24 for (
int n = 0; n < 64; n++)
25 rkey[n] ^= 0x5c ^ 0x36;
31 unsigned char temp[32];
CSHA256 & Write(const unsigned char *data, size_t len)
CHMAC_SHA256(const unsigned char *key, size_t keylen)
void Finalize(unsigned char hash[OUTPUT_SIZE])
void Finalize(unsigned char hash[OUTPUT_SIZE])
void * memcpy(void *a, const void *b, size_t c)
static const size_t OUTPUT_SIZE
A hasher class for SHA-256.