Electroneum
hmac-md5.h File Reference

Go to the source code of this file.

Classes

struct  md5::HMAC_MD5_CTX_s
 
struct  md5::HMAC_MD5_STATE_s
 

Namespaces

 md5
 

Macros

#define HMAC_MD5_SIZE   16
 
#define hmac_md5_update(hmac, text, text_len)   MD5Update(&(hmac)->ictx, (text), (text_len))
 

Typedefs

typedef struct md5::HMAC_MD5_CTX_s md5::HMAC_MD5_CTX
 
typedef struct md5::HMAC_MD5_STATE_s md5::HMAC_MD5_STATE
 

Functions

void md5::hmac_md5 (const unsigned char *text, int text_len, const unsigned char *key, int key_len, unsigned char digest[HMAC_MD5_SIZE])
 
void md5::hmac_md5_init (HMAC_MD5_CTX *hmac, const unsigned char *key, int key_len)
 
void md5::hmac_md5_precalc (HMAC_MD5_STATE *hmac, const unsigned char *key, int key_len)
 
void md5::hmac_md5_import (HMAC_MD5_CTX *hmac, HMAC_MD5_STATE *state)
 
void md5::hmac_md5_final (unsigned char digest[HMAC_MD5_SIZE], HMAC_MD5_CTX *hmac)
 

Macro Definition Documentation

◆ HMAC_MD5_SIZE

#define HMAC_MD5_SIZE   16

Definition at line 47 of file hmac-md5.h.

◆ hmac_md5_update

#define hmac_md5_update (   hmac,
  text,
  text_len 
)    MD5Update(&(hmac)->ictx, (text), (text_len))

Definition at line 84 of file hmac-md5.h.