TianoCore EDK2 master
|
#include <PiPei.h>
#include <Uefi.h>
#include <Library/UefiLib.h>
#include <Library/DebugLib.h>
#include <Library/UnitTestLib.h>
#include <Library/PrintLib.h>
#include <Library/BaseCryptLib.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
Go to the source code of this file.
Data Structures | |
struct | TEST_DESC |
struct | SUITE_DESC |
Macros | |
#define | UNIT_TEST_NAME "BaseCryptLib Unit Test" |
#define | UNIT_TEST_VERSION "1.0" |
Functions | |
EFI_STATUS EFIAPI | CreateUnitTest (IN CHAR8 *UnitTestName, IN CHAR8 *UnitTestVersion, IN OUT UNIT_TEST_FRAMEWORK_HANDLE *Framework) |
EFI_STATUS | ValidateCryptDh (VOID) |
EFI_STATUS | ValidateCryptPrng (VOID) |
Application for Cryptographic Primitives Validation.
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file TestBaseCryptLib.h.
#define UNIT_TEST_NAME "BaseCryptLib Unit Test" |
Definition at line 26 of file TestBaseCryptLib.h.
#define UNIT_TEST_VERSION "1.0" |
Definition at line 27 of file TestBaseCryptLib.h.
EFI_STATUS EFIAPI CreateUnitTest | ( | IN CHAR8 * | UnitTestName, |
IN CHAR8 * | UnitTestVersion, | ||
IN OUT UNIT_TEST_FRAMEWORK_HANDLE * | Framework | ||
) |
Creates a framework you can use
Definition at line 37 of file BaseCryptLibUnitTests.c.
EFI_STATUS ValidateCryptDh | ( | VOID | ) |
Validate UEFI-OpenSSL DH Interfaces.
EFI_SUCCESS | Validation succeeded. |
EFI_ABORTED | Validation failed. |
EFI_STATUS ValidateCryptPrng | ( | VOID | ) |
Validate UEFI-OpenSSL pseudorandom number generator interfaces.
EFI_SUCCESS | Validation succeeded. |
EFI_ABORTED | Validation failed. |
|
extern |
Definition at line 105 of file AeadAesGcmTests.c.
|
extern |
Definition at line 112 of file AeadAesGcmTests.c.
|
extern |
Definition at line 995 of file AuthenticodeTests.c.
|
extern |
Definition at line 1002 of file AuthenticodeTests.c.
|
extern |
Definition at line 276 of file BlockCipherTests.c.
|
extern |
Definition at line 290 of file BlockCipherTests.c.
|
extern |
Definition at line 222 of file HashTests.c.
|
extern |
Definition at line 236 of file HashTests.c.
|
extern |
Definition at line 194 of file HkdfTests.c.
|
extern |
Definition at line 202 of file HkdfTests.c.
|
extern |
Definition at line 234 of file HmacTests.c.
|
extern |
Definition at line 242 of file HmacTests.c.
|
extern |
Definition at line 884 of file OaepEncryptTests.c.
|
extern |
Definition at line 922 of file OaepEncryptTests.c.
|
extern |
Definition at line 65 of file Pkcs5Pbkdf2Tests.c.
|
extern |
Definition at line 72 of file Pkcs5Pbkdf2Tests.c.
|
extern |
Definition at line 526 of file Pkcs7EkuTests.c.
|
extern |
Definition at line 543 of file Pkcs7EkuTests.c.
|
extern |
Definition at line 407 of file RsaPkcs7Tests.c.
|
extern |
Definition at line 414 of file RsaPkcs7Tests.c.
|
extern |
Definition at line 44 of file RandTests.c.
|
extern |
Definition at line 51 of file RandTests.c.
|
extern |
Definition at line 398 of file RsaPkcs7Tests.c.
|
extern |
Definition at line 405 of file RsaPkcs7Tests.c.
|
extern |
Definition at line 181 of file RsaPssTests.c.
|
extern |
Definition at line 188 of file RsaPssTests.c.
|
extern |
Definition at line 313 of file RsaTests.c.
|
extern |
Definition at line 322 of file RsaTests.c.
|
extern |
Definition at line 624 of file X509Tests.c.
|
extern |
Definition at line 631 of file X509Tests.c.