24 #include <openssl/hmac.h>
25 #include <openssl/sha.h>
29 #define SEED_KEY_SIZE 16
31 typedef EVP_MD
const* (*HashCreateFn)();
33 template<HashCreateFn HashCreator, u
int32 DigestLength>
40 void UpdateData(
uint8 const* data,
size_t len);
Definition: BigNumber.h:28
HmacHash< EVP_sha1, SHA_DIGEST_LENGTH > HmacSha1
Definition: HmacHash.h:50
HmacHash< EVP_sha256, SHA256_DIGEST_LENGTH > HmacSha256
Definition: HmacHash.h:51
HMAC_CTX _ctx
Definition: HmacHash.h:46
Definition: HmacHash.h:34
uint32 GetLength() const
Definition: HmacHash.h:44
Definition: UpdateData.h:59
uint8 * GetDigest()
Definition: HmacHash.h:43
uint32_t uint32
Definition: Define.h:150
#define TC_COMMON_API
Definition: Define.h:116
uint8_t uint8
Definition: Define.h:152