1## @file
2#  Provides a USB credential provider implementation
3#
4#  This module reads a token from a token file that is saved in the root
5#  folder of a USB stick. The token file name can be specified by the PCD
6#  PcdFixedUsbCredentialProviderTokenFileName.
7#
8# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
9# This program and the accompanying materials
10# are licensed and made available under the terms and conditions of the BSD License
11# which accompanies this distribution. The full text of the license may be found at
12# http://opensource.org/licenses/bsd-license.php
13# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15#
16##
17
18[Defines]
19  INF_VERSION                    = 0x00010005
20  BASE_NAME                      = UsbCredentialProvider
21  MODULE_UNI_FILE                = UsbCredentialProvider.uni
22  FILE_GUID                      = 672A0C68-2BF0-46f9-93C3-C4E7DC0FA555
23  MODULE_TYPE                    = UEFI_DRIVER
24  VERSION_STRING                 = 1.0
25  ENTRY_POINT                    = UsbProviderInit
26
27[Sources]
28  UsbCredentialProvider.c
29  UsbCredentialProvider.h
30  UsbCredentialProviderStrings.uni
31
32[Packages]
33  MdePkg/MdePkg.dec
34  MdeModulePkg/MdeModulePkg.dec
35  CryptoPkg/CryptoPkg.dec
36  SecurityPkg/SecurityPkg.dec
37
38[LibraryClasses]
39  UefiRuntimeServicesTableLib
40  UefiBootServicesTableLib
41  UefiDriverEntryPoint
42  MemoryAllocationLib
43  BaseMemoryLib
44  DebugLib
45  HiiLib
46  UefiLib
47  BaseCryptLib
48
49[Guids]
50  ## PRODUCES             ## Variable:L"UsbCredential"
51  ## CONSUMES             ## Variable:L"UsbCredential"
52  ## CONSUMES             ## HII
53  ## SOMETIMES_CONSUMES   ## GUID               # The credential provider identifier
54  gUsbCredentialProviderGuid
55
56  gEfiFileInfoGuid                              ## SOMETIMES_CONSUMES         ## GUID
57  gEfiUserCredentialClassSecureCardGuid         ## SOMETIMES_CONSUMES         ## GUID
58
59[Pcd]
60  gEfiSecurityPkgTokenSpaceGuid.PcdFixedUsbCredentialProviderTokenFileName    ## SOMETIMES_CONSUMES
61
62[Protocols]
63  gEfiUserCredential2ProtocolGuid               ## PRODUCES
64  gEfiUserManagerProtocolGuid                   ## SOMETIMES_CONSUMES
65  gEfiBlockIoProtocolGuid                       ## SOMETIMES_CONSUMES
66  gEfiSimpleFileSystemProtocolGuid              ## SOMETIMES_CONSUMES
67
68[UserExtensions.TianoCore."ExtraFiles"]
69  UsbCredentialProviderExtra.uni
70