Webserver+3d print

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers crypto_config.h Source File

crypto_config.h

Go to the documentation of this file.
00001 /**
00002  * @file crypto_config.h
00003  * @brief CycloneCrypto configuration file
00004  *
00005  * @section License
00006  *
00007  * Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.
00008  *
00009  * This file is part of CycloneCrypto Open.
00010  *
00011  * This program is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU General Public License
00013  * as published by the Free Software Foundation; either version 2
00014  * of the License, or (at your option) any later version.
00015  *
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software Foundation,
00023  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00024  *
00025  * @author Oryx Embedded SARL (www.oryx-embedded.com)
00026  * @version 1.7.6
00027  **/
00028 
00029 #ifndef _CRYPTO_CONFIG_H
00030 #define _CRYPTO_CONFIG_H
00031 
00032 //Desired trace level (for debugging purposes)
00033 #define CRYPTO_TRACE_LEVEL TRACE_LEVEL_INFO
00034 
00035 //Assembly optimizations for time-critical routines
00036 #define MPI_ASM_SUPPORT DISABLED
00037 
00038 //Base64 encoding support
00039 #define BASE64_SUPPORT ENABLED
00040 
00041 //MD2 hash support
00042 #define MD2_SUPPORT DISABLED
00043 //MD4 hash support
00044 #define MD4_SUPPORT DISABLED
00045 //MD5 hash support
00046 #define MD5_SUPPORT ENABLED
00047 //RIPEMD-128 hash support
00048 #define RIPEMD128_SUPPORT DISABLED
00049 //RIPEMD-160 hash support
00050 #define RIPEMD160_SUPPORT DISABLED
00051 //SHA-1 hash support
00052 #define SHA1_SUPPORT ENABLED
00053 //SHA-224 hash support
00054 #define SHA224_SUPPORT ENABLED
00055 //SHA-256 hash support
00056 #define SHA256_SUPPORT ENABLED
00057 //SHA-384 hash support
00058 #define SHA384_SUPPORT ENABLED
00059 //SHA-512 hash support
00060 #define SHA512_SUPPORT ENABLED
00061 //SHA-512/224 hash support
00062 #define SHA512_224_SUPPORT DISABLED
00063 //SHA-512/256 hash support
00064 #define SHA512_256_SUPPORT DISABLED
00065 //SHA3-224 hash support
00066 #define SHA3_224_SUPPORT DISABLED
00067 //SHA3-256 hash support
00068 #define SHA3_256_SUPPORT DISABLED
00069 //SHA3-384 hash support
00070 #define SHA3_384_SUPPORT DISABLED
00071 //SHA3-512 hash support
00072 #define SHA3_512_SUPPORT DISABLED
00073 //Keccak support
00074 #define KECCAK_SUPPORT DISABLED
00075 //Tiger hash support
00076 #define TIGER_SUPPORT DISABLED
00077 //Whirlpool hash support
00078 #define WHIRLPOOL_SUPPORT DISABLED
00079 
00080 //HMAC support
00081 #define HMAC_SUPPORT ENABLED
00082 
00083 //RC4 support
00084 #define RC4_SUPPORT ENABLED
00085 //RC6 support
00086 #define RC6_SUPPORT DISABLED
00087 //IDEA support
00088 #define IDEA_SUPPORT ENABLED
00089 //DES support
00090 #define DES_SUPPORT ENABLED
00091 //Triple DES support
00092 #define DES3_SUPPORT ENABLED
00093 //AES support
00094 #define AES_SUPPORT ENABLED
00095 //Camellia support
00096 #define CAMELLIA_SUPPORT ENABLED
00097 //SEED support
00098 #define SEED_SUPPORT ENABLED
00099 //ARIA support
00100 #define ARIA_SUPPORT ENABLED
00101 
00102 //ECB mode support
00103 #define ECB_SUPPORT DISABLED
00104 //CBC mode support
00105 #define CBC_SUPPORT ENABLED
00106 //CFB mode support
00107 #define CFB_SUPPORT DISABLED
00108 //OFB mode support
00109 #define OFB_SUPPORT DISABLED
00110 //CTR mode support
00111 #define CTR_SUPPORT DISABLED
00112 //CCM mode support
00113 #define CCM_SUPPORT ENABLED
00114 //GCM mode support
00115 #define GCM_SUPPORT ENABLED
00116 
00117 //Chacha support
00118 #define CHACHA_SUPPORT ENABLED
00119 //Poly1305 support
00120 #define POLY1305_SUPPORT ENABLED
00121 //Chacha20Poly1305 support
00122 #define CHACHA20_POLY1305_SUPPORT ENABLED
00123 
00124 //Diffie-Hellman support
00125 #define DH_SUPPORT ENABLED
00126 //RSA support
00127 #define RSA_SUPPORT ENABLED
00128 //DSA support
00129 #define DSA_SUPPORT ENABLED
00130 
00131 //Elliptic curve cryptography support
00132 #define EC_SUPPORT ENABLED
00133 //ECDH support
00134 #define ECDH_SUPPORT ENABLED
00135 //ECDSA support
00136 #define ECDSA_SUPPORT ENABLED
00137 
00138 #endif
00139