]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Source/WolfSSL/wolfssl/wolfcrypt/port/ti/ti-ccm.h
f0fb24799feb5886afa08ca1ec54c82edadb0227
[freertos] / FreeRTOS-Plus / Source / WolfSSL / wolfssl / wolfcrypt / port / ti / ti-ccm.h
1 /* port/ti/ti_ccm.c\r
2  *\r
3  * Copyright (C) 2006-2015 wolfSSL Inc.\r
4  *\r
5  * This file is part of wolfSSL. (formerly known as CyaSSL)\r
6  *\r
7  * wolfSSL is free software; you can redistribute it and/or modify\r
8  * it under the terms of the GNU General Public License as published by\r
9  * the Free Software Foundation; either version 2 of the License, or\r
10  * (at your option) any later version.\r
11  *\r
12  * wolfSSL is distributed in the hope that it will be useful,\r
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
15  * GNU General Public License for more details.\r
16  *\r
17  * You should have received a copy of the GNU General Public License\r
18  * along with this program; if not, write to the Free Software\r
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\r
20  */\r
21 \r
22 #ifdef HAVE_CONFIG_H\r
23     #include <config.h>\r
24 #endif\r
25 \r
26 #include <wolfssl/wolfcrypt/settings.h>\r
27 \r
28 #if defined(WOLFSSL_TI_CRYPT) ||  defined(WOLFSSL_TI_HASH)\r
29 \r
30 bool wolfSSL_TI_CCMInit(void) ;\r
31 \r
32 #ifndef SINGLE_THREADED\r
33 void wolfSSL_TI_lockCCM() ;\r
34 void wolfSSL_TI_unlockCCM() ;\r
35 #else \r
36 #define wolfSSL_TI_lockCCM()\r
37 #define wolfSSL_TI_unlockCCM()\r
38 #endif\r
39 \r
40 #endif\r