]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Plus/Source/WolfSSL/wolfssl/wolfcrypt/port/ti/ti-ccm.h
Update WolfSSL library to the latest version.
[freertos] / FreeRTOS-Plus / Source / WolfSSL / wolfssl / wolfcrypt / port / ti / ti-ccm.h
diff --git a/FreeRTOS-Plus/Source/WolfSSL/wolfssl/wolfcrypt/port/ti/ti-ccm.h b/FreeRTOS-Plus/Source/WolfSSL/wolfssl/wolfcrypt/port/ti/ti-ccm.h
new file mode 100644 (file)
index 0000000..f0fb247
--- /dev/null
@@ -0,0 +1,40 @@
+/* port/ti/ti_ccm.c\r
+ *\r
+ * Copyright (C) 2006-2015 wolfSSL Inc.\r
+ *\r
+ * This file is part of wolfSSL. (formerly known as CyaSSL)\r
+ *\r
+ * wolfSSL is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 2 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * wolfSSL is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program; if not, write to the Free Software\r
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\r
+ */\r
+\r
+#ifdef HAVE_CONFIG_H\r
+    #include <config.h>\r
+#endif\r
+\r
+#include <wolfssl/wolfcrypt/settings.h>\r
+\r
+#if defined(WOLFSSL_TI_CRYPT) ||  defined(WOLFSSL_TI_HASH)\r
+\r
+bool wolfSSL_TI_CCMInit(void) ;\r
+\r
+#ifndef SINGLE_THREADED\r
+void wolfSSL_TI_lockCCM() ;\r
+void wolfSSL_TI_unlockCCM() ;\r
+#else \r
+#define wolfSSL_TI_lockCCM()\r
+#define wolfSSL_TI_unlockCCM()\r
+#endif\r
+\r
+#endif\r