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

Go to the source code of this file.

Typedefs

typedef struct CMAC_CTX_st CMAC_CTX
 

Functions

CMAC_CTXCMAC_CTX_new (void)
 
void CMAC_CTX_cleanup (CMAC_CTX *ctx)
 
void CMAC_CTX_free (CMAC_CTX *ctx)
 
EVP_CIPHER_CTXCMAC_CTX_get0_cipher_ctx (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 *data, size_t dlen)
 
int CMAC_Final (CMAC_CTX *ctx, unsigned char *out, size_t *poutlen)
 
int CMAC_resume (CMAC_CTX *ctx)
 

Typedef Documentation

typedef struct CMAC_CTX_st CMAC_CTX

Definition at line 65 of file cmac.h.

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 data,
size_t  dlen 
)

Definition at line 215 of file cmac.c.