Hannes Tschofenig
/
aes-gcm-test-program
Example program to test AES-GCM functionality. Used for a workshop
Embed:
(wiki syntax)
Show/hide line numbers
md_wrap.h
Go to the documentation of this file.
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, Brainspark B.V. 00009 * 00010 * This file is part of PolarSSL (http://www.polarssl.org) 00011 * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> 00012 * 00013 * All rights reserved. 00014 * 00015 * This program is free software; you can redistribute it and/or modify 00016 * it under the terms of the GNU General Public License as published by 00017 * the Free Software Foundation; either version 2 of the License, or 00018 * (at your option) any later version. 00019 * 00020 * This program is distributed in the hope that it will be useful, 00021 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 * GNU General Public License for more details. 00024 * 00025 * You should have received a copy of the GNU General Public License along 00026 * with this program; if not, write to the Free Software Foundation, Inc., 00027 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00028 */ 00029 #ifndef POLARSSL_MD_WRAP_H 00030 #define POLARSSL_MD_WRAP_H 00031 00032 #if !defined(POLARSSL_CONFIG_FILE) 00033 #include "config.h" 00034 #else 00035 #include POLARSSL_CONFIG_FILE 00036 #endif 00037 #include "md.h" 00038 00039 #ifdef __cplusplus 00040 extern "C" { 00041 #endif 00042 00043 #if defined(POLARSSL_MD2_C) 00044 extern const md_info_t md2_info; 00045 #endif 00046 #if defined(POLARSSL_MD4_C) 00047 extern const md_info_t md4_info; 00048 #endif 00049 #if defined(POLARSSL_MD5_C) 00050 extern const md_info_t md5_info; 00051 #endif 00052 #if defined(POLARSSL_RIPEMD160_C) 00053 extern const md_info_t ripemd160_info; 00054 #endif 00055 #if defined(POLARSSL_SHA1_C) 00056 extern const md_info_t sha1_info; 00057 #endif 00058 #if defined(POLARSSL_SHA256_C) 00059 extern const md_info_t sha224_info; 00060 extern const md_info_t sha256_info; 00061 #endif 00062 #if defined(POLARSSL_SHA512_C) 00063 extern const md_info_t sha384_info; 00064 extern const md_info_t sha512_info; 00065 #endif 00066 00067 #ifdef __cplusplus 00068 } 00069 #endif 00070 00071 #endif /* POLARSSL_MD_WRAP_H */ 00072 00073
Generated on Tue Jul 12 2022 19:40:17 by 1.7.2