BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
CHMAC_SHA3512 Class Reference

A hasher class for HMAC-SHA-3-512. More...

#include <hmac_sha3512.h>

Collaboration diagram for CHMAC_SHA3512:
[legend]

Public Member Functions

 CHMAC_SHA3512 (const unsigned char *key, size_t keylen)
 
CHMAC_SHA3512Write (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

CSHA3512 outer
 
CSHA3512 inner
 

Detailed Description

A hasher class for HMAC-SHA-3-512.

Definition at line 14 of file hmac_sha3512.h.

Constructor & Destructor Documentation

◆ CHMAC_SHA3512()

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

Definition at line 9 of file hmac_sha3512.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ Finalize()

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

Definition at line 29 of file hmac_sha3512.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Write()

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

Definition at line 24 of file hmac_sha3512.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ inner

CSHA3512 CHMAC_SHA3512::inner
private

Definition at line 18 of file hmac_sha3512.h.

◆ outer

CSHA3512 CHMAC_SHA3512::outer
private

Definition at line 17 of file hmac_sha3512.h.

◆ OUTPUT_SIZE

const size_t CHMAC_SHA3512::OUTPUT_SIZE = 64
static

Definition at line 21 of file hmac_sha3512.h.


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