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

Go to the source code of this file.

Functions

UNIT_TEST_STATUS EFIAPI TestVerifyImageTimestampVerify (IN UNIT_TEST_CONTEXT Context)
 

Variables

GLOBAL_REMOVE_IF_UNREFERENCED UINT8 AuthenticodeWithTS []
 
GLOBAL_REMOVE_IF_UNREFERENCED UINT8 TSTrustedCert []
 
TEST_DESC mImageTimestampTest []
 
UINTN mImageTimestampTestNum = ARRAY_SIZE (mImageTimestampTest)
 

Detailed Description

Sample Implementation for RFC3161 Time Stamping Verification.

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

Definition in file TSTests.c.

Function Documentation

◆ TestVerifyImageTimestampVerify()

UNIT_TEST_STATUS EFIAPI TestVerifyImageTimestampVerify ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 297 of file TSTests.c.

Variable Documentation

◆ AuthenticodeWithTS

GLOBAL_REMOVE_IF_UNREFERENCED UINT8 AuthenticodeWithTS[]

Definition at line 18 of file TSTests.c.

◆ mImageTimestampTest

TEST_DESC mImageTimestampTest[]
Initial value:
= {
{ "TestVerifyImageTimestampVerify()", "CryptoPkg.BaseCryptLib.ImageTimestamp", TestVerifyImageTimestampVerify, NULL, NULL, NULL },
}
#define NULL
Definition: Base.h:319

Definition at line 328 of file TSTests.c.

◆ mImageTimestampTestNum

UINTN mImageTimestampTestNum = ARRAY_SIZE (mImageTimestampTest)

Definition at line 335 of file TSTests.c.

◆ TSTrustedCert

GLOBAL_REMOVE_IF_UNREFERENCED UINT8 TSTrustedCert[]

Definition at line 218 of file TSTests.c.