4 * \brief Message digest wrappers.
6 * \author Adriaan de Jong <dejong@fox-it.com>
8 * Copyright (C) 2006-2011, ARM Limited, All Rights Reserved
10 * This file is part of mbed TLS (https://polarssl.org)
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License along
23 * with this program; if not, write to the Free Software Foundation, Inc.,
24 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 #ifndef POLARSSL_MD_WRAP_H
27 #define POLARSSL_MD_WRAP_H
29 #if !defined(POLARSSL_CONFIG_FILE)
32 #include POLARSSL_CONFIG_FILE
40 #if defined(POLARSSL_MD2_C)
41 extern const md_info_t md2_info
;
43 #if defined(POLARSSL_MD4_C)
44 extern const md_info_t md4_info
;
46 #if defined(POLARSSL_MD5_C)
47 extern const md_info_t md5_info
;
49 #if defined(POLARSSL_RIPEMD160_C)
50 extern const md_info_t ripemd160_info
;
52 #if defined(POLARSSL_SHA1_C)
53 extern const md_info_t sha1_info
;
55 #if defined(POLARSSL_SHA256_C)
56 extern const md_info_t sha224_info
;
57 extern const md_info_t sha256_info
;
59 #if defined(POLARSSL_SHA512_C)
60 extern const md_info_t sha384_info
;
61 extern const md_info_t sha512_info
;
68 #endif /* POLARSSL_MD_WRAP_H */