Lines Matching +full:0 +full:x1234
16 #define EP11_STRUCT_MAGIC 0x1234
17 #define EP11_BLOB_PKEY_EXTRACTABLE 0x00200000
23 #define TOKVER_EP11_AES 0x03 /* EP11 AES key blob (old style) */
24 #define TOKVER_EP11_AES_WITH_HEADER 0x06 /* EP11 AES key blob with header */
25 #define TOKVER_EP11_ECC_WITH_HEADER 0x07 /* EP11 ECC key blob with header */
33 u8 type; /* 0x00 (TOKTYPE_NON_CCA) */
36 u8 version; /* 0x03 (TOKVER_EP11_AES) */
38 u16 keybitlen; /* clear key bit len, 0 for unknown */
44 u16 version; /* 0x1234, EP11_STRUCT_MAGIC */
62 * Returns 0 on success or errno value on failure.
71 * Returns 0 on success or errno value on failure.
81 * Returns 0 on success or errno value on failure.
90 char serial[16]; /* serial number string (16 ascii, no 0x00 !) */
96 char cur_wk_state; /* '0' invalid, '1' valid */
97 char new_wk_state; /* '0' empty, '1' uncommitted, '2' committed */
130 * - if minhwtype > 0 only apqns with hwtype >= minhwtype
131 * - if minapi > 0 only apqns with API_ord_nr >= minapi
140 * may be casted to struct pkey_apqn. The return value is either 0 for success