]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/key.h
keys: allow the callout data to be passed as a blob rather than a string
[linux-2.6-omap-h63xx.git] / include / linux / key.h
index a70b8a8f20058c60a5bc6916deeaceda5040ea6e..163f864b6bd4804ac99d0471e7feb74c783560bf 100644 (file)
@@ -208,16 +208,19 @@ extern struct key *request_key(struct key_type *type,
 
 extern struct key *request_key_with_auxdata(struct key_type *type,
                                            const char *description,
-                                           const char *callout_info,
+                                           const void *callout_info,
+                                           size_t callout_len,
                                            void *aux);
 
 extern struct key *request_key_async(struct key_type *type,
                                     const char *description,
-                                    const char *callout_info);
+                                    const void *callout_info,
+                                    size_t callout_len);
 
 extern struct key *request_key_async_with_auxdata(struct key_type *type,
                                                  const char *description,
-                                                 const char *callout_info,
+                                                 const void *callout_info,
+                                                 size_t callout_len,
                                                  void *aux);
 
 extern int wait_for_key_construction(struct key *key, bool intr);