]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Application/Cryptest/Cryptest.h
2 Application for Cryptographic Primitives Validation.
4 Copyright (c) 2009 - 2014, 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.
15 #ifndef __CRYPTEST_H__
16 #define __CRYPTEST_H__
19 #include <Library/BaseLib.h>
20 #include <Library/BaseMemoryLib.h>
21 #include <Library/MemoryAllocationLib.h>
22 #include <Library/UefiLib.h>
23 #include <Library/UefiApplicationEntryPoint.h>
24 #include <Library/DebugLib.h>
25 #include <Library/BaseCryptLib.h>
28 Validate UEFI-OpenSSL Digest Interfaces.
30 @retval EFI_SUCCESS Validation succeeded.
31 @retval EFI_ABORTED Validation failed.
40 Validate UEFI-OpenSSL Message Authentication Codes Interfaces.
42 @retval EFI_SUCCESS Validation succeeded.
43 @retval EFI_ABORTED Validation failed.
52 Validate UEFI-OpenSSL Block Ciphers (Symmetric Crypto) Interfaces.
54 @retval EFI_SUCCESS Validation succeeded.
55 @retval EFI_ABORTED Validation failed.
59 ValidateCryptBlockCipher (
64 Validate UEFI-OpenSSL RSA Interfaces.
66 @retval EFI_SUCCESS Validation succeeded.
67 @retval EFI_ABORTED Validation failed.
76 Validate UEFI-OpenSSL RSA Key Retrieving (from PEM & X509) & Signature Interfaces.
78 @retval EFI_SUCCESS Validation succeeded.
79 @retval EFI_ABORTED Validation failed.
88 Validate UEFI-OpenSSL PKCS#7 Signing & Verification Interfaces.
90 @retval EFI_SUCCESS Validation succeeded.
91 @retval EFI_ABORTED Validation failed.
100 Validate UEFI-OpenSSL Authenticode Verification Interfaces.
102 @retval EFI_SUCCESS Validation succeeded.
103 @retval EFI_ABORTED Validation failed.
107 ValidateAuthenticode (
112 Validate UEFI-OpenSSL RFC3161 Timestamp CounterSignature Verification Interfaces.
114 @retval EFI_SUCCESS Validation succeeded.
115 @retval EFI_ABORTED Validation failed.
119 ValidateTSCounterSignature (
124 Validate UEFI-OpenSSL DH Interfaces.
126 @retval EFI_SUCCESS Validation succeeded.
127 @retval EFI_ABORTED Validation failed.
136 Validate UEFI-OpenSSL pseudorandom number generator interfaces.
138 @retval EFI_SUCCESS Validation succeeded.
139 @retval EFI_ABORTED Validation failed.