]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Application/Cryptest/Cryptest.c
CryptoPkg: Remove Cryptest Application from CryptoPkg
[mirror_edk2.git] / CryptoPkg / Application / Cryptest / Cryptest.c
diff --git a/CryptoPkg/Application/Cryptest/Cryptest.c b/CryptoPkg/Application/Cryptest/Cryptest.c
deleted file mode 100644 (file)
index 13b7073..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/** @file\r
-  Application for Cryptographic Primitives Validation.\r
-\r
-Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-#include "Cryptest.h"\r
-\r
-/**\r
-  Entry Point of Cryptographic Validation Utility.\r
-\r
-  @param  ImageHandle  The image handle of the UEFI Application.\r
-  @param  SystemTable  A pointer to the EFI System Table.\r
-\r
-  @retval EFI_SUCCESS       The entry point is executed successfully.\r
-  @retval other             Some error occurs when executing this entry point.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-CryptestMain (\r
-  IN     EFI_HANDLE                 ImageHandle,\r
-  IN     EFI_SYSTEM_TABLE           *SystemTable\r
-  )\r
-{\r
-  EFI_STATUS  Status;\r
-\r
-  Print (L"\nUEFI-OpenSSL Wrapper Cryptosystem Testing: \n");\r
-  Print (L"-------------------------------------------- \n");\r
-\r
-  RandomSeed (NULL, 0);\r
-\r
-  Status = ValidateCryptDigest ();\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-\r
-  Status = ValidateCryptHmac ();\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-\r
-  Status = ValidateCryptBlockCipher ();\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-\r
-  Status = ValidateCryptRsa ();\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-\r
-  Status = ValidateCryptRsa2 ();\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-\r
-  Status = ValidateCryptPkcs5Pbkdf2 ();\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-\r
-  Status = ValidateCryptPkcs7 ();\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-\r
-  Status = ValidateAuthenticode ();\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-\r
-  Status = ValidateTSCounterSignature ();\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-\r
-  Status = ValidateCryptDh ();\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-\r
-  Status = ValidateCryptPrng ();\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-\r
-  return EFI_SUCCESS;\r
-}\r