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

Go to the source code of this file.

Functions

UNIT_TEST_STATUS EFIAPI TestVerifyDhPreReq (UNIT_TEST_CONTEXT Context)
 
VOID EFIAPI TestVerifyDhCleanUp (UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestVerifyDhGenerateKey (UNIT_TEST_CONTEXT Context)
 

Variables

VOID * mDh1
 
VOID * mDh2
 
TEST_DESC mDhTest []
 
UINTN mDhTestNum = ARRAY_SIZE (mDhTest)
 

Detailed Description

Application for Diffie-Hellman Primitives Validation.

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

Definition in file DhTests.c.

Function Documentation

◆ TestVerifyDhCleanUp()

VOID EFIAPI TestVerifyDhCleanUp ( UNIT_TEST_CONTEXT  Context)

Definition at line 35 of file DhTests.c.

◆ TestVerifyDhGenerateKey()

UNIT_TEST_STATUS EFIAPI TestVerifyDhGenerateKey ( UNIT_TEST_CONTEXT  Context)

Definition at line 52 of file DhTests.c.

◆ TestVerifyDhPreReq()

UNIT_TEST_STATUS EFIAPI TestVerifyDhPreReq ( UNIT_TEST_CONTEXT  Context)

Definition at line 16 of file DhTests.c.

Variable Documentation

◆ mDh1

VOID* mDh1

Definition at line 11 of file DhTests.c.

◆ mDh2

VOID* mDh2

Definition at line 12 of file DhTests.c.

◆ mDhTest

TEST_DESC mDhTest[]
Initial value:
= {
{ "TestVerifyDhGenerateKey()", "CryptoPkg.BaseCryptLib.Dh", TestVerifyDhGenerateKey, TestVerifyDhPreReq, TestVerifyDhCleanUp, NULL },
}
#define NULL
Definition: Base.h:319

Definition at line 100 of file DhTests.c.

◆ mDhTestNum

UINTN mDhTestNum = ARRAY_SIZE (mDhTest)

Definition at line 107 of file DhTests.c.