11 unsigned char rkey[128];
13 memcpy(rkey, key, keylen);
14 memset(rkey + keylen, 0, 128 - keylen);
17 memset(rkey + 64, 0, 64);
20 for (
int n = 0; n < 128; n++)
24 for (
int n = 0; n < 128; n++)
25 rkey[n] ^= 0x5c ^ 0x36;
31 unsigned char temp[64];
CHMAC_SHA512(const unsigned char *key, size_t keylen)
void Finalize(unsigned char hash[OUTPUT_SIZE])
A hasher class for SHA-512.
void Finalize(unsigned char hash[OUTPUT_SIZE])
CSHA512 & Write(const unsigned char *data, size_t len)