[edk2] [PATCH V2 0/6] Add password support

Jiewen Yao posted 6 patches 7 years, 2 months ago
Failed in applying to current master (apply log)
CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf                           |   4 +-
SecurityPkg/Include/Library/PlatformPasswordLib.h                        |  54 ++
SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.c    |  84 +++
SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.inf  |  44 ++
SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.uni  |  24 +
SecurityPkg/Password/UserAuthentication/KeyService.c                     | 210 ++++++
SecurityPkg/Password/UserAuthentication/KeyService.h                     | 122 ++++
SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.c          | 718 ++++++++++++++++++++
SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.h          | 115 ++++
SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.inf        |  79 +++
SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.uni        |  22 +
SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeExtra.uni   |  20 +
SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeFormset.h   |  30 +
SecurityPkg/Password/UserAuthentication/UserAuthenticationDxePassword.c  | 301 ++++++++
SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeStrings.uni |  29 +
SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeVfr.vfr     |  38 ++
SecurityPkg/Password/UserAuthentication/UserAuthenticationGuid.h         |  65 ++
SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.c          | 672 ++++++++++++++++++
SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.inf        |  70 ++
SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.uni        |  22 +
SecurityPkg/Password/UserAuthentication/UserAuthenticationSmmExtra.uni   |  20 +
SecurityPkg/SecurityPkg.dec                                              |  10 +
SecurityPkg/SecurityPkg.dsc                                              |   7 +
SecurityPkg/SecurityPkg.uni                                              |  10 +
24 files changed, 2768 insertions(+), 2 deletions(-)
create mode 100644 SecurityPkg/Include/Library/PlatformPasswordLib.h
create mode 100644 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.c
create mode 100644 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.inf
create mode 100644 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.uni
create mode 100644 SecurityPkg/Password/UserAuthentication/KeyService.c
create mode 100644 SecurityPkg/Password/UserAuthentication/KeyService.h
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.c
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.h
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.inf
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.uni
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeExtra.uni
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeFormset.h
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxePassword.c
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeStrings.uni
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeVfr.vfr
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationGuid.h
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.c
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.inf
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.uni
create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmmExtra.uni
[edk2] [PATCH V2 0/6] Add password support
Posted by Jiewen Yao 7 years, 2 months ago
==== V2 ====
1) Add SmmCommunicationBufferProtocol dependency.
2) Cleanup header file and copyright to 2017.
3) Add missing UserAuthenticationSmm.uni.
4) Rename KeyLib.h/c to KeyService.h/c to avoid confusing.

==== V1 ====
This series patch adds password support in EDKII.

This password based user authentication is to verify user when a user
wants to enter BIOS setup page.

The detail information is added in [PATCH 5/6].


Jiewen Yao (6):
  CryptoPkg:SmmCryptLib: Add real Pkcs5Pbkdf2.c.
  SecurityPkg/dec: Add PcdPasswordCleared.
  SecurityPkg/include: Add PlatformPasswordLib lib class.
  SecurityPkg/PlatformPasswordLibNull: Add PlatformPasswordLib instance.
  SecurityPkg/Password: Add Password based UserAuthentication modules.
  SecurityPkg/dsc: add Password authentication module.

 CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf                           |   4 +-
 SecurityPkg/Include/Library/PlatformPasswordLib.h                        |  54 ++
 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.c    |  84 +++
 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.inf  |  44 ++
 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.uni  |  24 +
 SecurityPkg/Password/UserAuthentication/KeyService.c                     | 210 ++++++
 SecurityPkg/Password/UserAuthentication/KeyService.h                     | 122 ++++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.c          | 718 ++++++++++++++++++++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.h          | 115 ++++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.inf        |  79 +++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.uni        |  22 +
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeExtra.uni   |  20 +
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeFormset.h   |  30 +
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxePassword.c  | 301 ++++++++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeStrings.uni |  29 +
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeVfr.vfr     |  38 ++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationGuid.h         |  65 ++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.c          | 672 ++++++++++++++++++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.inf        |  70 ++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.uni        |  22 +
 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmmExtra.uni   |  20 +
 SecurityPkg/SecurityPkg.dec                                              |  10 +
 SecurityPkg/SecurityPkg.dsc                                              |   7 +
 SecurityPkg/SecurityPkg.uni                                              |  10 +
 24 files changed, 2768 insertions(+), 2 deletions(-)
 create mode 100644 SecurityPkg/Include/Library/PlatformPasswordLib.h
 create mode 100644 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.c
 create mode 100644 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.inf
 create mode 100644 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.uni
 create mode 100644 SecurityPkg/Password/UserAuthentication/KeyService.c
 create mode 100644 SecurityPkg/Password/UserAuthentication/KeyService.h
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.c
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.h
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.inf
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.uni
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeExtra.uni
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeFormset.h
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxePassword.c
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeStrings.uni
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeVfr.vfr
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationGuid.h
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.c
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.inf
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.uni
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmmExtra.uni

