Back to index

courier  0.68.2
Defines | Functions
hmac.c File Reference
#include "md5.h"
#include "../libhmac/hmac.h"

Go to the source code of this file.

Defines

#define MD5_INTERNAL

Functions

static void alloc_context (void(*func)(void *, void *), void *arg)
static void alloc_hash (void(*func)(unsigned char *, void *), void *arg)

Define Documentation

#define MD5_INTERNAL

Definition at line 6 of file hmac.c.


Function Documentation

static void alloc_context ( void(*)(void *, void *)  func,
void *  arg 
) [static]

Definition at line 10 of file hmac.c.

{
struct MD5_CONTEXT c;

       (*func)((void *)&c, arg);
}
static void alloc_hash ( void(*)(unsigned char *, void *)  func,
void *  arg 
) [static]

Definition at line 17 of file hmac.c.

{
unsigned char c[MD5_DIGEST_SIZE];

       (*func)(c, arg);
}