OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
hmac.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cryptlib.h"
#include <openssl/hmac.h>

Go to the source code of this file.

Functions

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

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 
)

Definition at line 225 of file hmac.c.

void HMAC_CTX_cleanup ( HMAC_CTX ctx)

Definition at line 210 of file hmac.c.

int HMAC_CTX_copy ( HMAC_CTX dctx,
HMAC_CTX sctx 
)

Definition at line 194 of file hmac.c.

void HMAC_CTX_init ( HMAC_CTX ctx)

Definition at line 187 of file hmac.c.

void HMAC_CTX_set_flags ( HMAC_CTX ctx,
unsigned long  flags 
)

Definition at line 246 of file hmac.c.

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

Definition at line 165 of file hmac.c.

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

Definition at line 149 of file hmac.c.

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

Definition at line 68 of file hmac.c.

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

Definition at line 156 of file hmac.c.