TianoCore EDK2 master
|
#include "TestBaseCryptLib.h"
Go to the source code of this file.
Macros | |
#define | RSA_MODULUS_LENGTH 512 |
Functions | |
UNIT_TEST_STATUS EFIAPI | TestVerifyRsaPreReq (UNIT_TEST_CONTEXT Context) |
VOID EFIAPI | TestVerifyRsaCleanUp (UNIT_TEST_CONTEXT Context) |
UNIT_TEST_STATUS EFIAPI | TestVerifyRsaSetGetKeyComponents (IN UNIT_TEST_CONTEXT Context) |
UNIT_TEST_STATUS EFIAPI | TestVerifyRsaGenerateKeyComponents (IN UNIT_TEST_CONTEXT Context) |
UNIT_TEST_STATUS EFIAPI | TestVerifyRsaPkcs1SignVerify (IN UNIT_TEST_CONTEXT Context) |
Variables | |
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 | RsaN [] |
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 | RsaE [] = { 0x11 } |
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 | RsaD [] |
GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8 | RsaSignData [] = "OpenSSL FIPS 140-2 Public Key RSA KAT" |
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 | RsaPkcs1Signature [] |
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 | DefaultPublicKey [] |
VOID * | mRsa |
TEST_DESC | mRsaTest [] |
UINTN | mRsaTestNum = ARRAY_SIZE (mRsaTest) |
Application for RSA Primitives Validation.
Copyright (c) 2010, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file RsaTests.c.
#define RSA_MODULUS_LENGTH 512 |
Definition at line 11 of file RsaTests.c.
VOID EFIAPI TestVerifyRsaCleanUp | ( | UNIT_TEST_CONTEXT | Context | ) |
Definition at line 95 of file RsaTests.c.
UNIT_TEST_STATUS EFIAPI TestVerifyRsaGenerateKeyComponents | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 190 of file RsaTests.c.
UNIT_TEST_STATUS EFIAPI TestVerifyRsaPkcs1SignVerify | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 258 of file RsaTests.c.
UNIT_TEST_STATUS EFIAPI TestVerifyRsaPreReq | ( | UNIT_TEST_CONTEXT | Context | ) |
Definition at line 80 of file RsaTests.c.
UNIT_TEST_STATUS EFIAPI TestVerifyRsaSetGetKeyComponents | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 107 of file RsaTests.c.
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 DefaultPublicKey[] |
Definition at line 72 of file RsaTests.c.
VOID* mRsa |
Definition at line 76 of file RsaTests.c.
TEST_DESC mRsaTest[] |
Definition at line 313 of file RsaTests.c.
UINTN mRsaTestNum = ARRAY_SIZE (mRsaTest) |
Definition at line 322 of file RsaTests.c.
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 RsaD[] |
Definition at line 39 of file RsaTests.c.
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 RsaE[] = { 0x11 } |
Definition at line 34 of file RsaTests.c.
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 RsaN[] |
Definition at line 20 of file RsaTests.c.
GLOBAL_REMOVE_IF_UNREFERENCED CONST UINT8 RsaPkcs1Signature[] |
Definition at line 58 of file RsaTests.c.
GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8 RsaSignData[] = "OpenSSL FIPS 140-2 Public Key RSA KAT" |
Definition at line 53 of file RsaTests.c.