Back to index

courier  0.68.2
Classes | Functions | Variables
hmac.h File Reference
#include <string.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hmac_hashinfo

Functions

void hmac_hashkey (const struct hmac_hashinfo *, const char *, size_t, unsigned char *, unsigned char *)
void hmac_hashtext (const struct hmac_hashinfo *, const char *, size_t, const unsigned char *, const unsigned char *, unsigned char *)

Variables

struct hmac_hashinfohmac_list []

Function Documentation

void hmac_hashkey ( const struct hmac_hashinfo ,
const char *  ,
size_t  ,
unsigned char *  ,
unsigned char *   
)

Definition at line 28 of file hmac.c.

{
struct hhki i;

       i.hh=hh;
       i.k=k;
       i.kl=kl;
       i.kxopad=kxopad;
       i.kxipad=kxipad;

       (*hh->hh_allocacontext)( docalcc, (void *)&i );
}

Here is the call graph for this function:

Here is the caller graph for this function:

void hmac_hashtext ( const struct hmac_hashinfo ,
const char *  ,
size_t  ,
const unsigned char *  ,
const unsigned char *  ,
unsigned char *   
)

Definition at line 117 of file hmac.c.

{
struct hhko o;

       o.hh=hh;
       o.t=t;
       o.tl=tl;
       o.kxopad=kxopad;
       o.kxipad=kxipad;
       o.hash=hash;

       (*hh->hh_allocacontext)( docalch, (void *)&o );
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 13 of file hmac.c.