Linux Kernel
3.7.1
|
#include <crypto/aead.h>
#include <crypto/aes.h>
#include <crypto/algapi.h>
#include <crypto/authenc.h>
#include <crypto/des.h>
#include <crypto/md5.h>
#include <crypto/sha.h>
#include <crypto/internal/skcipher.h>
#include <linux/clk.h>
#include <linux/crypto.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/rtnetlink.h>
#include <linux/scatterlist.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/timer.h>
#include "picoxcell_crypto_regs.h"
Go to the source code of this file.
Data Structures | |
struct | spacc_ddt |
struct | spacc_req |
struct | spacc_engine |
struct | spacc_alg |
struct | spacc_generic_ctx |
struct | spacc_ablk_ctx |
struct | spacc_aead_ctx |
Macros | |
#define | CMD0_IRQ_THRESHOLD 1 |
#define | PACKET_TIMEOUT 1 |
#define | SPACC_CRYPTO_ALG_PRIORITY 10000 |
#define | SPACC_CRYPTO_KASUMI_F8_KEY_LEN 16 |
#define | SPACC_CRYPTO_IPSEC_CIPHER_PG_SZ 64 |
#define | SPACC_CRYPTO_IPSEC_HASH_PG_SZ 64 |
#define | SPACC_CRYPTO_IPSEC_MAX_CTXS 32 |
#define | SPACC_CRYPTO_IPSEC_FIFO_SZ 32 |
#define | SPACC_CRYPTO_L2_CIPHER_PG_SZ 64 |
#define | SPACC_CRYPTO_L2_HASH_PG_SZ 64 |
#define | SPACC_CRYPTO_L2_MAX_CTXS 128 |
#define | SPACC_CRYPTO_L2_FIFO_SZ 128 |
#define | MAX_DDT_LEN 16 |
#define | SPACC_CRYPTO_ALG_MASK 0x7 |
#define | spacc_of_id_table NULL |
Functions | |
module_platform_driver (spacc_driver) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Jamie Iles") | |
#define CMD0_IRQ_THRESHOLD 1 |
Definition at line 53 of file picoxcell_crypto.c.
#define MAX_DDT_LEN 16 |
Definition at line 77 of file picoxcell_crypto.c.
#define PACKET_TIMEOUT 1 |
Definition at line 62 of file picoxcell_crypto.c.
#define SPACC_CRYPTO_ALG_MASK 0x7 |
Definition at line 135 of file picoxcell_crypto.c.
#define SPACC_CRYPTO_ALG_PRIORITY 10000 |
Definition at line 65 of file picoxcell_crypto.c.
#define SPACC_CRYPTO_IPSEC_CIPHER_PG_SZ 64 |
Definition at line 68 of file picoxcell_crypto.c.
#define SPACC_CRYPTO_IPSEC_FIFO_SZ 32 |
Definition at line 71 of file picoxcell_crypto.c.
#define SPACC_CRYPTO_IPSEC_HASH_PG_SZ 64 |
Definition at line 69 of file picoxcell_crypto.c.
#define SPACC_CRYPTO_IPSEC_MAX_CTXS 32 |
Definition at line 70 of file picoxcell_crypto.c.
#define SPACC_CRYPTO_KASUMI_F8_KEY_LEN 16 |
Definition at line 67 of file picoxcell_crypto.c.
#define SPACC_CRYPTO_L2_CIPHER_PG_SZ 64 |
Definition at line 72 of file picoxcell_crypto.c.
#define SPACC_CRYPTO_L2_FIFO_SZ 128 |
Definition at line 75 of file picoxcell_crypto.c.
#define SPACC_CRYPTO_L2_HASH_PG_SZ 64 |
Definition at line 73 of file picoxcell_crypto.c.
#define SPACC_CRYPTO_L2_MAX_CTXS 128 |
Definition at line 74 of file picoxcell_crypto.c.
#define spacc_of_id_table NULL |
Definition at line 1692 of file picoxcell_crypto.c.
MODULE_AUTHOR | ( | "Jamie Iles" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | spacc_driver | ) |