Linux Kernel
3.7.1
|
#include <crypto/algapi.h>
#include <crypto/aes.h>
#include <crypto/padlock.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/percpu.h>
#include <linux/smp.h>
#include <linux/slab.h>
#include <asm/cpu_device_id.h>
#include <asm/byteorder.h>
#include <asm/processor.h>
#include <asm/i387.h>
Go to the source code of this file.
Data Structures | |
struct | cword |
struct | aes_ctx |
Macros | |
#define | MAX_ECB_FETCH_BLOCKS (8) |
#define | ecb_fetch_bytes (ecb_fetch_blocks * AES_BLOCK_SIZE) |
#define | MAX_CBC_FETCH_BLOCKS (4) |
#define | cbc_fetch_bytes (cbc_fetch_blocks * AES_BLOCK_SIZE) |
Functions | |
struct cword | __attribute__ ((__aligned__(PADLOCK_ALIGNMENT))) |
MODULE_DEVICE_TABLE (x86cpu, padlock_cpu_id) | |
module_init (padlock_init) | |
module_exit (padlock_fini) | |
MODULE_DESCRIPTION ("VIA PadLock AES algorithm support") | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Michal Ludvig") | |
MODULE_ALIAS ("aes") | |
Variables | |
struct aes_ctx | __attribute__ |
#define cbc_fetch_bytes (cbc_fetch_blocks * AES_BLOCK_SIZE) |
Definition at line 37 of file padlock-aes.c.
#define ecb_fetch_bytes (ecb_fetch_blocks * AES_BLOCK_SIZE) |
Definition at line 33 of file padlock-aes.c.
#define MAX_CBC_FETCH_BLOCKS (4) |
Definition at line 36 of file padlock-aes.c.
#define MAX_ECB_FETCH_BLOCKS (8) |
Definition at line 32 of file padlock-aes.c.
struct cword __attribute__ | ( | (__aligned__(PADLOCK_ALIGNMENT)) | ) |
MODULE_ALIAS | ( | "aes" | ) |
MODULE_AUTHOR | ( | "Michal Ludvig" | ) |
MODULE_DEVICE_TABLE | ( | x86cpu | , |
padlock_cpu_id | |||
) |
module_exit | ( | padlock_fini | ) |
module_init | ( | padlock_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |