1 /*++
2 
3 Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution.  The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8 
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 
12 Module Name:
13 
14  Security.h
15 
16 Abstract:
17 
18   Security Architectural PPI as defined in Tiano
19 
20 --*/
21 
22 #ifndef _SECURITY_PPI_H_
23 #define _SECURITY_PPI_H_
24 
25 #define PEI_SECURITY_PPI_GUID \
26   { \
27     0x1388066e, 0x3a57, 0x4efa, {0x98, 0xf3, 0xc1, 0x2f, 0x3a, 0x95, 0x8a, 0x29} \
28   }
29 
30 EFI_FORWARD_DECLARATION (PEI_SECURITY_PPI);
31 
32 typedef
33 EFI_STATUS
34 (EFIAPI *PEI_SECURITY_AUTHENTICATION_STATE) (
35   IN EFI_PEI_SERVICES             **PeiServices,
36   IN PEI_SECURITY_PPI             * This,
37   IN UINT32                       AuthenticationStatus,
38   IN EFI_FFS_FILE_HEADER          * FfsFileHeader,
39   IN OUT BOOLEAN                  *StartCrisisRecovery
40   );
41 
42 struct _PEI_SECURITY_PPI {
43   PEI_SECURITY_AUTHENTICATION_STATE AuthenticationState;
44 };
45 
46 extern EFI_GUID gPeiSecurityPpiGuid;
47 
48 #endif
49