1# This file is dual licensed under the terms of the Apache License, Version 2# 2.0, and the BSD License. See the LICENSE file in the root of this repository 3# for complete details. 4 5from __future__ import absolute_import, division, print_function 6 7INCLUDES = """ 8#if !defined(OPENSSL_NO_CMAC) 9#include <openssl/cmac.h> 10#endif 11""" 12 13TYPES = """ 14typedef ... CMAC_CTX; 15""" 16 17FUNCTIONS = """ 18CMAC_CTX *CMAC_CTX_new(void); 19int CMAC_Init(CMAC_CTX *, const void *, size_t, const EVP_CIPHER *, ENGINE *); 20int CMAC_Update(CMAC_CTX *, const void *, size_t); 21int CMAC_Final(CMAC_CTX *, unsigned char *, size_t *); 22int CMAC_CTX_copy(CMAC_CTX *, const CMAC_CTX *); 23void CMAC_CTX_free(CMAC_CTX *); 24""" 25 26CUSTOMIZATIONS = """ 27""" 28