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/des.h>
#include <crypto/hash.h>
#include <crypto/internal/hash.h>
#include "atmel-tdes-regs.h"
Go to the source code of this file.
Data Structures | |
struct | atmel_tdes_ctx |
struct | atmel_tdes_reqctx |
struct | atmel_tdes_dev |
struct | atmel_tdes_drv |
Macros | |
#define | TDES_FLAGS_MODE_MASK 0x007f |
#define | TDES_FLAGS_ENCRYPT BIT(0) |
#define | TDES_FLAGS_CBC BIT(1) |
#define | TDES_FLAGS_CFB BIT(2) |
#define | TDES_FLAGS_CFB8 BIT(3) |
#define | TDES_FLAGS_CFB16 BIT(4) |
#define | TDES_FLAGS_CFB32 BIT(5) |
#define | TDES_FLAGS_OFB BIT(6) |
#define | TDES_FLAGS_INIT BIT(16) |
#define | TDES_FLAGS_FAST BIT(17) |
#define | TDES_FLAGS_BUSY BIT(18) |
#define | ATMEL_TDES_QUEUE_LENGTH 1 |
#define | CFB8_BLOCK_SIZE 1 |
#define | CFB16_BLOCK_SIZE 2 |
#define | CFB32_BLOCK_SIZE 4 |
#define | CFB64_BLOCK_SIZE 8 |
Functions | |
module_platform_driver (atmel_tdes_driver) | |
MODULE_DESCRIPTION ("Atmel DES/TDES hw acceleration support.") | |
MODULE_LICENSE ("GPL v2") | |
MODULE_AUTHOR ("Nicolas Royer - Eukréa Electromatique") | |
#define ATMEL_TDES_QUEUE_LENGTH 1 |
Definition at line 57 of file atmel-tdes.c.
#define CFB16_BLOCK_SIZE 2 |
Definition at line 60 of file atmel-tdes.c.
#define CFB32_BLOCK_SIZE 4 |
Definition at line 61 of file atmel-tdes.c.
#define CFB64_BLOCK_SIZE 8 |
Definition at line 62 of file atmel-tdes.c.
#define CFB8_BLOCK_SIZE 1 |
Definition at line 59 of file atmel-tdes.c.
#define TDES_FLAGS_BUSY BIT(18) |
Definition at line 55 of file atmel-tdes.c.
#define TDES_FLAGS_CBC BIT(1) |
Definition at line 46 of file atmel-tdes.c.
#define TDES_FLAGS_CFB BIT(2) |
Definition at line 47 of file atmel-tdes.c.
#define TDES_FLAGS_CFB16 BIT(4) |
Definition at line 49 of file atmel-tdes.c.
#define TDES_FLAGS_CFB32 BIT(5) |
Definition at line 50 of file atmel-tdes.c.
#define TDES_FLAGS_CFB8 BIT(3) |
Definition at line 48 of file atmel-tdes.c.
#define TDES_FLAGS_ENCRYPT BIT(0) |
Definition at line 45 of file atmel-tdes.c.
#define TDES_FLAGS_FAST BIT(17) |
Definition at line 54 of file atmel-tdes.c.
#define TDES_FLAGS_INIT BIT(16) |
Definition at line 53 of file atmel-tdes.c.
#define TDES_FLAGS_MODE_MASK 0x007f |
Definition at line 44 of file atmel-tdes.c.
#define TDES_FLAGS_OFB BIT(6) |
Definition at line 51 of file atmel-tdes.c.
MODULE_AUTHOR | ( | "Nicolas Royer - Eukréa Electromatique" | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_platform_driver | ( | atmel_tdes_driver | ) |