Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/cpumask.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/crypto.h>
#include <crypto/md5.h>
#include <crypto/sha.h>
#include <crypto/aes.h>
#include <crypto/des.h>
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <crypto/internal/hash.h>
#include <crypto/scatterwalk.h>
#include <crypto/algapi.h>
#include <asm/hypervisor.h>
#include <asm/mdesc.h>
#include "n2_core.h"
Go to the source code of this file.
Data Structures | |
struct | spu_queue |
struct | n2_request_common |
struct | n2_ahash_alg |
struct | n2_hmac_alg |
struct | n2_hash_ctx |
struct | n2_hmac_ctx |
struct | n2_hash_req_ctx |
struct | n2_cipher_context |
struct | n2_crypto_chunk |
struct | n2_request_context |
struct | n2_cipher_alg |
struct | n2_cipher_request_context |
struct | n2_cipher_tmpl |
struct | n2_hash_tmpl |
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | DRV_MODULE_NAME "n2_crypto" |
#define | DRV_MODULE_VERSION "0.2" |
#define | DRV_MODULE_RELDATE "July 28, 2011" |
#define | N2_CRA_PRIORITY 200 |
#define | OFFSET_NOT_RUNNING (~(unsigned int)0) |
#define | N2_HASH_KEY_MAX 32 /* HW limit for all HMAC requests */ |
#define | N2_CHUNK_ARR_LEN 16 |
#define | NUM_CIPHER_TMPLS ARRAY_SIZE(cipher_tmpls) |
#define | NUM_HASH_TMPLS ARRAY_SIZE(hash_tmpls) |
Functions | |
MODULE_AUTHOR ("David S. Miller ([email protected])") | |
MODULE_DESCRIPTION ("Niagara2 Crypto driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_VERSION (DRV_MODULE_VERSION) | |
MODULE_DEVICE_TABLE (of, n2_crypto_match) | |
MODULE_DEVICE_TABLE (of, n2_mau_match) | |
module_init (n2_init) | |
module_exit (n2_exit) | |
Variables | |
struct spu_queue | __attribute__ |
#define NUM_CIPHER_TMPLS ARRAY_SIZE(cipher_tmpls) |
#define NUM_HASH_TMPLS ARRAY_SIZE(hash_tmpls) |
MODULE_AUTHOR | ( | "David S. Miller ([email protected])" | ) |
MODULE_DESCRIPTION | ( | "Niagara2 Crypto driver" | ) |
MODULE_DEVICE_TABLE | ( | of | , |
n2_crypto_match | |||
) |
MODULE_DEVICE_TABLE | ( | of | , |
n2_mau_match | |||
) |
module_exit | ( | n2_exit | ) |
module_init | ( | n2_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_VERSION | ( | DRV_MODULE_VERSION | ) |