webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
cmac.h File Reference
#include <openssl/base.h>

Go to the source code of this file.

Functions

OPENSSL_EXPORT int AES_CMAC (uint8_t out[16], const uint8_t *key, size_t key_len, const uint8_t *in, size_t in_len)
 
OPENSSL_EXPORT CMAC_CTXCMAC_CTX_new (void)
 
OPENSSL_EXPORT void CMAC_CTX_free (CMAC_CTX *ctx)
 
OPENSSL_EXPORT int CMAC_Init (CMAC_CTX *ctx, const void *key, size_t key_len, const EVP_CIPHER *cipher, ENGINE *engine)
 
OPENSSL_EXPORT int CMAC_Reset (CMAC_CTX *ctx)
 
OPENSSL_EXPORT int CMAC_Update (CMAC_CTX *ctx, const uint8_t *in, size_t in_len)
 
OPENSSL_EXPORT int CMAC_Final (CMAC_CTX *ctx, uint8_t *out, size_t *out_len)
 

Function Documentation

◆ AES_CMAC()

OPENSSL_EXPORT int AES_CMAC ( uint8_t  out[16],
const uint8_t key,
size_t  key_len,
const uint8_t in,
size_t  in_len 
)

◆ CMAC_CTX_free()

OPENSSL_EXPORT void CMAC_CTX_free ( CMAC_CTX ctx)

◆ CMAC_CTX_new()

OPENSSL_EXPORT CMAC_CTX* CMAC_CTX_new ( void  )

◆ CMAC_Final()

OPENSSL_EXPORT int CMAC_Final ( CMAC_CTX ctx,
uint8_t out,
size_t out_len 
)

◆ CMAC_Init()

OPENSSL_EXPORT int CMAC_Init ( CMAC_CTX ctx,
const void key,
size_t  key_len,
const EVP_CIPHER cipher,
ENGINE engine 
)

◆ CMAC_Reset()

OPENSSL_EXPORT int CMAC_Reset ( CMAC_CTX ctx)

◆ CMAC_Update()

OPENSSL_EXPORT int CMAC_Update ( CMAC_CTX ctx,
const uint8_t in,
size_t  in_len 
)