]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/SecurityManagementLib.h
MdeModulePkg: Apply uncrustify changes
[mirror_edk2.git] / MdeModulePkg / Include / Library / SecurityManagementLib.h
index 8efe3117c7cc549aa3530e61165f8bfe50f6b566..e10a4cdd02b078b02c42fccc6263435d05d9c690 100644 (file)
@@ -14,11 +14,11 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 //\r
 // Authentication Operation defintions for User Identity (UID), Measured and Secure boot.\r
 //\r
-#define EFI_AUTH_OPERATION_NONE                0x00\r
-#define EFI_AUTH_OPERATION_VERIFY_IMAGE        0x01\r
-#define EFI_AUTH_OPERATION_DEFER_IMAGE_LOAD    0x02\r
-#define EFI_AUTH_OPERATION_MEASURE_IMAGE       0x04\r
-#define EFI_AUTH_OPERATION_CONNECT_POLICY      0x08\r
+#define EFI_AUTH_OPERATION_NONE              0x00\r
+#define EFI_AUTH_OPERATION_VERIFY_IMAGE      0x01\r
+#define EFI_AUTH_OPERATION_DEFER_IMAGE_LOAD  0x02\r
+#define EFI_AUTH_OPERATION_MEASURE_IMAGE     0x04\r
+#define EFI_AUTH_OPERATION_CONNECT_POLICY    0x08\r
 //\r
 // Authentication State Operation will check the authentication status of a file.\r
 //\r
@@ -27,7 +27,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 ///\r
 /// Image buffer is required by the security handler.\r
 ///\r
-#define EFI_AUTH_OPERATION_IMAGE_REQUIRED      0x80000000\r
+#define EFI_AUTH_OPERATION_IMAGE_REQUIRED  0x80000000\r
 \r
 /**\r
   The security handler is used to abstract platform-specific policy\r
@@ -141,8 +141,8 @@ RegisterSecurityHandler (
 EFI_STATUS\r
 EFIAPI\r
 ExecuteSecurityHandlers (\r
-  IN  UINT32                            AuthenticationStatus,\r
-  IN  CONST EFI_DEVICE_PATH_PROTOCOL    *FilePath\r
+  IN  UINT32                          AuthenticationStatus,\r
+  IN  CONST EFI_DEVICE_PATH_PROTOCOL  *FilePath\r
   );\r
 \r
 /**\r
@@ -184,7 +184,7 @@ ExecuteSecurityHandlers (
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *SECURITY2_FILE_AUTHENTICATION_HANDLER) (\r
+(EFIAPI *SECURITY2_FILE_AUTHENTICATION_HANDLER)(\r
   IN  UINT32                           AuthenticationStatus,\r
   IN  CONST EFI_DEVICE_PATH_PROTOCOL   *File,\r
   IN  VOID                             *FileBuffer,\r
@@ -210,8 +210,8 @@ EFI_STATUS
 EFI_STATUS\r
 EFIAPI\r
 RegisterSecurity2Handler (\r
-  IN  SECURITY2_FILE_AUTHENTICATION_HANDLER       Security2Handler,\r
-  IN  UINT32                                      AuthenticationOperation\r
+  IN  SECURITY2_FILE_AUTHENTICATION_HANDLER  Security2Handler,\r
+  IN  UINT32                                 AuthenticationOperation\r
   );\r
 \r
 /**\r
@@ -259,12 +259,12 @@ RegisterSecurity2Handler (
 EFI_STATUS\r
 EFIAPI\r
 ExecuteSecurity2Handlers (\r
-  IN  UINT32                           AuthenticationOperation,\r
-  IN  UINT32                           AuthenticationStatus,\r
-  IN  CONST EFI_DEVICE_PATH_PROTOCOL   *File  OPTIONAL,\r
-  IN  VOID                             *FileBuffer,\r
-  IN  UINTN                            FileSize,\r
-  IN  BOOLEAN                          BootPolicy\r
+  IN  UINT32                          AuthenticationOperation,\r
+  IN  UINT32                          AuthenticationStatus,\r
+  IN  CONST EFI_DEVICE_PATH_PROTOCOL  *File  OPTIONAL,\r
+  IN  VOID                            *FileBuffer,\r
+  IN  UINTN                           FileSize,\r
+  IN  BOOLEAN                         BootPolicy\r
   );\r
 \r
 #endif\r