Port of TI's CC3100 Websock camera demo. Using FreeRTOS, mbedTLS, also parts of Arducam for cams ov5642 and 0v2640. Can also use MT9D111. Work in progress. Be warned some parts maybe a bit flacky. This is for Seeed Arch max only, for an M3, see the demo for CM3 using the 0v5642 aducam mini.
md_wrap.h
00001 /** 00002 * \file md_wrap.h 00003 * 00004 * \brief Message digest wrappers. 00005 * 00006 * \author Adriaan de Jong <dejong@fox-it.com> 00007 * 00008 * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved 00009 * 00010 * This file is part of mbed TLS (https://tls.mbed.org) 00011 * 00012 * This program is free software; you can redistribute it and/or modify 00013 * it under the terms of the GNU General Public License as published by 00014 * the Free Software Foundation; either version 2 of the License, or 00015 * (at your option) any later version. 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU General Public License for more details. 00021 * 00022 * You should have received a copy of the GNU General Public License along 00023 * with this program; if not, write to the Free Software Foundation, Inc., 00024 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00025 */ 00026 #ifndef POLARSSL_MD_WRAP_H 00027 #define POLARSSL_MD_WRAP_H 00028 00029 #if !defined(POLARSSL_CONFIG_FILE) 00030 #include "config.h" 00031 #else 00032 #include POLARSSL_CONFIG_FILE 00033 #endif 00034 00035 #include "md.h" 00036 00037 #ifdef __cplusplus 00038 extern "C" { 00039 #endif 00040 00041 #if defined(POLARSSL_MD2_C) 00042 extern const md_info_t md2_info; 00043 #endif 00044 #if defined(POLARSSL_MD4_C) 00045 extern const md_info_t md4_info; 00046 #endif 00047 #if defined(POLARSSL_MD5_C) 00048 extern const md_info_t md5_info; 00049 #endif 00050 #if defined(POLARSSL_RIPEMD160_C) 00051 extern const md_info_t ripemd160_info; 00052 #endif 00053 #if defined(POLARSSL_SHA1_C) 00054 extern const md_info_t sha1_info; 00055 #endif 00056 #if defined(POLARSSL_SHA256_C) 00057 extern const md_info_t sha224_info; 00058 extern const md_info_t sha256_info; 00059 #endif 00060 #if defined(POLARSSL_SHA512_C) 00061 extern const md_info_t sha384_info; 00062 extern const md_info_t sha512_info; 00063 #endif 00064 00065 #ifdef __cplusplus 00066 } 00067 #endif 00068 00069 #endif /* POLARSSL_MD_WRAP_H */ 00070
Generated on Tue Jul 12 2022 22:22:38 by
1.7.2