PolarSSL v1.1.4
cipher_wrap.h
Go to the documentation of this file.
1 
29 #ifndef POLARSSL_CIPHER_WRAP_H
30 #define POLARSSL_CIPHER_WRAP_H
31 
32 #include "config.h"
33 #include "cipher.h"
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 #if defined(POLARSSL_AES_C)
40 
41 extern const cipher_info_t aes_128_cbc_info;
42 extern const cipher_info_t aes_192_cbc_info;
43 extern const cipher_info_t aes_256_cbc_info;
44 
45 #if defined(POLARSSL_CIPHER_MODE_CFB)
49 #endif /* POLARSSL_CIPHER_MODE_CFB */
50 
51 #if defined(POLARSSL_CIPHER_MODE_CTR)
52 extern const cipher_info_t aes_128_ctr_info;
53 extern const cipher_info_t aes_192_ctr_info;
54 extern const cipher_info_t aes_256_ctr_info;
55 #endif /* POLARSSL_CIPHER_MODE_CTR */
56 
57 #endif /* defined(POLARSSL_AES_C) */
58 
59 #if defined(POLARSSL_CAMELLIA_C)
60 
64 
65 #if defined(POLARSSL_CIPHER_MODE_CFB)
69 #endif /* POLARSSL_CIPHER_MODE_CFB */
70 
71 #if defined(POLARSSL_CIPHER_MODE_CTR)
75 #endif /* POLARSSL_CIPHER_MODE_CTR */
76 
77 #endif /* defined(POLARSSL_CAMELLIA_C) */
78 
79 #if defined(POLARSSL_DES_C)
80 
81 extern const cipher_info_t des_cbc_info;
82 extern const cipher_info_t des_ede_cbc_info;
83 extern const cipher_info_t des_ede3_cbc_info;
84 
85 #endif /* defined(POLARSSL_DES_C) */
86 
87 #ifdef __cplusplus
88 }
89 #endif
90 
91 #endif /* POLARSSL_CIPHER_WRAP_H */