Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hmac.c File Reference
#include <assert.h>
#include <string.h>
#include "hmac.h"
#include "memxor.h"
#include "nettle-internal.h"
+ Include dependency graph for hmac.c:

Macros

#define IPAD   0x36
#define OPAD   0x5c

Functions

void nettle_hmac_digest (const void *outer, const void *inner, void *state, const struct nettle_hash *hash, unsigned length, uint8_t *dst)
void nettle_hmac_set_key (void *outer, void *inner, void *state, const struct nettle_hash *hash, unsigned key_length, const uint8_t *key)
void nettle_hmac_update (void *state, const struct nettle_hash *hash, unsigned length, const uint8_t *data)

Macro Definition Documentation

#define IPAD   0x36
#define OPAD   0x5c

Function Documentation

void nettle_hmac_digest ( const void *  outer,
const void *  inner,
void *  state,
const struct nettle_hash hash,
unsigned  length,
uint8_t *  dst 
)
void nettle_hmac_set_key ( void *  outer,
void *  inner,
void *  state,
const struct nettle_hash hash,
unsigned  key_length,
const uint8_t *  key 
)
void nettle_hmac_update ( void *  state,
const struct nettle_hash hash,
unsigned  length,
const uint8_t *  data 
)