/** @file\r
- This driver implements a sample platform security service, which does \r
- nothing and always return EFI_SUCCESS.\r
- \r
- Copyright (c) 2006 - 2008, Intel Corporation \r
+ This driver produces security architectural protocol based on SecurityManagementLib.\r
+ \r
+ Copyright (c) 2006 - 2009, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
#include <Library/DebugLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/UefiDriverEntryPoint.h>\r
+#include <Library/SecurityManagementLib.h>\r
\r
//\r
// Handle for the Security Architectural Protocol instance produced by this driver\r
IN CONST EFI_DEVICE_PATH_PROTOCOL *File\r
)\r
{\r
- if (File == NULL) {\r
- return EFI_INVALID_PARAMETER;\r
- }\r
-\r
- return EFI_SUCCESS;\r
+ return ExecuteSecurityHandlers (AuthenticationStatus, File);\r
}\r
\r
//\r