Commit | Line | Data |
---|---|---|
97f98500 HT |
1 | /** @file\r |
2 | Intrinsic Memory Routines Wrapper Implementation for OpenSSL-based\r | |
3 | Cryptographic Library.\r | |
4 | \r | |
5 | Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #include <Base.h>\r | |
17 | #include <Library/BaseMemoryLib.h>\r | |
18 | \r | |
19 | /* OpenSSL will use floating point support, and C compiler produces the _fltused\r | |
20 | symbol by default. Simply define this symbol here to satisfy the linker. */\r | |
21 | int _fltused = 1;\r | |
22 | \r | |
23 | /* Sets buffers to a specified character */\r | |
24 | void * memset (void *dest, char ch, unsigned int count)\r | |
25 | {\r | |
26 | return SetMem (dest, (UINTN)count, (UINT8)ch);\r | |
27 | }\r |