Linux Kernel
3.7.1
|
#include <linux/err.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/scatterlist.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <linux/unaligned/access_ok.h>
#include <linux/crypto.h>
#include <linux/cryptohash.h>
#include <crypto/scatterwalk.h>
#include <crypto/algapi.h>
#include <crypto/hash.h>
#include <crypto/internal/hash.h>
#include <asm/blackfin.h>
#include <asm/bfin_crc.h>
#include <asm/dma.h>
#include <asm/portmux.h>
Go to the source code of this file.
Data Structures | |
struct | bfin_crypto_crc |
struct | bfin_crypto_crc_list |
struct | bfin_crypto_crc_reqctx |
struct | bfin_crypto_crc_ctx |
Macros | |
#define | CRC_CCRYPTO_QUEUE_LENGTH 5 |
#define | DRIVER_NAME "bfin-hmac-crc" |
#define | CHKSUM_DIGEST_SIZE 4 |
#define | CHKSUM_BLOCK_SIZE 1 |
#define | CRC_MAX_DMA_DESC 100 |
#define | CRC_CRYPTO_STATE_UPDATE 1 |
#define | CRC_CRYPTO_STATE_FINALUPDATE 2 |
#define | CRC_CRYPTO_STATE_FINISH 3 |
#define | bfin_crypto_crc_suspend NULL |
#define | bfin_crypto_crc_resume NULL |
Functions | |
module_init (bfin_crypto_crc_mod_init) | |
module_exit (bfin_crypto_crc_mod_exit) | |
MODULE_AUTHOR ("Sonic Zhang <[email protected]>") | |
MODULE_DESCRIPTION ("Blackfin CRC hardware crypto driver") | |
MODULE_LICENSE ("GPL") | |
#define bfin_crypto_crc_resume NULL |
Definition at line 583 of file bfin_crc.c.
#define bfin_crypto_crc_suspend NULL |
Definition at line 580 of file bfin_crc.c.
#define CHKSUM_BLOCK_SIZE 1 |
Definition at line 41 of file bfin_crc.c.
#define CHKSUM_DIGEST_SIZE 4 |
Definition at line 40 of file bfin_crc.c.
#define CRC_CCRYPTO_QUEUE_LENGTH 5 |
Definition at line 37 of file bfin_crc.c.
#define CRC_CRYPTO_STATE_FINALUPDATE 2 |
Definition at line 46 of file bfin_crc.c.
#define CRC_CRYPTO_STATE_FINISH 3 |
Definition at line 47 of file bfin_crc.c.
#define CRC_CRYPTO_STATE_UPDATE 1 |
Definition at line 45 of file bfin_crc.c.
#define CRC_MAX_DMA_DESC 100 |
Definition at line 43 of file bfin_crc.c.
#define DRIVER_NAME "bfin-hmac-crc" |
Definition at line 39 of file bfin_crc.c.
MODULE_AUTHOR | ( | "Sonic Zhang <[email protected]>" | ) |
module_exit | ( | bfin_crypto_crc_mod_exit | ) |
module_init | ( | bfin_crypto_crc_mod_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |