Lines Matching full:blob
23 #define SECKEYBLOBSIZE 64 /* secure key blob size is always 64 bytes */
24 #define PROTKEYBLOBSIZE 80 /* protected key blob size is always 80 bytes */
25 #define MAXPROTKEYSIZE 64 /* a protected key blob may be up to 64 bytes */
28 #define MINEP11AESKEYBLOBSIZE 256 /* min EP11 AES key blob size */
29 #define MAXEP11AESKEYBLOBSIZE 320 /* max EP11 AES key blob size */
31 /* Minimum size of a key blob */
78 /* Struct to hold a CCA AES secure key blob */
80 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */
87 __u8 protkey[MAXPROTKEYSIZE]; /* the protected key blob */
116 struct pkey_seckey seckey; /* out: the secure key blob */
128 struct pkey_seckey seckey; /* out: the secure key blob */
138 struct pkey_seckey seckey; /* in: the secure key blob */
158 struct pkey_seckey seckey; /* in: the secure key blob */
168 struct pkey_seckey seckey; /* in: the secure key blob */
182 struct pkey_seckey seckey; /* in: the secure key blob */
212 * Transform an key blob (of any type) into a protected key
215 __u8 __user *key; /* in: the key blob */
216 __u32 keylen; /* in: the key blob length */
247 __u8 __user *key; /* in: pointer to key blob buffer */
248 __u32 keylen; /* in: available key blob buffer size */
249 /* out: actual key blob size */
281 __u8 __user *key; /* in: pointer to key blob buffer */
282 __u32 keylen; /* in: available key blob buffer size */
283 /* out: actual key blob size */
314 __u8 __user *key; /* in: pointer to key blob */
315 __u32 keylen; /* in: key blob size */
325 * Transform a key blob into a protected key, version 2.
338 __u8 __user *key; /* in: pointer to key blob */
339 __u32 keylen; /* in: key blob size */
347 * Build a list of APQNs based on a key blob given.
373 __u8 __user *key; /* in: pointer to key blob */
374 __u32 keylen; /* in: key blob size */
422 * Transform a key blob into a protected key, version 3.
437 __u8 __user *key; /* in: pointer to key blob */
438 __u32 keylen; /* in: key blob size */
443 __u8 __user *pkey; /* in: pkey blob buffer space ptr */