diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /EDK/MiniSetup/PasswordEncode/PasswordEncode.h | |
download | zprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz |
Diffstat (limited to 'EDK/MiniSetup/PasswordEncode/PasswordEncode.h')
-rw-r--r-- | EDK/MiniSetup/PasswordEncode/PasswordEncode.h | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/EDK/MiniSetup/PasswordEncode/PasswordEncode.h b/EDK/MiniSetup/PasswordEncode/PasswordEncode.h new file mode 100644 index 0000000..4103c51 --- /dev/null +++ b/EDK/MiniSetup/PasswordEncode/PasswordEncode.h @@ -0,0 +1,71 @@ +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// +//** **// +//** (C)Copyright 2010, American Megatrends, Inc. **// +//** **// +//** All Rights Reserved. **// +//** **// +//** 5555 Oakbrook Pkwy, Building 200,Norcross, Georgia 30093 **// +//** **// +//** Phone (770)-246-8600 **// +//** **// +//*****************************************************************// +//*****************************************************************// +//*****************************************************************// +// $Archive: /Alaska/BIN/Modules/AMITSE2_0/AMITSE/PasswordEncode/PasswordEncode.h $ +// +//*****************************************************************// +//<AMI_FHDR_START> +//---------------------------------------------------------------------------- +// +// Name: password.h +// +// Description: Header file for code to handle password operations +// +//---------------------------------------------------------------------------- +//<AMI_FHDR_END> + +#ifndef _PASSWORDENCODE_H_ +#define _PASSWORDENCODE_H_ + +#if TSE_USE_EDK_LIBRARY +#include "Tiano.h" +#else +#include "Efi.h" +#endif + +#include "token.h" + +#if TSE_HASH_PASSWORD +#include "Protocol\Hash.h" +#include "Protocol\AmiDigitalSignature.h" +#include "Include\CryptLib.h" +#endif + +/////////////////////////////////////////////////////// +// EXTERN FUNCTIONS AND VARIABLES +////////////////////////////////////////////////////// +extern BOOLEAN IsPasswordSupportNonCaseSensitive (); +extern BOOLEAN IsHashingSupported (VOID); +extern BOOLEAN EfiCompareGuid (IN EFI_GUID *Guid1,IN EFI_GUID *Guid2); +extern VOID * EfiLibAllocateZeroPool (IN UINTN AllocationSize); +extern VOID MemCopy( VOID *dest, VOID *src, UINTN size ); +extern VOID MemSet( VOID *buffer, UINTN size, UINT8 value ); + +#endif /* _PASSWORDENCODE_H_ */ + + +//********************************************************************** +//********************************************************************** +//** ** +//** (C)Copyright 1985-2010, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Pkwy, Building 200,Norcross, Georgia 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//********************************************************************** +//********************************************************************** |