Linux Kernel
3.7.1
|
#include <crypto/aes.h>
#include <crypto/algapi.h>
#include <linux/crypto.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/kthread.h>
#include <linux/platform_device.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/clk.h>
#include <crypto/internal/hash.h>
#include <crypto/sha.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/of_irq.h>
#include "mv_cesa.h"
Go to the source code of this file.
Data Structures | |
struct | req_progress |
struct | crypto_priv |
struct | mv_ctx |
struct | mv_req_ctx |
struct | mv_tfm_hash_ctx |
struct | mv_req_hash_ctx |
Macros | |
#define | MV_CESA "MV-CESA:" |
#define | MAX_HW_HASH_SIZE 0xFFFF |
#define | MV_CESA_EXPIRE 500 /* msec */ |
Enumerations | |
enum | engine_status { ENGINE_IDLE, ENGINE_BUSY, ENGINE_W_DEQUEUE } |
enum | crypto_op { COP_AES_ECB, COP_AES_CBC } |
enum | hash_op { COP_SHA1, COP_HMAC_SHA1, HASH_OPER_MODE_HASH = 0x0, HASH_OPER_MODE_HMAC = 0x1 } |
Functions | |
irqreturn_t | crypto_int (int irq, void *priv) |
MODULE_DEVICE_TABLE (of, mv_cesa_of_match_table) | |
MODULE_ALIAS ("platform:mv_crypto") | |
module_platform_driver (marvell_crypto) | |
MODULE_AUTHOR ("Sebastian Andrzej Siewior <sebastian@breakpoint.cc>") | |
MODULE_DESCRIPTION ("Support for Marvell's cryptographic engine") | |
MODULE_LICENSE ("GPL") | |
Variables | |
struct crypto_alg | mv_aes_alg_ecb |
struct crypto_alg | mv_aes_alg_cbc |
struct ahash_alg | mv_sha1_alg |
struct ahash_alg | mv_hmac_sha1_alg |
enum engine_status |
enum hash_op |
irqreturn_t crypto_int | ( | int | irq, |
void * | priv | ||
) |
MODULE_ALIAS | ( | "platform:mv_crypto" | ) |
MODULE_AUTHOR | ( | "Sebastian Andrzej Siewior <sebastian@breakpoint.cc>" | ) |
MODULE_DEVICE_TABLE | ( | of | , |
mv_cesa_of_match_table | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | marvell_crypto | ) |
struct crypto_alg mv_aes_alg_cbc |
struct crypto_alg mv_aes_alg_ecb |