Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/hw_random.h>
#include <linux/platform_device.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/scatterlist.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <linux/crypto.h>
#include <linux/cryptohash.h>
#include <crypto/scatterwalk.h>
#include <crypto/algapi.h>
#include <crypto/aes.h>
#include <crypto/hash.h>
#include <crypto/internal/hash.h>
#include <linux/platform_data/atmel-aes.h>
#include "atmel-aes-regs.h"
Go to the source code of this file.
Data Structures | |
struct | atmel_aes_ctx |
struct | atmel_aes_reqctx |
struct | atmel_aes_dma |
struct | atmel_aes_dev |
struct | atmel_aes_drv |
Macros | |
#define | CFB8_BLOCK_SIZE 1 |
#define | CFB16_BLOCK_SIZE 2 |
#define | CFB32_BLOCK_SIZE 4 |
#define | CFB64_BLOCK_SIZE 8 |
#define | AES_FLAGS_MODE_MASK 0x01ff |
#define | AES_FLAGS_ENCRYPT BIT(0) |
#define | AES_FLAGS_CBC BIT(1) |
#define | AES_FLAGS_CFB BIT(2) |
#define | AES_FLAGS_CFB8 BIT(3) |
#define | AES_FLAGS_CFB16 BIT(4) |
#define | AES_FLAGS_CFB32 BIT(5) |
#define | AES_FLAGS_CFB64 BIT(6) |
#define | AES_FLAGS_OFB BIT(7) |
#define | AES_FLAGS_CTR BIT(8) |
#define | AES_FLAGS_INIT BIT(16) |
#define | AES_FLAGS_DMA BIT(17) |
#define | AES_FLAGS_BUSY BIT(18) |
#define | AES_FLAGS_DUALBUFF BIT(24) |
#define | ATMEL_AES_QUEUE_LENGTH 1 |
#define | ATMEL_AES_CACHE_SIZE 0 |
#define | ATMEL_AES_DMA_THRESHOLD 16 |
Functions | |
module_platform_driver (atmel_aes_driver) | |
MODULE_DESCRIPTION ("Atmel AES hw acceleration support.") | |
MODULE_LICENSE ("GPL v2") | |
MODULE_AUTHOR ("Nicolas Royer - Eukréa Electromatique") | |
#define AES_FLAGS_BUSY BIT(18) |
Definition at line 63 of file atmel-aes.c.
#define AES_FLAGS_CBC BIT(1) |
Definition at line 52 of file atmel-aes.c.
#define AES_FLAGS_CFB BIT(2) |
Definition at line 53 of file atmel-aes.c.
#define AES_FLAGS_CFB16 BIT(4) |
Definition at line 55 of file atmel-aes.c.
#define AES_FLAGS_CFB32 BIT(5) |
Definition at line 56 of file atmel-aes.c.
#define AES_FLAGS_CFB64 BIT(6) |
Definition at line 57 of file atmel-aes.c.
#define AES_FLAGS_CFB8 BIT(3) |
Definition at line 54 of file atmel-aes.c.
#define AES_FLAGS_CTR BIT(8) |
Definition at line 59 of file atmel-aes.c.
#define AES_FLAGS_DMA BIT(17) |
Definition at line 62 of file atmel-aes.c.
#define AES_FLAGS_DUALBUFF BIT(24) |
Definition at line 65 of file atmel-aes.c.
#define AES_FLAGS_ENCRYPT BIT(0) |
Definition at line 51 of file atmel-aes.c.
#define AES_FLAGS_INIT BIT(16) |
Definition at line 61 of file atmel-aes.c.
#define AES_FLAGS_MODE_MASK 0x01ff |
Definition at line 50 of file atmel-aes.c.
#define AES_FLAGS_OFB BIT(7) |
Definition at line 58 of file atmel-aes.c.
#define ATMEL_AES_CACHE_SIZE 0 |
Definition at line 68 of file atmel-aes.c.
#define ATMEL_AES_DMA_THRESHOLD 16 |
Definition at line 70 of file atmel-aes.c.
#define ATMEL_AES_QUEUE_LENGTH 1 |
Definition at line 67 of file atmel-aes.c.
#define CFB16_BLOCK_SIZE 2 |
Definition at line 45 of file atmel-aes.c.
#define CFB32_BLOCK_SIZE 4 |
Definition at line 46 of file atmel-aes.c.
#define CFB64_BLOCK_SIZE 8 |
Definition at line 47 of file atmel-aes.c.
#define CFB8_BLOCK_SIZE 1 |
Definition at line 44 of file atmel-aes.c.
MODULE_AUTHOR | ( | "Nicolas Royer - Eukréa Electromatique" | ) |
MODULE_DESCRIPTION | ( | "Atmel AES hw acceleration support." | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_platform_driver | ( | atmel_aes_driver | ) |