Line data Source code
1 : /**
2 : * Copyright Notice:
3 : * Copyright 2021-2022 DMTF. All rights reserved.
4 : * License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/libspdm/blob/main/LICENSE.md
5 : **/
6 :
7 : /** @file
8 : * C Run-Time Libraries (CRT) Wrapper Implementation.
9 : **/
10 :
11 : #include <base.h>
12 : #include "library/debuglib.h"
13 : #include "library/memlib.h"
14 : #include <stddef.h>
15 :
16 0 : int my_printf(const char *fmt, ...)
17 : {
18 0 : LIBSPDM_ASSERT(false);
19 0 : return 0;
20 : }
21 :
22 0 : int my_snprintf(char *str, size_t size, const char *format, ...)
23 : {
24 0 : LIBSPDM_ASSERT(false);
25 0 : return 0;
26 : }
27 :
28 2792310 : void mbedtls_platform_zeroize(void *buf, size_t len)
29 : {
30 2792310 : libspdm_zero_mem(buf, len);
31 2792310 : }
|