Lines Matching +full:0 +full:x2000
17 #define TOKTYPE_NON_CCA 0x00 /* Non-CCA key token */
18 #define TOKTYPE_CCA_INTERNAL 0x01 /* CCA internal sym key token */
19 #define TOKTYPE_CCA_INTERNAL_PKA 0x1f /* CCA internal asym key token */
22 #define TOKVER_PROTECTED_KEY 0x01 /* Protected key token */
23 #define TOKVER_CLEAR_KEY 0x02 /* Clear key token */
26 #define TOKVER_CCA_AES 0x04 /* CCA AES key token */
27 #define TOKVER_CCA_VLSC 0x05 /* var length sym cipher key token */
41 /* inside view of a CCA secure key token (only type 0x01 version 0x04) */
43 u8 type; /* 0x01 for internal key token */
45 u8 version; /* should be 0x04 */
59 u8 type; /* 0x01 for internal key token */
62 u8 version; /* should be 0x05 */
64 u8 kms; /* key material state, 0x03 means wrapped with MK */
65 u8 kvpt; /* key verification pattern type, should be 0x01 */
80 /* plfver 0x00 0x01 */
85 u8 algtype; /* 0x02 for AES cipher */
86 u16 keytype; /* 0x0001 for 'cipher' */
99 u8 type; /* 0x1f for internal asym key token */
100 u8 version; /* should be 0x00 */
103 u8 secid; /* 0x20 for ECC priv key section marker */
106 u8 wtype; /* wrapping method, 0x00 clear, 0x01 AES */
107 u8 htype; /* hash method, 0x02 for SHA-256 */
123 #define KMF1_XPRT_SYM 0x8000
124 #define KMF1_XPRT_UASY 0x4000
125 #define KMF1_XPRT_AASY 0x2000
126 #define KMF1_XPRT_RAW 0x1000
127 #define KMF1_XPRT_CPAC 0x0800
128 #define KMF1_XPRT_DES 0x0080
129 #define KMF1_XPRT_AES 0x0040
130 #define KMF1_XPRT_RSA 0x0008
135 * also checked. Returns 0 on success or errno value on failure.
145 * Returns 0 on success or errno value on failure.
153 * key token. Returns 0 on success or errno value on failure.
213 * Returns < 0 on failure, 0 if CURRENT MKVP matches and
223 * - if minhwtype > 0 only apqns with hwtype >= minhwtype
224 * - if cur_mkvp != 0 only apqns where cur_mkvp == mkvp
225 * - if old_mkvp != 0 only apqns where old_mkvp == mkvp
230 * 0 = AES_MK_SET - AES MK set, 1 = APKA MK_SET - APKA MK set
234 * may be casted to struct pkey_apqn. The return value is either 0 for success
242 #define AES_MK_SET 0
260 char serial[9]; /* serial number (8 ascii numbers + 0x00) */