Linux Kernel
3.7.1
|
#include "compat.h"
#include "regs.h"
#include "intern.h"
#include "desc_constr.h"
#include "jr.h"
#include "error.h"
#include "sg_sw_sec4.h"
#include "key_gen.h"
Go to the source code of this file.
Data Structures | |
struct | caam_ctx |
struct | aead_edesc |
struct | ablkcipher_edesc |
struct | caam_alg_template |
struct | caam_crypto_alg |
Macros | |
#define | CAAM_CRA_PRIORITY 3000 |
#define | CAAM_MAX_KEY_SIZE |
#define | CAAM_MAX_IV_LENGTH 16 |
#define | DESC_JOB_IO_LEN (CAAM_CMD_SZ * 5 + CAAM_PTR_SZ * 3) |
#define | DESC_AEAD_BASE (4 * CAAM_CMD_SZ) |
#define | DESC_AEAD_ENC_LEN (DESC_AEAD_BASE + 16 * CAAM_CMD_SZ) |
#define | DESC_AEAD_DEC_LEN (DESC_AEAD_BASE + 21 * CAAM_CMD_SZ) |
#define | DESC_AEAD_GIVENC_LEN (DESC_AEAD_ENC_LEN + 7 * CAAM_CMD_SZ) |
#define | DESC_ABLKCIPHER_BASE (3 * CAAM_CMD_SZ) |
#define | DESC_ABLKCIPHER_ENC_LEN |
#define | DESC_ABLKCIPHER_DEC_LEN |
#define | DESC_MAX_USED_BYTES |
#define | DESC_MAX_USED_LEN (DESC_MAX_USED_BYTES / CAAM_CMD_SZ) |
#define | debug(format, arg...) |
#define | GIV_SRC_CONTIG 1 |
#define | GIV_DST_CONTIG (1 << 1) |
#define | template_aead template_u.aead |
#define | template_ablkcipher template_u.ablkcipher |
Functions | |
module_init (caam_algapi_init) | |
module_exit (caam_algapi_exit) | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("FSL CAAM support for crypto API") | |
MODULE_AUTHOR ("Freescale Semiconductor - NMG/STC") | |
#define CAAM_MAX_KEY_SIZE |
#define DESC_ABLKCIPHER_BASE (3 * CAAM_CMD_SZ) |
#define DESC_ABLKCIPHER_DEC_LEN |
#define DESC_ABLKCIPHER_ENC_LEN |
#define DESC_AEAD_BASE (4 * CAAM_CMD_SZ) |
#define DESC_AEAD_DEC_LEN (DESC_AEAD_BASE + 21 * CAAM_CMD_SZ) |
#define DESC_AEAD_ENC_LEN (DESC_AEAD_BASE + 16 * CAAM_CMD_SZ) |
#define DESC_AEAD_GIVENC_LEN (DESC_AEAD_ENC_LEN + 7 * CAAM_CMD_SZ) |
#define DESC_JOB_IO_LEN (CAAM_CMD_SZ * 5 + CAAM_PTR_SZ * 3) |
#define DESC_MAX_USED_BYTES |
#define DESC_MAX_USED_LEN (DESC_MAX_USED_BYTES / CAAM_CMD_SZ) |
MODULE_AUTHOR | ( | "Freescale Semiconductor - NMG/STC" | ) |
module_exit | ( | caam_algapi_exit | ) |
module_init | ( | caam_algapi_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |