2 Application for Cryptographic Primitives Validation.
4 Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Entry Point of Cryptographic Validation Utility.
20 @param ImageHandle The image handle of the UEFI Application.
21 @param SystemTable A pointer to the EFI System Table.
23 @retval EFI_SUCCESS The entry point is executed successfully.
24 @retval other Some error occurs when executing this entry point.
30 IN EFI_HANDLE ImageHandle
,
31 IN EFI_SYSTEM_TABLE
*SystemTable
36 Print (L
"\nUEFI-OpenSSL Wrapper Cryptosystem Testing: \n");
37 Print (L
"-------------------------------------------- \n");
41 Status
= ValidateCryptDigest ();
42 if (EFI_ERROR (Status
)) {
46 Status
= ValidateCryptHmac ();
47 if (EFI_ERROR (Status
)) {
51 Status
= ValidateCryptBlockCipher ();
52 if (EFI_ERROR (Status
)) {
56 Status
= ValidateCryptRsa ();
57 if (EFI_ERROR (Status
)) {
61 Status
= ValidateCryptRsa2 ();
62 if (EFI_ERROR (Status
)) {
66 Status
= ValidateCryptPkcs5Pbkdf2 ();
67 if (EFI_ERROR (Status
)) {
71 Status
= ValidateCryptPkcs7 ();
72 if (EFI_ERROR (Status
)) {
76 Status
= ValidateAuthenticode ();
77 if (EFI_ERROR (Status
)) {
81 Status
= ValidateTSCounterSignature ();
82 if (EFI_ERROR (Status
)) {
86 Status
= ValidateCryptDh ();
87 if (EFI_ERROR (Status
)) {
91 Status
= ValidateCryptPrng ();
92 if (EFI_ERROR (Status
)) {