hmac.h File Reference

API published in:
API deprecated in:


#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 hmac_ctx_st  HMAC_CTX

Functions

IMPORT_C void  HMAC_CTX_init (HMAC_CTX *ctx)
IMPORT_C void  HMAC_CTX_cleanup (HMAC_CTX *ctx)
IMPORT_C void  HMAC_Init (HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md)
IMPORT_C void  HMAC_Init_ex (HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md, ENGINE *impl)
IMPORT_C void  HMAC_Update (HMAC_CTX *ctx, const unsigned char *data, size_t len)
IMPORT_C void  HMAC_Final (HMAC_CTX *ctx, unsigned char *md, unsigned int *len)
IMPORT_C 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)
 
#define HMAC_MAX_MD_CBLOCK   128
 
#define HMAC_size  )     (EVP_MD_size((e)->md))
 

Typedef Documentation

typedef struct hmac_ctx_st HMAC_CTX
 

Function Documentation

IMPORT_C 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
 
IMPORT_C void HMAC_CTX_cleanup HMAC_CTX ctx  ) 
 
IMPORT_C void HMAC_CTX_init HMAC_CTX ctx  ) 
 
IMPORT_C void HMAC_Final HMAC_CTX ctx,
unsigned char *  md,
unsigned int *  len
 
IMPORT_C void HMAC_Init HMAC_CTX ctx,
const void *  key,
int  len,
const EVP_MD md
 
IMPORT_C void HMAC_Init_ex HMAC_CTX ctx,
const void *  key,
int  len,
const EVP_MD md,
ENGINE impl
 
IMPORT_C void HMAC_Update HMAC_CTX ctx,
const unsigned char *  data,
size_t  len
 

Copyright © Nokia Corporation 2001-2008
Back to top