Linux Kernel
3.7.1
|
#include <linux/clk.h>
#include <linux/completion.h>
#include <linux/crypto.h>
#include <linux/dmaengine.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/irqreturn.h>
#include <linux/klist.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/semaphore.h>
#include <crypto/aes.h>
#include <crypto/algapi.h>
#include <crypto/ctr.h>
#include <crypto/des.h>
#include <crypto/scatterwalk.h>
#include <plat/ste_dma40.h>
#include <linux/platform_data/crypto-ux500.h>
#include <mach/hardware.h>
#include "cryp_p.h"
#include "cryp.h"
Go to the source code of this file.
Data Structures | |
struct | cryp_driver_data |
struct | cryp_ctx |
struct | cryp_algo_template |
Macros | |
#define | CRYP_MAX_KEY_SIZE 32 |
#define | BYTES_PER_WORD 4 |
#define | R_SHIFT_4_MASK 0xc0 /* Bits 6 and 7, right shift 4 */ |
#define | R_SHIFT_2_MASK |
#define | R_SHIFT_1_MASK |
#define | L_SHIFT_4_MASK 0x03 /* Bits 0 and 1, left shift 4 */ |
#define | L_SHIFT_2_MASK |
#define | L_SHIFT_1_MASK |
Functions | |
module_init (ux500_cryp_mod_init) | |
module_exit (ux500_cryp_mod_fini) | |
module_param (cryp_mode, int, 0) | |
MODULE_DESCRIPTION ("Driver for ST-Ericsson UX500 CRYP crypto engine.") | |
MODULE_ALIAS ("aes-all") | |
MODULE_ALIAS ("des-all") | |
MODULE_LICENSE ("GPL") | |
#define BYTES_PER_WORD 4 |
Definition at line 42 of file cryp_core.c.
#define CRYP_MAX_KEY_SIZE 32 |
Copyright (C) ST-Ericsson SA 2010 Author: Shujuan Chen shuju for ST-Ericsson. Author: Joakim Bech an.c hen@s teri csson .comjoaki for ST-Ericsson. Author: Berne Hebark m.xx .bech @ste ricss on.c omberne for ST-Ericsson. Author: Niklas Hernaeus .her bark@ ster icsso n.co mnikla for ST-Ericsson. Author: Jonas Linde s.he rnaeu s@st erics son. comjonas for ST-Ericsson. Author: Andreas Westin .lin de@st eric sson. comandre for ST-Ericsson. License terms: GNU General Public License (GPL) version 2 as.w estin @ste ricss on.c om
Definition at line 41 of file cryp_core.c.
#define L_SHIFT_1_MASK |
#define L_SHIFT_2_MASK |
#define L_SHIFT_4_MASK 0x03 /* Bits 0 and 1, left shift 4 */ |
#define R_SHIFT_1_MASK |
#define R_SHIFT_2_MASK |
#define R_SHIFT_4_MASK 0xc0 /* Bits 6 and 7, right shift 4 */ |
MODULE_ALIAS | ( | "aes-all" | ) |
MODULE_ALIAS | ( | "des-all" | ) |
module_exit | ( | ux500_cryp_mod_fini | ) |
module_init | ( | ux500_cryp_mod_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |