mbed TLS v2.2.0
Macros
platform.h File Reference

Detailed Description

mbed TLS Platform abstraction layer

Copyright (C) 2006-2015, ARM Limited, All Rights Reserved SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

This file is part of mbed TLS (https://tls.mbed.org)

Definition in file platform.h.

#include <config-sl-crypto-all-acceleration.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for platform.h:

Go to the source code of this file.

Macros

#define mbedtls_free   free
 
#define mbedtls_calloc   calloc
 
#define mbedtls_fprintf   fprintf
 
#define mbedtls_printf   printf
 
#define mbedtls_snprintf   snprintf
 
#define mbedtls_exit   exit
 
SECTION: Module settings

The configuration options you can set for this module are in this section.

Either change them in config.h or define them on the compiler command line.

#define MBEDTLS_PLATFORM_STD_SNPRINTF   snprintf
 Default snprintf to use. More...
 
#define MBEDTLS_PLATFORM_STD_PRINTF   printf
 Default printf to use. More...
 
#define MBEDTLS_PLATFORM_STD_FPRINTF   fprintf
 Default fprintf to use. More...
 
#define MBEDTLS_PLATFORM_STD_CALLOC   calloc
 Default allocator to use. More...
 
#define MBEDTLS_PLATFORM_STD_FREE   free
 Default free to use. More...
 
#define MBEDTLS_PLATFORM_STD_EXIT   exit
 Default free to use. More...
 

Macro Definition Documentation

#define mbedtls_calloc   calloc

Definition at line 104 of file platform.h.

#define mbedtls_exit   exit

Definition at line 206 of file platform.h.

#define mbedtls_fprintf   fprintf

Definition at line 128 of file platform.h.

#define mbedtls_free   free

Definition at line 103 of file platform.h.

#define MBEDTLS_PLATFORM_STD_CALLOC   calloc

Default allocator to use.

Definition at line 61 of file platform.h.

#define MBEDTLS_PLATFORM_STD_EXIT   exit

Default free to use.

Definition at line 67 of file platform.h.

#define MBEDTLS_PLATFORM_STD_FPRINTF   fprintf

Default fprintf to use.

Definition at line 58 of file platform.h.

#define MBEDTLS_PLATFORM_STD_FREE   free

Default free to use.

Definition at line 64 of file platform.h.

#define MBEDTLS_PLATFORM_STD_PRINTF   printf

Default printf to use.

Definition at line 55 of file platform.h.

#define MBEDTLS_PLATFORM_STD_SNPRINTF   snprintf

Default snprintf to use.

Definition at line 51 of file platform.h.

#define mbedtls_printf   printf

Definition at line 150 of file platform.h.

#define mbedtls_snprintf   snprintf

Definition at line 184 of file platform.h.