TianoCore EDK2 master
Loading...
Searching...
No Matches
X509Tests.c File Reference
#include "TestBaseCryptLib.h"

Go to the source code of this file.

Functions

UNIT_TEST_STATUS EFIAPI TestVerifyX509 (IN UNIT_TEST_CONTEXT Context)
 

Variables

GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 mOidSubjectAltName [] = { 0x55, 0x1D, 0x11 }
 
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 mTestCert []
 
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 mTestCaCert []
 
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 mTestBundleCert []
 
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 mTestEndCert []
 
TEST_DESC mX509Test []
 
UINTN mX509TestNum = ARRAY_SIZE (mX509Test)
 

Detailed Description

Application for X509 Cert Validation.

Copyright (c) 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file X509Tests.c.

Function Documentation

◆ TestVerifyX509()

UNIT_TEST_STATUS EFIAPI TestVerifyX509 ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 496 of file X509Tests.c.

Variable Documentation

◆ mOidSubjectAltName

GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 mOidSubjectAltName[] = { 0x55, 0x1D, 0x11 }

Definition at line 11 of file X509Tests.c.

◆ mTestBundleCert

GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 mTestBundleCert[]

Definition at line 203 of file X509Tests.c.

◆ mTestCaCert

GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 mTestCaCert[]

Definition at line 115 of file X509Tests.c.

◆ mTestCert

Definition at line 34 of file X509Tests.c.

◆ mTestEndCert

GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 mTestEndCert[]

Definition at line 428 of file X509Tests.c.

◆ mX509Test

TEST_DESC mX509Test[]
Initial value:
= {
{ "TestVerifyX509()", "CryptoPkg.BaseCryptLib.Hkdf", TestVerifyX509, NULL, NULL, NULL },
}
#define NULL
Definition: Base.h:319

Definition at line 624 of file X509Tests.c.

◆ mX509TestNum

UINTN mX509TestNum = ARRAY_SIZE (mX509Test)

Definition at line 631 of file X509Tests.c.