hmac.h File Reference

#include <openssl/opensslconf.h>
#include <openssl/evp.h>

Go to the source code of this file.

Data Structures

struct  hmac_ctx_st

Defines

#define HMAC_MAX_MD_CBLOCK   128
#define HMAC_size(e)   (EVP_MD_size((e)->md))
#define HMAC_cleanup(ctx)   HMAC_CTX_cleanup(ctx)

Typedefs

typedef struct hmac_ctx_st HMAC_CTX

Functions

void HMAC_CTX_init (HMAC_CTX *ctx)
void HMAC_CTX_cleanup (HMAC_CTX *ctx)
void HMAC_Init (HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md)
void HMAC_Init_ex (HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md, ENGINE *impl)
void HMAC_Update (HMAC_CTX *ctx, const unsigned char *data, size_t len)
void HMAC_Final (HMAC_CTX *ctx, unsigned char *md, unsigned int *len)
unsigned char * HMAC (const EVP_MD *evp_md, const void *key, int key_len, const unsigned char *d, size_t n, unsigned char *md, unsigned int *md_len)


Define Documentation

#define HMAC_cleanup ( ctx   )     HMAC_CTX_cleanup(ctx)

Definition at line 91 of file hmac.h.

#define HMAC_MAX_MD_CBLOCK   128

Definition at line 69 of file hmac.h.

#define HMAC_size (  )     (EVP_MD_size((e)->md))

Definition at line 85 of file hmac.h.


Typedef Documentation

typedef struct hmac_ctx_st HMAC_CTX


Function Documentation

unsigned char* HMAC ( const EVP_MD evp_md,
const void *  key,
int  key_len,
const unsigned char *  d,
size_t  n,
unsigned char *  md,
unsigned int *  md_len 
)

void HMAC_CTX_cleanup ( HMAC_CTX ctx  ) 

void HMAC_CTX_init ( HMAC_CTX ctx  ) 

void HMAC_Final ( HMAC_CTX ctx,
unsigned char *  md,
unsigned int *  len 
)

void HMAC_Init ( HMAC_CTX ctx,
const void *  key,
int  len,
const EVP_MD md 
)

void HMAC_Init_ex ( HMAC_CTX ctx,
const void *  key,
int  len,
const EVP_MD md,
ENGINE impl 
)

void HMAC_Update ( HMAC_CTX ctx,
const unsigned char *  data,
size_t  len 
)


Generated on Thu Aug 20 22:33:06 2009 for OpenXDAS by  doxygen 1.5.6