Go to the source code of this file.
Classes | |
| struct | camellia_key_st |
Macros | |
| #define | CAMELLIA_ENCRYPT 1 |
| #define | CAMELLIA_DECRYPT 0 |
| #define | CAMELLIA_BLOCK_SIZE 16 |
| #define | CAMELLIA_TABLE_BYTE_LEN 272 |
| #define | CAMELLIA_TABLE_WORD_LEN (CAMELLIA_TABLE_BYTE_LEN / 4) |
Typedefs | |
| typedef unsigned int | KEY_TABLE_TYPE [CAMELLIA_TABLE_WORD_LEN] |
| typedef struct camellia_key_st | CAMELLIA_KEY |
Functions | |
| int | Camellia_set_key (const unsigned char *userKey, const int bits, CAMELLIA_KEY *key) |
| void | Camellia_encrypt (const unsigned char *in, unsigned char *out, const CAMELLIA_KEY *key) |
| void | Camellia_decrypt (const unsigned char *in, unsigned char *out, const CAMELLIA_KEY *key) |
| void | Camellia_ecb_encrypt (const unsigned char *in, unsigned char *out, const CAMELLIA_KEY *key, const int enc) |
| void | Camellia_cbc_encrypt (const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, const int enc) |
| void | Camellia_cfb128_encrypt (const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc) |
| void | Camellia_cfb1_encrypt (const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc) |
| void | Camellia_cfb8_encrypt (const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc) |
| void | Camellia_ofb128_encrypt (const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num) |
| void | Camellia_ctr128_encrypt (const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char ivec[CAMELLIA_BLOCK_SIZE], unsigned char ecount_buf[CAMELLIA_BLOCK_SIZE], unsigned int *num) |
| #define CAMELLIA_BLOCK_SIZE 16 |
Definition at line 75 of file camellia.h.
| #define CAMELLIA_DECRYPT 0 |
Definition at line 64 of file camellia.h.
| #define CAMELLIA_ENCRYPT 1 |
Definition at line 63 of file camellia.h.
| #define CAMELLIA_TABLE_BYTE_LEN 272 |
Definition at line 76 of file camellia.h.
| #define CAMELLIA_TABLE_WORD_LEN (CAMELLIA_TABLE_BYTE_LEN / 4) |
Definition at line 77 of file camellia.h.
| typedef struct camellia_key_st CAMELLIA_KEY |
Definition at line 89 of file camellia.h.
| typedef unsigned int KEY_TABLE_TYPE[CAMELLIA_TABLE_WORD_LEN] |
Definition at line 79 of file camellia.h.
| void Camellia_cbc_encrypt | ( | const unsigned char * | in, |
| unsigned char * | out, | ||
| size_t | length, | ||
| const CAMELLIA_KEY * | key, | ||
| unsigned char * | ivec, | ||
| const int | enc | ||
| ) |
Definition at line 55 of file cmll_cbc.c.
| void Camellia_cfb128_encrypt | ( | const unsigned char * | in, |
| unsigned char * | out, | ||
| size_t | length, | ||
| const CAMELLIA_KEY * | key, | ||
| unsigned char * | ivec, | ||
| int * | num, | ||
| const int | enc | ||
| ) |
Definition at line 117 of file cmll_cfb.c.
| void Camellia_cfb1_encrypt | ( | const unsigned char * | in, |
| unsigned char * | out, | ||
| size_t | length, | ||
| const CAMELLIA_KEY * | key, | ||
| unsigned char * | ivec, | ||
| int * | num, | ||
| const int | enc | ||
| ) |
Definition at line 126 of file cmll_cfb.c.
| void Camellia_cfb8_encrypt | ( | const unsigned char * | in, |
| unsigned char * | out, | ||
| size_t | length, | ||
| const CAMELLIA_KEY * | key, | ||
| unsigned char * | ivec, | ||
| int * | num, | ||
| const int | enc | ||
| ) |
Definition at line 133 of file cmll_cfb.c.
| void Camellia_ctr128_encrypt | ( | const unsigned char * | in, |
| unsigned char * | out, | ||
| size_t | length, | ||
| const CAMELLIA_KEY * | key, | ||
| unsigned char | ivec[CAMELLIA_BLOCK_SIZE], | ||
| unsigned char | ecount_buf[CAMELLIA_BLOCK_SIZE], | ||
| unsigned int * | num | ||
| ) |
Definition at line 55 of file cmll_ctr.c.
| void Camellia_decrypt | ( | const unsigned char * | in, |
| unsigned char * | out, | ||
| const CAMELLIA_KEY * | key | ||
| ) |
Definition at line 76 of file cmll_misc.c.
| void Camellia_ecb_encrypt | ( | const unsigned char * | in, |
| unsigned char * | out, | ||
| const CAMELLIA_KEY * | key, | ||
| const int | enc | ||
| ) |
Definition at line 62 of file cmll_ecb.c.
| void Camellia_encrypt | ( | const unsigned char * | in, |
| unsigned char * | out, | ||
| const CAMELLIA_KEY * | key | ||
| ) |
Definition at line 70 of file cmll_misc.c.
| void Camellia_ofb128_encrypt | ( | const unsigned char * | in, |
| unsigned char * | out, | ||
| size_t | length, | ||
| const CAMELLIA_KEY * | key, | ||
| unsigned char * | ivec, | ||
| int * | num | ||
| ) |
Definition at line 115 of file cmll_ofb.c.
| int Camellia_set_key | ( | const unsigned char * | userKey, |
| const int | bits, | ||
| CAMELLIA_KEY * | key | ||
| ) |
Definition at line 57 of file cmll_utl.c.
1.8.2