Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
CMAC_CTX_new, CMAC_Init, CMAC_Update, CMAC_Final, CMAC_CTX_copy, CMAC_CTX_get0_cipher_ctx, CMAC_CTX_cleanup, CMAC_CTX_free — Cipher-based message authentication codeSYNOPSIS
#include <openssl/cmac.h>CMAC_CTX_new(void);
CMAC_Init(CMAC_CTX *ctx, const void *key, size_t key_len, const EVP_CIPHER *cipher, ENGINE *engine);
CMAC_Update(CMAC_CTX *ctx, const void *in_data, size_t in_len);
CMAC_Final(CMAC_CTX *ctx, unsigned char *out_mac, size_t *out_len);
CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx);
CMAC_CTX_cleanup(CMAC_CTX *ctx);
CMAC_CTX_free(CMAC_CTX *ctx);