PolarSSL v1.1.4
|
00001 00029 #ifndef POLARSSL_CIPHER_WRAP_H 00030 #define POLARSSL_CIPHER_WRAP_H 00031 00032 #include "config.h" 00033 #include "cipher.h" 00034 00035 #ifdef __cplusplus 00036 extern "C" { 00037 #endif 00038 00039 #if defined(POLARSSL_AES_C) 00040 00041 extern const cipher_info_t aes_128_cbc_info; 00042 extern const cipher_info_t aes_192_cbc_info; 00043 extern const cipher_info_t aes_256_cbc_info; 00044 00045 #if defined(POLARSSL_CIPHER_MODE_CFB) 00046 extern const cipher_info_t aes_128_cfb128_info; 00047 extern const cipher_info_t aes_192_cfb128_info; 00048 extern const cipher_info_t aes_256_cfb128_info; 00049 #endif /* POLARSSL_CIPHER_MODE_CFB */ 00050 00051 #if defined(POLARSSL_CIPHER_MODE_CTR) 00052 extern const cipher_info_t aes_128_ctr_info; 00053 extern const cipher_info_t aes_192_ctr_info; 00054 extern const cipher_info_t aes_256_ctr_info; 00055 #endif /* POLARSSL_CIPHER_MODE_CTR */ 00056 00057 #endif /* defined(POLARSSL_AES_C) */ 00058 00059 #if defined(POLARSSL_CAMELLIA_C) 00060 00061 extern const cipher_info_t camellia_128_cbc_info; 00062 extern const cipher_info_t camellia_192_cbc_info; 00063 extern const cipher_info_t camellia_256_cbc_info; 00064 00065 #if defined(POLARSSL_CIPHER_MODE_CFB) 00066 extern const cipher_info_t camellia_128_cfb128_info; 00067 extern const cipher_info_t camellia_192_cfb128_info; 00068 extern const cipher_info_t camellia_256_cfb128_info; 00069 #endif /* POLARSSL_CIPHER_MODE_CFB */ 00070 00071 #if defined(POLARSSL_CIPHER_MODE_CTR) 00072 extern const cipher_info_t camellia_128_ctr_info; 00073 extern const cipher_info_t camellia_192_ctr_info; 00074 extern const cipher_info_t camellia_256_ctr_info; 00075 #endif /* POLARSSL_CIPHER_MODE_CTR */ 00076 00077 #endif /* defined(POLARSSL_CAMELLIA_C) */ 00078 00079 #if defined(POLARSSL_DES_C) 00080 00081 extern const cipher_info_t des_cbc_info; 00082 extern const cipher_info_t des_ede_cbc_info; 00083 extern const cipher_info_t des_ede3_cbc_info; 00084 00085 #endif /* defined(POLARSSL_DES_C) */ 00086 00087 #ifdef __cplusplus 00088 } 00089 #endif 00090 00091 #endif /* POLARSSL_CIPHER_WRAP_H */