Go to the documentation of this file.
27 #ifndef POLARSSL_CAMELLIA_H
28 #define POLARSSL_CAMELLIA_H
36 typedef UINT32 uint32_t;
41 #define CAMELLIA_ENCRYPT 1
42 #define CAMELLIA_DECRYPT 0
44 #define POLARSSL_ERR_CAMELLIA_INVALID_KEY_LENGTH -0x0024
45 #define POLARSSL_ERR_CAMELLIA_INVALID_INPUT_LENGTH -0x0026
47 #if !defined(POLARSSL_CAMELLIA_ALT)
99 const unsigned char input[16],
100 unsigned char output[16] );
102 #if defined(POLARSSL_CIPHER_MODE_CBC)
120 unsigned char iv[16],
121 const unsigned char *input,
122 unsigned char *output );
125 #if defined(POLARSSL_CIPHER_MODE_CFB)
147 unsigned char iv[16],
148 const unsigned char *input,
149 unsigned char *output );
152 #if defined(POLARSSL_CIPHER_MODE_CTR)
178 unsigned char nonce_counter[16],
179 unsigned char stream_block[16],
180 const unsigned char *input,
181 unsigned char *output );
189 #include "camellia_alt.h"