/
githubmirror
/
shim
Обзор
Документация
Войти
/
githubmirror
/
shim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Cryptlib/Library/BaseLib.h
25 строк
697 B
Nicolas Frayer
Cryptlib/OpenSSL: update to openssl 3.5.0
08 июл 2026, 17:36
08 июл 2026, 17:36
3b52c67
Код
Авторство
О чём код?
#if defined(__x86_64__) /* shim.h will check if the compiler is new enough in some other CU */ #if !defined(GNU_EFI_USE_MS_ABI) #define GNU_EFI_USE_MS_ABI #endif #if !defined(GNU_EFI_USE_COPYMEM_ABI) #define GNU_EFI_USE_COPYMEM_ABI 0 #endif #ifdef NO_BUILTIN_VA_FUNCS #undef NO_BUILTIN_VA_FUNCS #endif #endif #include <efi.h> #include <efilib.h> UINT32 WriteUnaligned32 (UINT32 *Buffer, UINT32 Value); UINTN AsciiStrSize (const CHAR8 *string); CHAR8 *AsciiStrnCpy(CHAR8 *Destination, const CHAR8 *Source, UINTN count); CHAR8 *AsciiStrCat(CHAR8 *Destination, const CHAR8 *Source); CHAR8 *AsciiStrCpy(CHAR8 *Destination, const CHAR8 *Source); UINTN AsciiStrDecimalToUintn(const CHAR8 *String);