Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | sec4_sg_entry |
#define FIFOLD_IMM (1 << FIFOLD_IMM_SHIFT) |
#define FIFOLD_IMM_MASK (1 << FIFOLD_IMM_SHIFT) |
#define FIFOLDST_EXT (1 << FIFOLDST_EXT_SHIFT) |
#define FIFOLDST_EXT_MASK (1 << FIFOLDST_EXT_SHIFT) |
#define FIFOLDST_SGF (1 << FIFOLDST_SGF_SHIFT) |
#define FIFOLDST_SGF_MASK (1 << FIFOLDST_SGF_SHIFT) |
#define FIFOLDST_VLF (1 << FIFOLDST_SGF_SHIFT) |
#define FIFOLDST_VLF_MASK (1 << FIFOLDST_SGF_SHIFT) |
#define FIFOST_CONT_MASK (1 << FIFOST_CONT_SHIFT) |
#define FIFOST_CONT_MASK (1 << FIFOST_CONT_SHIFT) |
#define JUMP_CLASS_BOTH (3 << JUMP_CLASS_SHIFT) |
#define JUMP_CLASS_CLASS1 (1 << JUMP_CLASS_SHIFT) |
#define JUMP_CLASS_CLASS2 (2 << JUMP_CLASS_SHIFT) |
#define JUMP_CLASS_MASK (3 << JUMP_CLASS_SHIFT) |
#define JUMP_COND_CALM ((0x10 << JUMP_COND_SHIFT) | JUMP_JSL) |
#define JUMP_COND_JRP ((0x80 << JUMP_COND_SHIFT) | JUMP_JSL) |
#define JUMP_COND_NCP ((0x01 << JUMP_COND_SHIFT) | JUMP_JSL) |
#define JUMP_COND_NIFP ((0x04 << JUMP_COND_SHIFT) | JUMP_JSL) |
#define JUMP_COND_NIP ((0x08 << JUMP_COND_SHIFT) | JUMP_JSL) |
#define JUMP_COND_NOP ((0x02 << JUMP_COND_SHIFT) | JUMP_JSL) |
#define JUMP_COND_SELF ((0x20 << JUMP_COND_SHIFT) | JUMP_JSL) |
#define JUMP_COND_SHRD ((0x40 << JUMP_COND_SHIFT) | JUMP_JSL) |
#define JUMP_JSL (1 << JUMP_JSL_SHIFT) |
#define JUMP_JSL_MASK (1 << JUMP_JSL_SHIFT) |
#define LDLEN_SET_OFIFO_OFFSET_MASK (3 << LDLEN_SET_OFIFO_OFFSET_SHIFT) |
#define LDOFF_CHG_NONSEQLIODN_MASK (0x3 << LDOFF_CHG_NONSEQLIODN_SHIFT) |
#define LDOFF_CHG_NONSEQLIODN_NON_SEQ (0x2 << LDOFF_CHG_NONSEQLIODN_SHIFT) |
#define LDOFF_CHG_NONSEQLIODN_SEQ (0x1 << LDOFF_CHG_NONSEQLIODN_SHIFT) |
#define LDOFF_CHG_NONSEQLIODN_TRUSTED (0x3 << LDOFF_CHG_NONSEQLIODN_SHIFT) |
#define LDOFF_CHG_SEQLIODN_MASK (0x3 << LDOFF_CHG_SEQLIODN_SHIFT) |
#define LDOFF_CHG_SEQLIODN_NON_SEQ (0x2 << LDOFF_CHG_SEQLIODN_SHIFT) |
#define LDOFF_CHG_SEQLIODN_SEQ (0x1 << LDOFF_CHG_SEQLIODN_SHIFT) |
#define LDOFF_CHG_SEQLIODN_TRUSTED (0x3 << LDOFF_CHG_SEQLIODN_SHIFT) |
#define LDOFF_CHG_SHARE_OK_NO_PROP (0x3 << LDOFF_CHG_SHARE_SHIFT) |
#define LDOFF_CHG_SHARE_OK_PROP (0x2 << LDOFF_CHG_SHARE_SHIFT) |
#define LDST_IMM (LDST_IMM_MASK << LDST_IMM_SHIFT) |
#define LDST_SRCDST_WORD_ALTDS_CLASS1 (0x0f << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_CLASS1_ICV_SZ (0x0c << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_DATASZ_REG (0x02 << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_DECO_AAD_SZ (0x0b << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_DECO_MATH0 (0x08 << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_DECO_MATH1 (0x09 << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_DECO_MATH2 (0x0a << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_DECO_MATH3 (0x0b << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_DECO_PCLOVRD (0x07 << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_DECOCTRL (0x06 << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_ICVSZ_REG (0x03 << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_INFO_FIFO (0x7a << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_KEYSZ_REG (0x01 << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_MODE_REG (0x00 << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_PKHA_A_SZ (0x10 << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_PKHA_B_SZ (0x11 << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_PKHA_E_SZ (0x13 << LDST_SRCDST_SHIFT) |
#define LDST_SRCDST_WORD_PKHA_N_SZ (0x12 << LDST_SRCDST_SHIFT) |
#define MATH_IFB (1 << MATH_IFB_SHIFT) |
#define MATH_IFB_MASK (1 << MATH_IFB_SHIFT) |
#define MATH_NFU (1 << MATH_NFU_SHIFT) |
#define MATH_NFU_MASK (1 << MATH_NFU_SHIFT) |
#define MATH_STL (1 << MATH_STL_SHIFT) |
#define MATH_STL_MASK (1 << MATH_STL_SHIFT) |
#define MOVE_AUX_LS (1 << MOVE_AUX_SHIFT) |
#define MOVE_AUX_MASK (3 << MOVE_AUX_SHIFT) |
#define MOVE_AUX_MS (2 << MOVE_AUX_SHIFT) |
#define MOVE_WAITCOMP (1 << MOVE_WAITCOMP_SHIFT) |
#define MOVE_WAITCOMP_MASK (1 << MOVE_WAITCOMP_SHIFT) |
#define NFIFOENTRY_AST (1 << NFIFOENTRY_OC_SHIFT) |
#define NFIFOENTRY_AST_MASK (1 << NFIFOENTRY_OC_SHIFT) |
#define NFIFOENTRY_BM (1 << NFIFOENTRY_BM_SHIFT) |
#define NFIFOENTRY_BM_MASK (1 << NFIFOENTRY_BM_SHIFT) |
#define NFIFOENTRY_BND (1 << NFIFOENTRY_BND_SHIFT) |
#define NFIFOENTRY_BND_MASK (1 << NFIFOENTRY_BND_SHIFT) |
#define NFIFOENTRY_DEST_BOTH (3 << NFIFOENTRY_DEST_SHIFT) |
#define NFIFOENTRY_DEST_CLASS1 (1 << NFIFOENTRY_DEST_SHIFT) |
#define NFIFOENTRY_DEST_CLASS2 (2 << NFIFOENTRY_DEST_SHIFT) |
#define NFIFOENTRY_DEST_DECO (0 << NFIFOENTRY_DEST_SHIFT) |
#define NFIFOENTRY_DEST_MASK (3 << NFIFOENTRY_DEST_SHIFT) |
#define NFIFOENTRY_DLEN_MASK (0xFFF << NFIFOENTRY_DLEN_SHIFT) |
#define NFIFOENTRY_DTYPE_AAD (0x1 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_ICV (0xA << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_MASK (0xF << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_MSG (0xF << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_A (0xC << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_A0 (0x0 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_A1 (0x1 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_A2 (0x2 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_A3 (0x3 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_B (0xD << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_B0 (0x4 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_B1 (0x5 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_B2 (0x6 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_B3 (0x7 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_E (0x9 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_PK_N (0x8 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_SAD (0x3 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_SBOX (0x0 << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_DTYPE_SKIP (0xE << NFIFOENTRY_DTYPE_SHIFT) |
#define NFIFOENTRY_FC1 (1 << NFIFOENTRY_FC1_SHIFT) |
#define NFIFOENTRY_FC1_MASK (1 << NFIFOENTRY_FC1_SHIFT) |
#define NFIFOENTRY_FC2 (1 << NFIFOENTRY_FC2_SHIFT) |
#define NFIFOENTRY_FC2_MASK (1 << NFIFOENTRY_FC2_SHIFT) |
#define NFIFOENTRY_LC1 (1 << NFIFOENTRY_LC1_SHIFT) |
#define NFIFOENTRY_LC1_MASK (1 << NFIFOENTRY_LC1_SHIFT) |
#define NFIFOENTRY_LC2 (1 << NFIFOENTRY_LC2_SHIFT) |
#define NFIFOENTRY_LC2_MASK (1 << NFIFOENTRY_LC2_SHIFT) |
#define NFIFOENTRY_OC (1 << NFIFOENTRY_OC_SHIFT) |
#define NFIFOENTRY_OC_MASK (1 << NFIFOENTRY_OC_SHIFT) |
#define NFIFOENTRY_PLEN_MASK (0xFF << NFIFOENTRY_PLEN_SHIFT) |
#define NFIFOENTRY_PS (1 << NFIFOENTRY_PS_SHIFT) |
#define NFIFOENTRY_PS_MASK (1 << NFIFOENTRY_PS_SHIFT) |
#define NFIFOENTRY_PTYPE_INCREMENT (0x2 << NFIFOENTRY_PTYPE_SHIFT) |
#define NFIFOENTRY_PTYPE_MASK (0x7 << NFIFOENTRY_PTYPE_SHIFT) |
#define NFIFOENTRY_PTYPE_RND (0x3 << NFIFOENTRY_PTYPE_SHIFT) |
#define NFIFOENTRY_PTYPE_RND_NOZEROS (0x1 << NFIFOENTRY_PTYPE_SHIFT) |
#define NFIFOENTRY_PTYPE_RND_NZ_LZ (0x5 << NFIFOENTRY_PTYPE_SHIFT) |
#define NFIFOENTRY_PTYPE_RND_NZ_N (0x7 << NFIFOENTRY_PTYPE_SHIFT) |
#define NFIFOENTRY_PTYPE_ZEROS (0x0 << NFIFOENTRY_PTYPE_SHIFT) |
#define NFIFOENTRY_PTYPE_ZEROS_NZ (0x4 << NFIFOENTRY_PTYPE_SHIFT) |
#define NFIFOENTRY_STYPE_DFIFO (0 << NFIFOENTRY_STYPE_SHIFT) |
#define NFIFOENTRY_STYPE_MASK (3 << NFIFOENTRY_STYPE_SHIFT) |
#define NFIFOENTRY_STYPE_OFIFO (1 << NFIFOENTRY_STYPE_SHIFT) |
#define NFIFOENTRY_STYPE_PAD (2 << NFIFOENTRY_STYPE_SHIFT) |
#define NFIFOENTRY_STYPE_SNOOP (3 << NFIFOENTRY_STYPE_SHIFT) |
#define OP_ALG_AS_FINALIZE (2 << OP_ALG_AS_SHIFT) |
#define OP_ALG_AS_INIT (1 << OP_ALG_AS_SHIFT) |
#define OP_ALG_AS_INITFINAL (3 << OP_ALG_AS_SHIFT) |
#define OP_ALG_AS_UPDATE (0 << OP_ALG_AS_SHIFT) |
#define OP_ALG_ICV_MASK (1 << OP_ALG_ICV_SHIFT) |
#define OP_ALG_ICV_OFF (0 << OP_ALG_ICV_SHIFT) |
#define OP_ALG_ICV_ON (1 << OP_ALG_ICV_SHIFT) |
#define OP_ALG_PK_FUN_MASK 0x3f /* clrmem, modmath, or cpymem */ |
#define OP_ALG_PKMODE_DST_REG_A (0 << OP_ALG_PKMODE_DST_REG_SHIFT) |
#define OP_ALG_PKMODE_DST_REG_B (1 << OP_ALG_PKMODE_DST_REG_SHIFT) |
#define OP_ALG_PKMODE_DST_REG_E (2 << OP_ALG_PKMODE_DST_REG_SHIFT) |
#define OP_ALG_PKMODE_DST_REG_MASK (7 << OP_ALG_PKMODE_DST_REG_SHIFT) |
#define OP_ALG_PKMODE_DST_REG_N (3 << OP_ALG_PKMODE_DST_REG_SHIFT) |
#define OP_ALG_PKMODE_DST_SEG_0 (0 << OP_ALG_PKMODE_DST_SEG_SHIFT) |
#define OP_ALG_PKMODE_DST_SEG_1 (1 << OP_ALG_PKMODE_DST_SEG_SHIFT) |
#define OP_ALG_PKMODE_DST_SEG_2 (2 << OP_ALG_PKMODE_DST_SEG_SHIFT) |
#define OP_ALG_PKMODE_DST_SEG_3 (3 << OP_ALG_PKMODE_DST_SEG_SHIFT) |
#define OP_ALG_PKMODE_DST_SEG_MASK (3 << OP_ALG_PKMODE_DST_SEG_SHIFT) |
#define OP_ALG_PKMODE_SRC_REG_A (0 << OP_ALG_PKMODE_SRC_REG_SHIFT) |
#define OP_ALG_PKMODE_SRC_REG_B (1 << OP_ALG_PKMODE_SRC_REG_SHIFT) |
#define OP_ALG_PKMODE_SRC_REG_MASK (7 << OP_ALG_PKMODE_SRC_REG_SHIFT) |
#define OP_ALG_PKMODE_SRC_REG_N (3 << OP_ALG_PKMODE_SRC_REG_SHIFT) |
#define OP_ALG_PKMODE_SRC_SEG_0 (0 << OP_ALG_PKMODE_SRC_SEG_SHIFT) |
#define OP_ALG_PKMODE_SRC_SEG_1 (1 << OP_ALG_PKMODE_SRC_SEG_SHIFT) |
#define OP_ALG_PKMODE_SRC_SEG_2 (2 << OP_ALG_PKMODE_SRC_SEG_SHIFT) |
#define OP_ALG_PKMODE_SRC_SEG_3 (3 << OP_ALG_PKMODE_SRC_SEG_SHIFT) |
#define OP_ALG_PKMODE_SRC_SEG_MASK (3 << OP_ALG_PKMODE_SRC_SEG_SHIFT) |