]> git.ozlabs.org Git - petitboot/blobdiff - lib/pb-protocol/pb-protocol.h
lib: Add AUTH_MSG_DECRYPT
[petitboot] / lib / pb-protocol / pb-protocol.h
index 1d6c048501a179b53fde1e43e49096974775a1de..f4975bc85aa6cd729f34b39d0a8cd5c33a8a7608 100644 (file)
@@ -40,6 +40,7 @@ enum auth_msg_type {
        AUTH_MSG_REQUEST,
        AUTH_MSG_RESPONSE,
        AUTH_MSG_SET,
+       AUTH_MSG_DECRYPT,
 };
 
 struct auth_message {
@@ -51,6 +52,10 @@ struct auth_message {
                        char    *password;
                        char    *new_password;
                } set_password;
+               struct {
+                       char    *password;
+                       char    *device_id;
+               } decrypt_dev;
        };
 };