2011-09-02 09:49:32 +02:00
|
|
|
## @file
|
2014-08-28 07:31:09 +02:00
|
|
|
# Provides a USB credential provider implementation
|
2011-09-02 09:49:32 +02:00
|
|
|
#
|
2014-08-28 07:31:09 +02:00
|
|
|
# This module reads a token from a token file that is saved in the root
|
|
|
|
# folder of a USB stick. The token file name can be specified by the PCD
|
|
|
|
# PcdFixedUsbCredentialProviderTokenFileName.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
2011-09-02 09:49:32 +02:00
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = UsbCredentialProvider
|
2014-08-28 07:31:09 +02:00
|
|
|
MODULE_UNI_FILE = UsbCredentialProvider.uni
|
2011-09-02 09:49:32 +02:00
|
|
|
FILE_GUID = 672A0C68-2BF0-46f9-93C3-C4E7DC0FA555
|
|
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = UsbProviderInit
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
UsbCredentialProvider.c
|
|
|
|
UsbCredentialProvider.h
|
|
|
|
UsbCredentialProviderStrings.uni
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
CryptoPkg/CryptoPkg.dec
|
|
|
|
SecurityPkg/SecurityPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
UefiRuntimeServicesTableLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
MemoryAllocationLib
|
|
|
|
BaseMemoryLib
|
|
|
|
DebugLib
|
|
|
|
HiiLib
|
|
|
|
UefiLib
|
|
|
|
BaseCryptLib
|
|
|
|
|
|
|
|
[Guids]
|
2014-08-28 07:31:09 +02:00
|
|
|
## PRODUCES ## Variable:L"UsbCredential"
|
|
|
|
## CONSUMES ## Variable:L"UsbCredential"
|
|
|
|
## CONSUMES ## HII
|
|
|
|
## SOMETIMES_CONSUMES ## GUID # The credential provider identifier
|
|
|
|
gUsbCredentialProviderGuid
|
|
|
|
|
|
|
|
gEfiFileInfoGuid ## SOMETIMES_CONSUMES ## GUID
|
|
|
|
gEfiUserCredentialClassSecureCardGuid ## SOMETIMES_CONSUMES ## GUID
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[Pcd]
|
2014-08-28 07:31:09 +02:00
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdFixedUsbCredentialProviderTokenFileName ## SOMETIMES_CONSUMES
|
2011-09-02 09:49:32 +02:00
|
|
|
|
|
|
|
[Protocols]
|
2014-08-28 07:31:09 +02:00
|
|
|
gEfiUserCredential2ProtocolGuid ## PRODUCES
|
|
|
|
gEfiUserManagerProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiSimpleFileSystemProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
|
|
UsbCredentialProviderExtra.uni
|
2011-09-02 09:49:32 +02:00
|
|
|
|