]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseCryptLib/SysCall/UnitTestHostCrtWrapper.c
2 C Run-Time Libraries (CRT) Wrapper Implementation for OpenSSL-based
5 Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
6 Copyright (c) Microsoft Corporation
7 SPDX-License-Identifier: BSD-2-Clause-Patent
14 #include <Library/DebugLib.h>
16 /* Convert character to lowercase */
22 if (('A' <= (c
)) && ((c
) <= 'Z')) {
23 return (c
- ('A' - 'a'));
29 /* Compare first n bytes of string s1 with string s2, ignoring case */
44 Val
= tolower (*s1
) - tolower (*s2
);
60 /* Read formatted data from a string */
69 // Null sscanf() function implementation to satisfy the linker, since
70 // no direct functionality logic dependency in present UEFI cases.
76 // -- Dummy OpenSSL Support Routines --