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

Go to the source code of this file.

Classes

struct  CMAC_CTX_st
 

Functions

CMAC_CTXCMAC_CTX_new (void)
 
void CMAC_CTX_cleanup (CMAC_CTX *ctx)
 
EVP_CIPHER_CTXCMAC_CTX_get0_cipher_ctx (CMAC_CTX *ctx)
 
void CMAC_CTX_free (CMAC_CTX *ctx)
 
int CMAC_CTX_copy (CMAC_CTX *out, const CMAC_CTX *in)
 
int CMAC_Init (CMAC_CTX *ctx, const void *key, size_t keylen, const EVP_CIPHER *cipher, ENGINE *impl)
 
int CMAC_Update (CMAC_CTX *ctx, const void *in, size_t dlen)
 
int CMAC_Final (CMAC_CTX *ctx, unsigned char *out, size_t *poutlen)
 
int CMAC_resume (CMAC_CTX *ctx)
 

Function Documentation

void CMAC_CTX_cleanup ( CMAC_CTX ctx)

Definition at line 108 of file cmac.c.

int CMAC_CTX_copy ( CMAC_CTX out,
const CMAC_CTX in 
)

Definition at line 136 of file cmac.c.

void CMAC_CTX_free ( CMAC_CTX ctx)

Definition at line 130 of file cmac.c.

EVP_CIPHER_CTX* CMAC_CTX_get0_cipher_ctx ( CMAC_CTX ctx)

Definition at line 125 of file cmac.c.

CMAC_CTX* CMAC_CTX_new ( void  )

Definition at line 97 of file cmac.c.

int CMAC_Final ( CMAC_CTX ctx,
unsigned char *  out,
size_t *  poutlen 
)

Definition at line 261 of file cmac.c.

int CMAC_Init ( CMAC_CTX ctx,
const void key,
size_t  keylen,
const EVP_CIPHER cipher,
ENGINE impl 
)

Definition at line 152 of file cmac.c.

int CMAC_resume ( CMAC_CTX ctx)

Definition at line 297 of file cmac.c.

int CMAC_Update ( CMAC_CTX ctx,
const void in,
size_t  dlen 
)

Definition at line 215 of file cmac.c.