Paul Bakker | 1737385 | 2011-01-06 14:20:01 +0000 | [diff] [blame^] | 1 | /** |
| 2 | * \file md_wrap.h |
| 3 | * |
| 4 | * \brief Message digest wrappers. |
| 5 | * |
| 6 | * \author Adriaan de Jong <dejong@fox-it.com> |
| 7 | * |
| 8 | * Copyright (C) 2006-2010, Brainspark B.V. |
| 9 | * |
| 10 | * This file is part of PolarSSL (http://www.polarssl.org) |
| 11 | * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> |
| 12 | * |
| 13 | * All rights reserved. |
| 14 | * |
| 15 | * This program is free software; you can redistribute it and/or modify |
| 16 | * it under the terms of the GNU General Public License as published by |
| 17 | * the Free Software Foundation; either version 2 of the License, or |
| 18 | * (at your option) any later version. |
| 19 | * |
| 20 | * This program is distributed in the hope that it will be useful, |
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 23 | * GNU General Public License for more details. |
| 24 | * |
| 25 | * You should have received a copy of the GNU General Public License along |
| 26 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 27 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 28 | */ |
| 29 | |
| 30 | #include "polarssl/config.h" |
| 31 | #include "polarssl/md.h" |
| 32 | |
| 33 | #ifndef POLARSSL_MD_WRAP_H |
| 34 | #define POLARSSL_MD_WRAP_H |
| 35 | |
| 36 | #ifdef __cplusplus |
| 37 | extern "C" { |
| 38 | #endif |
| 39 | |
| 40 | #if defined(POLARSSL_MD2_C) |
| 41 | extern const md_info_t md2_info; |
| 42 | #endif |
| 43 | #if defined(POLARSSL_MD4_C) |
| 44 | extern const md_info_t md4_info; |
| 45 | #endif |
| 46 | #if defined(POLARSSL_MD5_C) |
| 47 | extern const md_info_t md5_info; |
| 48 | #endif |
| 49 | #if defined(POLARSSL_SHA1_C) |
| 50 | extern const md_info_t sha1_info; |
| 51 | #endif |
| 52 | #if defined(POLARSSL_SHA2_C) |
| 53 | extern const md_info_t sha224_info; |
| 54 | extern const md_info_t sha256_info; |
| 55 | #endif |
| 56 | #if defined(POLARSSL_SHA4_C) |
| 57 | extern const md_info_t sha384_info; |
| 58 | extern const md_info_t sha512_info; |
| 59 | #endif |
| 60 | |
| 61 | #ifdef __cplusplus |
| 62 | } |
| 63 | #endif |
| 64 | |
| 65 | #endif /* POLARSSL_MD_WRAP_H */ |