-- 
2.7.4.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH V2 0/6] Add password support
Posted by Zhang, Chao B 7 years, 2 months ago
Serial reviewed-by : Chao Zhang <chao.b.zhang@intel.com>

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Jiewen Yao
Sent: Tuesday, February 7, 2017 4:24 PM
To: edk2-devel@lists.01.org
Subject: [edk2] [PATCH V2 0/6] Add password support

==== V2 ====
1) Add SmmCommunicationBufferProtocol dependency.
2) Cleanup header file and copyright to 2017.
3) Add missing UserAuthenticationSmm.uni.
4) Rename KeyLib.h/c to KeyService.h/c to avoid confusing.

==== V1 ====
This series patch adds password support in EDKII.

This password based user authentication is to verify user when a user wants to enter BIOS setup page.

The detail information is added in [PATCH 5/6].


Jiewen Yao (6):
  CryptoPkg:SmmCryptLib: Add real Pkcs5Pbkdf2.c.
  SecurityPkg/dec: Add PcdPasswordCleared.
  SecurityPkg/include: Add PlatformPasswordLib lib class.
  SecurityPkg/PlatformPasswordLibNull: Add PlatformPasswordLib instance.
  SecurityPkg/Password: Add Password based UserAuthentication modules.
  SecurityPkg/dsc: add Password authentication module.

 CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf                           |   4 +-
 SecurityPkg/Include/Library/PlatformPasswordLib.h                        |  54 ++
 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.c    |  84 +++
 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.inf  |  44 ++  SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.uni  |  24 +
 SecurityPkg/Password/UserAuthentication/KeyService.c                     | 210 ++++++
 SecurityPkg/Password/UserAuthentication/KeyService.h                     | 122 ++++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.c          | 718 ++++++++++++++++++++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.h          | 115 ++++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.inf        |  79 +++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.uni        |  22 +
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeExtra.uni   |  20 +
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeFormset.h   |  30 +
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxePassword.c  | 301 ++++++++  SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeStrings.uni |  29 +
 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeVfr.vfr     |  38 ++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationGuid.h         |  65 ++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.c          | 672 ++++++++++++++++++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.inf        |  70 ++
 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.uni        |  22 +
 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmmExtra.uni   |  20 +
 SecurityPkg/SecurityPkg.dec                                              |  10 +
 SecurityPkg/SecurityPkg.dsc                                              |   7 +
 SecurityPkg/SecurityPkg.uni                                              |  10 +
 24 files changed, 2768 insertions(+), 2 deletions(-)  create mode 100644 SecurityPkg/Include/Library/PlatformPasswordLib.h
 create mode 100644 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.c
 create mode 100644 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.inf
 create mode 100644 SecurityPkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.uni
 create mode 100644 SecurityPkg/Password/UserAuthentication/KeyService.c
 create mode 100644 SecurityPkg/Password/UserAuthentication/KeyService.h
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.c
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.h
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.inf
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxe.uni
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeExtra.uni
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeFormset.h
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxePassword.c
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeStrings.uni
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationDxeVfr.vfr
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationGuid.h
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.c
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.inf
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmm.uni
 create mode 100644 SecurityPkg/Password/UserAuthentication/UserAuthenticationSmmExtra.uni

--
2.7.4.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel