#include <openssl/cmac.h>
#include <assert.h>
#include <string.h>
#include <openssl/aes.h>
#include <openssl/cipher.h>
#include <openssl/mem.h>
#include "../internal.h"
Go to the source code of this file.
|
int | AES_CMAC (uint8_t out[16], const uint8_t *key, size_t key_len, const uint8_t *in, size_t in_len) |
|
static void | binary_field_mul_x_128 (uint8_t out[16], const uint8_t in[16]) |
|
static void | binary_field_mul_x_64 (uint8_t out[8], const uint8_t in[8]) |
|
static void | CMAC_CTX_cleanup (CMAC_CTX *ctx) |
|
int | CMAC_CTX_copy (CMAC_CTX *out, const CMAC_CTX *in) |
|
void | CMAC_CTX_free (CMAC_CTX *ctx) |
|
static void | CMAC_CTX_init (CMAC_CTX *ctx) |
|
CMAC_CTX * | CMAC_CTX_new (void) |
|
int | CMAC_Final (CMAC_CTX *ctx, uint8_t *out, size_t *out_len) |
|
int | CMAC_Init (CMAC_CTX *ctx, const void *key, size_t key_len, const EVP_CIPHER *cipher, ENGINE *engine) |
|
int | CMAC_Reset (CMAC_CTX *ctx) |
|
int | CMAC_Update (CMAC_CTX *ctx, const uint8_t *in, size_t in_len) |
|
◆ AES_CMAC()
◆ binary_field_mul_x_128()
◆ binary_field_mul_x_64()
◆ CMAC_CTX_cleanup()
static void CMAC_CTX_cleanup |
( |
CMAC_CTX * |
ctx | ) |
|
|
static |
◆ CMAC_CTX_copy()
◆ CMAC_CTX_free()
◆ CMAC_CTX_init()
static void CMAC_CTX_init |
( |
CMAC_CTX * |
ctx | ) |
|
|
static |
◆ CMAC_CTX_new()
◆ CMAC_Final()
◆ CMAC_Init()
◆ CMAC_Reset()
◆ CMAC_Update()
◆ kZeroIV