Lines Matching refs:SW_ERR_BASE

51 #define SW_ERR_BASE           (-10000L)
52 #define SW_ERR_NO_CARD (SW_ERR_BASE-1) /* The Card is not present */
53 #define SW_ERR_CARD_NOT_READY (SW_ERR_BASE-2) /* The card has not powered */
55 #define SW_ERR_TIME_OUT (SW_ERR_BASE-3) /* Execution of a command */
57 #define SW_ERR_NO_EXECUTE (SW_ERR_BASE-4) /* The Card failed to */
59 #define SW_ERR_INPUT_NULL_PTR (SW_ERR_BASE-5) /* a required pointer is */
61 #define SW_ERR_INPUT_SIZE (SW_ERR_BASE-6) /* size is invalid, too */
63 #define SW_ERR_INVALID_HANDLE (SW_ERR_BASE-7) /* Invalid SW_ACC_CONTEXT */
65 #define SW_ERR_PENDING (SW_ERR_BASE-8) /* A request is already out- */
68 #define SW_ERR_AVAILABLE (SW_ERR_BASE-9) /* A result is available. */
69 #define SW_ERR_NO_PENDING (SW_ERR_BASE-10) /* No request is pending. */
70 #define SW_ERR_NO_MEMORY (SW_ERR_BASE-11) /* Not enough memory */
71 #define SW_ERR_BAD_ALGORITHM (SW_ERR_BASE-12) /* Invalid algorithm type */
73 #define SW_ERR_MISSING_KEY (SW_ERR_BASE-13) /* No key is associated with */
78 (SW_ERR_BASE-14) /* Cannot perform requested */
85 (SW_ERR_BASE-15) /* Not implemented */
86 #define SW_ERR_BAD_COMMAND (SW_ERR_BASE-16) /* Bad command code */
87 #define SW_ERR_BAD_ITEM_SIZE (SW_ERR_BASE-17) /* too small or too large in */
90 #define SW_ERR_BAD_ACCNUM (SW_ERR_BASE-18) /* Bad accelerator number */
91 #define SW_ERR_SELFTEST_FAIL (SW_ERR_BASE-19) /* At least one of the self */
96 #define SW_ERR_MISALIGN (SW_ERR_BASE-20) /* Certain alogrithms require */
101 (SW_ERR_BASE-21) /* a required pointer is */
104 (SW_ERR_BASE-22) /* size is invalid, too */
107 (SW_ERR_BASE-23) /* firmware checksum mismatch */
110 (SW_ERR_BASE-24) /* unknown firmware error */
111 #define SW_ERR_INTERRUPT (SW_ERR_BASE-25) /* request is abort when */
114 #define SW_ERR_NVWRITE_FAIL (SW_ERR_BASE-26) /* error in writing to Non- */
116 #define SW_ERR_NVWRITE_RANGE (SW_ERR_BASE-27) /* out of range error in */
118 #define SW_ERR_RNG_ERROR (SW_ERR_BASE-28) /* Random Number Generation */
120 #define SW_ERR_DSS_FAILURE (SW_ERR_BASE-29) /* DSS Sign or Verify failure */
121 #define SW_ERR_MODEXP_FAILURE (SW_ERR_BASE-30) /* Failure in various math */
123 #define SW_ERR_ONBOARD_MEMORY (SW_ERR_BASE-31) /* Error in accessing on - */
126 (SW_ERR_BASE-32) /* Wrong version in firmware */
129 (SW_ERR_BASE-44) /* All accelerators are bad */