Bitcoin
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
CHMAC_SHA512 Class Reference

#include <hmac_sha512.h>

Public Member Functions

 CHMAC_SHA512 (const unsigned char *key, size_t keylen)
 
CHMAC_SHA512Write (const unsigned char *data, size_t len)
 
void Finalize (unsigned char hash[OUTPUT_SIZE])
 

Static Public Attributes

static const size_t OUTPUT_SIZE = 64
 

Private Attributes

CSHA512 outer
 
CSHA512 inner
 

Detailed Description

A hasher class for HMAC-SHA-512.

Constructor & Destructor Documentation

◆ CHMAC_SHA512()

CHMAC_SHA512::CHMAC_SHA512 ( const unsigned char *  key,
size_t  keylen 
)

Member Function Documentation

◆ Finalize()

void CHMAC_SHA512::Finalize ( unsigned char  hash[OUTPUT_SIZE])

◆ Write()

CHMAC_SHA512& CHMAC_SHA512::Write ( const unsigned char *  data,
size_t  len 
)
inline

Member Data Documentation

◆ inner

CSHA512 CHMAC_SHA512::inner
private

◆ outer

CSHA512 CHMAC_SHA512::outer
private

◆ OUTPUT_SIZE

const size_t CHMAC_SHA512::OUTPUT_SIZE = 64
static

The documentation for this class was generated from the following files: