Linux Kernel
3.7.1
|
#include <linux/crypto.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/bitops.h>
#include <asm/unaligned.h>
Go to the source code of this file.
Data Structures | |
struct | camellia_ctx |
Macros | |
#define | CAMELLIA_MIN_KEY_SIZE 16 |
#define | CAMELLIA_MAX_KEY_SIZE 32 |
#define | CAMELLIA_BLOCK_SIZE 16 |
#define | CAMELLIA_TABLE_BYTE_LEN 272 |
#define | CAMELLIA_SIGMA1L (0xA09E667FL) |
#define | CAMELLIA_SIGMA1R (0x3BCC908BL) |
#define | CAMELLIA_SIGMA2L (0xB67AE858L) |
#define | CAMELLIA_SIGMA2R (0x4CAA73B2L) |
#define | CAMELLIA_SIGMA3L (0xC6EF372FL) |
#define | CAMELLIA_SIGMA3R (0xE94F82BEL) |
#define | CAMELLIA_SIGMA4L (0x54FF53A5L) |
#define | CAMELLIA_SIGMA4R (0xF1D36F1CL) |
#define | CAMELLIA_SIGMA5L (0x10E527FAL) |
#define | CAMELLIA_SIGMA5R (0xDE682D1DL) |
#define | CAMELLIA_SIGMA6L (0xB05688C2L) |
#define | CAMELLIA_SIGMA6R (0xB3E6C1FDL) |
#define | ROLDQ(ll, lr, rl, rr, w0, w1, bits) |
#define | ROLDQo32(ll, lr, rl, rr, w0, w1, bits) |
#define | CAMELLIA_F(xl, xr, kl, kr, yl, yr, il, ir, t0, t1) |
#define | SUBKEY_L(INDEX) (subkey[(INDEX)*2]) |
#define | SUBKEY_R(INDEX) (subkey[(INDEX)*2 + 1]) |
#define | CAMELLIA_FLS(ll, lr, rl, rr, kll, klr, krl, krr, t0, t1, t2, t3) |
#define | CAMELLIA_ROUNDSM(xl, xr, kl, kr, yl, yr, il, ir) |
#define | ROUNDS(i) |
#define | FLS(i) |
#define | ROUNDS(i) |
#define | FLS(i) |
Functions | |
module_init (camellia_init) | |
module_exit (camellia_fini) | |
MODULE_DESCRIPTION ("Camellia Cipher Algorithm") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("camellia") | |
#define CAMELLIA_BLOCK_SIZE 16 |
Definition at line 312 of file camellia_generic.c.
#define CAMELLIA_MAX_KEY_SIZE 32 |
Definition at line 311 of file camellia_generic.c.
#define CAMELLIA_MIN_KEY_SIZE 16 |
Definition at line 310 of file camellia_generic.c.
#define CAMELLIA_SIGMA1L (0xA09E667FL) |
Definition at line 324 of file camellia_generic.c.
#define CAMELLIA_SIGMA1R (0x3BCC908BL) |
Definition at line 325 of file camellia_generic.c.
#define CAMELLIA_SIGMA2L (0xB67AE858L) |
Definition at line 326 of file camellia_generic.c.
#define CAMELLIA_SIGMA2R (0x4CAA73B2L) |
Definition at line 327 of file camellia_generic.c.
#define CAMELLIA_SIGMA3L (0xC6EF372FL) |
Definition at line 328 of file camellia_generic.c.
#define CAMELLIA_SIGMA3R (0xE94F82BEL) |
Definition at line 329 of file camellia_generic.c.
#define CAMELLIA_SIGMA4L (0x54FF53A5L) |
Definition at line 330 of file camellia_generic.c.
#define CAMELLIA_SIGMA4R (0xF1D36F1CL) |
Definition at line 331 of file camellia_generic.c.
#define CAMELLIA_SIGMA5L (0x10E527FAL) |
Definition at line 332 of file camellia_generic.c.
#define CAMELLIA_SIGMA5R (0xDE682D1DL) |
Definition at line 333 of file camellia_generic.c.
#define CAMELLIA_SIGMA6L (0xB05688C2L) |
Definition at line 334 of file camellia_generic.c.
#define CAMELLIA_SIGMA6R (0xB3E6C1FDL) |
Definition at line 335 of file camellia_generic.c.
#define CAMELLIA_TABLE_BYTE_LEN 272 |
Definition at line 313 of file camellia_generic.c.
#define FLS | ( | i | ) |
#define FLS | ( | i | ) |
#define ROUNDS | ( | i | ) |
#define ROUNDS | ( | i | ) |
Definition at line 375 of file camellia_generic.c.
Definition at line 376 of file camellia_generic.c.
MODULE_ALIAS | ( | "camellia" | ) |
MODULE_DESCRIPTION | ( | "Camellia Cipher Algorithm" | ) |
module_exit | ( | camellia_fini | ) |
module_init | ( | camellia_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |