summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation/Framework/Ppi/Security/Security.h
blob: 737fabe104ab8d026dfd00839bfbc12e334a1096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*++

Copyright (c) 2004, Intel Corporation                                                         
All rights reserved. This program and the accompanying materials                          
are licensed and made available under the terms and conditions of the BSD License         
which accompanies this distribution.  The full text of the license may be found at        
http://opensource.org/licenses/bsd-license.php                                            
                                                                                          
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             

Module Name:

 Security.h

Abstract:

  Security Architectural PPI as defined in Tiano

--*/

#ifndef _SECURITY_PPI_H_
#define _SECURITY_PPI_H_

#define PEI_SECURITY_PPI_GUID \
  { \
    0x1388066e, 0x3a57, 0x4efa, 0x98, 0xf3, 0xc1, 0x2f, 0x3a, 0x95, 0x8a, 0x29 \
  }

EFI_FORWARD_DECLARATION (PEI_SECURITY_PPI);

typedef
EFI_STATUS
(EFIAPI *PEI_SECURITY_AUTHENTICATION_STATE) (
  IN EFI_PEI_SERVICES             **PeiServices,
  IN PEI_SECURITY_PPI             * This,
  IN UINT32                       AuthenticationStatus,
  IN EFI_FFS_FILE_HEADER          * FfsFileHeader,
  IN OUT BOOLEAN                  *StartCrisisRecovery
  );

struct _PEI_SECURITY_PPI {
  PEI_SECURITY_AUTHENTICATION_STATE AuthenticationState;
};

extern EFI_GUID gPeiSecurityPpiGuid;

#endif