summaryrefslogtreecommitdiff
path: root/Cryptlib/Hash/CryptSha512.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-07-02 14:24:12 -0400
committerPeter Jones <pjones@redhat.com>2021-07-20 09:44:25 -0400
commit8600b635624c52f24459c82848ae5907992571c7 (patch)
tree3a2a39596a9b775b94ab16d7f364eb15e1acc022 /Cryptlib/Hash/CryptSha512.c
parentf1ef8dffd374048fbf8dd584923c42e5a784bbf2 (diff)
downloadefi-boot-shim-8600b635624c52f24459c82848ae5907992571c7.tar.gz
efi-boot-shim-8600b635624c52f24459c82848ae5907992571c7.zip
test.c: add some simple mock functions for BS->{Allocate,Free}*
In some test cases, it may be useful to call libefi.a functions, such as the device path parsing functions, which allocate pages via BS->AllocatePool() or BS->AllocatePages. This patch ads a simple mock implementation of those functions, as well as the EFI_SYSTEM_TABLE, EFI_BOOT_SERVICES, and EFI_RUNTIME_SERVICES variables *ST, *BS, and *RT (respectively), and initializes them before the test cases run. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Cryptlib/Hash/CryptSha512.c')
0 files changed, 0 insertions, 0 deletions