Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
zcrypt_error.h File Reference
#include <linux/atomic.h>
#include "zcrypt_debug.h"
#include "zcrypt_api.h"

Go to the source code of this file.

Data Structures

struct  error_hdr
 

Macros

#define TYPE82_RSP_CODE   0x82
 
#define TYPE88_RSP_CODE   0x88
 
#define REP82_ERROR_MACHINE_FAILURE   0x10
 
#define REP82_ERROR_PREEMPT_FAILURE   0x12
 
#define REP82_ERROR_CHECKPT_FAILURE   0x14
 
#define REP82_ERROR_MESSAGE_TYPE   0x20
 
#define REP82_ERROR_INVALID_COMM_CD   0x21 /* Type 84 */
 
#define REP82_ERROR_INVALID_MSG_LEN   0x23
 
#define REP82_ERROR_RESERVD_FIELD   0x24 /* was 0x50 */
 
#define REP82_ERROR_FORMAT_FIELD   0x29
 
#define REP82_ERROR_INVALID_COMMAND   0x30
 
#define REP82_ERROR_MALFORMED_MSG   0x40
 
#define REP82_ERROR_RESERVED_FIELDO   0x50 /* old value */
 
#define REP82_ERROR_WORD_ALIGNMENT   0x60
 
#define REP82_ERROR_MESSAGE_LENGTH   0x80
 
#define REP82_ERROR_OPERAND_INVALID   0x82
 
#define REP82_ERROR_OPERAND_SIZE   0x84
 
#define REP82_ERROR_EVEN_MOD_IN_OPND   0x85
 
#define REP82_ERROR_RESERVED_FIELD   0x88
 
#define REP82_ERROR_TRANSPORT_FAIL   0x90
 
#define REP82_ERROR_PACKET_TRUNCATED   0xA0
 
#define REP82_ERROR_ZERO_BUFFER_LEN   0xB0
 
#define REP88_ERROR_MODULE_FAILURE   0x10
 
#define REP88_ERROR_MESSAGE_TYPE   0x20
 
#define REP88_ERROR_MESSAGE_MALFORMD   0x22
 
#define REP88_ERROR_MESSAGE_LENGTH   0x23
 
#define REP88_ERROR_RESERVED_FIELD   0x24
 
#define REP88_ERROR_KEY_TYPE   0x34
 
#define REP88_ERROR_INVALID_KEY   0x82 /* CEX2A */
 
#define REP88_ERROR_OPERAND   0x84 /* CEX2A */
 
#define REP88_ERROR_OPERAND_EVEN_MOD   0x85 /* CEX2A */
 

Variables

struct error_hdr __attribute__
 

Macro Definition Documentation

#define REP82_ERROR_CHECKPT_FAILURE   0x14

Definition at line 60 of file zcrypt_error.h.

#define REP82_ERROR_EVEN_MOD_IN_OPND   0x85

Definition at line 73 of file zcrypt_error.h.

#define REP82_ERROR_FORMAT_FIELD   0x29

Definition at line 65 of file zcrypt_error.h.

#define REP82_ERROR_INVALID_COMM_CD   0x21 /* Type 84 */

Definition at line 62 of file zcrypt_error.h.

#define REP82_ERROR_INVALID_COMMAND   0x30

Definition at line 66 of file zcrypt_error.h.

#define REP82_ERROR_INVALID_MSG_LEN   0x23

Definition at line 63 of file zcrypt_error.h.

#define REP82_ERROR_MACHINE_FAILURE   0x10

Definition at line 58 of file zcrypt_error.h.

#define REP82_ERROR_MALFORMED_MSG   0x40

Definition at line 67 of file zcrypt_error.h.

#define REP82_ERROR_MESSAGE_LENGTH   0x80

Definition at line 70 of file zcrypt_error.h.

#define REP82_ERROR_MESSAGE_TYPE   0x20

Definition at line 61 of file zcrypt_error.h.

#define REP82_ERROR_OPERAND_INVALID   0x82

Definition at line 71 of file zcrypt_error.h.

#define REP82_ERROR_OPERAND_SIZE   0x84

Definition at line 72 of file zcrypt_error.h.

#define REP82_ERROR_PACKET_TRUNCATED   0xA0

Definition at line 76 of file zcrypt_error.h.

#define REP82_ERROR_PREEMPT_FAILURE   0x12

Definition at line 59 of file zcrypt_error.h.

#define REP82_ERROR_RESERVD_FIELD   0x24 /* was 0x50 */

Definition at line 64 of file zcrypt_error.h.

#define REP82_ERROR_RESERVED_FIELD   0x88

Definition at line 74 of file zcrypt_error.h.

#define REP82_ERROR_RESERVED_FIELDO   0x50 /* old value */

Definition at line 68 of file zcrypt_error.h.

#define REP82_ERROR_TRANSPORT_FAIL   0x90

Definition at line 75 of file zcrypt_error.h.

#define REP82_ERROR_WORD_ALIGNMENT   0x60

Definition at line 69 of file zcrypt_error.h.

#define REP82_ERROR_ZERO_BUFFER_LEN   0xB0

Definition at line 77 of file zcrypt_error.h.

#define REP88_ERROR_INVALID_KEY   0x82 /* CEX2A */

Definition at line 86 of file zcrypt_error.h.

#define REP88_ERROR_KEY_TYPE   0x34

Definition at line 85 of file zcrypt_error.h.

#define REP88_ERROR_MESSAGE_LENGTH   0x23

Definition at line 83 of file zcrypt_error.h.

#define REP88_ERROR_MESSAGE_MALFORMD   0x22

Definition at line 82 of file zcrypt_error.h.

#define REP88_ERROR_MESSAGE_TYPE   0x20

Definition at line 81 of file zcrypt_error.h.

#define REP88_ERROR_MODULE_FAILURE   0x10

Definition at line 79 of file zcrypt_error.h.

#define REP88_ERROR_OPERAND   0x84 /* CEX2A */

Definition at line 87 of file zcrypt_error.h.

#define REP88_ERROR_OPERAND_EVEN_MOD   0x85 /* CEX2A */

Definition at line 88 of file zcrypt_error.h.

#define REP88_ERROR_RESERVED_FIELD   0x24

Definition at line 84 of file zcrypt_error.h.

#define TYPE82_RSP_CODE   0x82

Definition at line 55 of file zcrypt_error.h.

#define TYPE88_RSP_CODE   0x88

Definition at line 56 of file zcrypt_error.h.

Variable Documentation