mbed TLS library

Dependents:   HTTPClient-SSL WS_SERVER

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers cipher_wrap.h Source File

cipher_wrap.h

Go to the documentation of this file.
00001 /**
00002  * \file cipher_wrap.h
00003  *
00004  * \brief Cipher wrappers.
00005  *
00006  * \author Adriaan de Jong <dejong@fox-it.com>
00007  *
00008  *  Copyright (C) 2006-2013, 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_CIPHER_WRAP_H
00027 #define POLARSSL_CIPHER_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 "cipher.h"
00036 
00037 #ifdef __cplusplus
00038 extern "C" {
00039 #endif
00040 
00041 typedef struct
00042 {
00043     cipher_type_t type;
00044     const cipher_info_t *info;
00045 } cipher_definition_t;
00046 
00047 extern const cipher_definition_t cipher_definitions[];
00048 
00049 extern int supported_ciphers[];
00050 
00051 #ifdef __cplusplus
00052 }
00053 #endif
00054 
00055 #endif /* POLARSSL_CIPHER_WRAP_H */
00056