Linux Kernel
3.7.1
|
#include <linux/crypto.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/types.h>
#include <crypto/algapi.h>
#include <asm/fpumacro.h>
#include <asm/pstate.h>
#include <asm/elf.h>
#include "opcodes.h"
#include "crop_devid.c"
Go to the source code of this file.
Data Structures | |
struct | camellia_sparc64_ctx |
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#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_BLOCK_MASK (~(CAMELLIA_BLOCK_SIZE - 1)) |
Typedefs | |
typedef void | ecb_crypt_op (const u64 *input, u64 *output, unsigned int len, const u64 *key) |
typedef void | cbc_crypt_op (const u64 *input, u64 *output, unsigned int len, const u64 *key, u64 *iv) |
Functions | |
void | camellia_sparc64_key_expand (const u32 *in_key, u64 *encrypt_key, unsigned int key_len, u64 *decrypt_key) |
void | camellia_sparc64_crypt (const u64 *key, const u32 *input, u32 *output, unsigned int key_len) |
void | camellia_sparc64_load_keys (const u64 *key, unsigned int key_len) |
module_init (camellia_sparc64_mod_init) | |
module_exit (camellia_sparc64_mod_fini) | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("Camellia Cipher Algorithm, sparc64 camellia opcode accelerated") | |
MODULE_ALIAS ("aes") | |
#define CAMELLIA_BLOCK_MASK (~(CAMELLIA_BLOCK_SIZE - 1)) |
Definition at line 83 of file camellia_glue.c.
#define CAMELLIA_BLOCK_SIZE 16 |
Definition at line 23 of file camellia_glue.c.
#define CAMELLIA_MAX_KEY_SIZE 32 |
Definition at line 22 of file camellia_glue.c.
#define CAMELLIA_MIN_KEY_SIZE 16 |
Definition at line 21 of file camellia_glue.c.
#define CAMELLIA_TABLE_BYTE_LEN 272 |
Definition at line 24 of file camellia_glue.c.
Definition at line 6 of file camellia_glue.c.
Definition at line 139 of file camellia_glue.c.
Definition at line 77 of file camellia_glue.c.
void camellia_sparc64_crypt | ( | const u64 * | key, |
const u32 * | input, | ||
u32 * | output, | ||
unsigned int | key_len | ||
) |
void camellia_sparc64_key_expand | ( | const u32 * | in_key, |
u64 * | encrypt_key, | ||
unsigned int | key_len, | ||
u64 * | decrypt_key | ||
) |
MODULE_ALIAS | ( | "aes" | ) |
MODULE_DESCRIPTION | ( | "Camellia Cipher | Algorithm, |
sparc64 camellia opcode accelerated" | |||
) |
module_exit | ( | camellia_sparc64_mod_fini | ) |
module_init | ( | camellia_sparc64_mod_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
cbc_crypt_op camellia_sparc64_cbc_decrypt_3_grand_rounds |
cbc_crypt_op camellia_sparc64_cbc_decrypt_4_grand_rounds |
cbc_crypt_op camellia_sparc64_cbc_encrypt_3_grand_rounds |
cbc_crypt_op camellia_sparc64_cbc_encrypt_4_grand_rounds |
ecb_crypt_op camellia_sparc64_ecb_crypt_3_grand_rounds |
ecb_crypt_op camellia_sparc64_ecb_crypt_4_grand_rounds |