#include <HmacHash.h>
template<HashCreateFn HashCreator, uint32 DigestLength>
27 HMAC_Init_ex(&
_ctx, seed, len, HashCreator(),
NULL);
28 memset(
_digest, 0, DigestLength);
uint8 _digest[DigestLength]
Definition: HmacHash.h:47
arena_t NULL
Definition: jemalloc_internal.h:624
HMAC_CTX _ctx
Definition: HmacHash.h:46
template<HashCreateFn HashCreator, uint32 DigestLength>
34 HMAC_CTX_cleanup(&
_ctx);
HMAC_CTX _ctx
Definition: HmacHash.h:46
template<HashCreateFn HashCreator, uint32 DigestLength>
uint8 _digest[DigestLength]
Definition: HmacHash.h:47
HMAC_CTX _ctx
Definition: HmacHash.h:46
int32 GetNumBytes(void)
Definition: BigNumber.cpp:157
std::unique_ptr< uint8[]> AsByteArray(int32 minSize=0, bool littleEndian=true)
Definition: BigNumber.cpp:177
void Finalize()
Definition: HmacHash.cpp:50
template<HashCreateFn HashCreator, uint32 DigestLength>
void HmacHash< HashCreator, DigestLength >::Finalize |
( |
| ) |
|
54 ASSERT(length == DigestLength);
uint8 _digest[DigestLength]
Definition: HmacHash.h:47
HMAC_CTX _ctx
Definition: HmacHash.h:46
uint32_t uint32
Definition: Define.h:150
float length(float v)
Definition: vectorMath.h:208
#define ASSERT
Definition: Errors.h:55
template<HashCreateFn HashCreator, uint32 DigestLength>
uint8 _digest[DigestLength]
Definition: HmacHash.h:47
template<HashCreateFn HashCreator, uint32 DigestLength>
44 {
return DigestLength; }
template<HashCreateFn HashCreator, uint32 DigestLength>
40 HMAC_Update(&
_ctx, (
uint8 const*)str.c_str(), str.length());
HMAC_CTX _ctx
Definition: HmacHash.h:46
uint8_t uint8
Definition: Define.h:152
template<HashCreateFn HashCreator, uint32 DigestLength>
46 HMAC_Update(&
_ctx, data, len);
HMAC_CTX _ctx
Definition: HmacHash.h:46
template<HashCreateFn HashCreator, uint32 DigestLength>
HMAC_CTX HmacHash< HashCreator, DigestLength >::_ctx |
|
private |
template<HashCreateFn HashCreator, uint32 DigestLength>
uint8 HmacHash< HashCreator, DigestLength >::_digest[DigestLength] |
|
private |
The documentation for this class was generated from the following files: