Skip to content

Commit 4ea6882

Browse files
Ron EldorRon Eldor
Ron Eldor
authored and
Ron Eldor
committed
Rename the platform specific crypto_platform
To avoid collisions between the psa `crypto_platform.h` file and the platform specific `crypto_platform.h` file, for the init \ terminate functions, rename the latter to `crypto_device_platform`.
1 parent 31579fe commit 4ea6882

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

features/cryptocell/FEATURE_CRYPTOCELL310/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ To port your CC 310 driver to Mbed OS on your specific target, do the following:
2424
1. In `features/cryptocell/FEATURE_CRYPTOCELL310/TARGET_<target name>`, add your platform-specific libraries for all toolchains in `TOOLCHAIN_ARM`, `TOOLCHAIN_GCC_ARM` and `TOOLCHAIN_IAR` respectively.
2525
1. Add your CC setup code:
2626
* Implement `crypto_platform_setup()` and `crypto_platform_terminate()` to enable CC on your platform, in case you have board-specific setup functionality, required for CC setup. You MUST call 'SaSi_LibInit()` and 'SaSi_LibFini()' respectively in these functions.
27-
* Define `crypto_platform_ctx` in `crypto_platform.h` in a way that suits your implementation.
27+
* Define `crypto_platform_ctx` in `crypto_device_platform.h` in a way that suits your implementation.
2828

features/mbedtls/platform/inc/platform_alt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define __PLATFORM_ALT__
2323
#include "platform_mbed.h"
2424
#if defined(MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT)
25-
#include "crypto_platform.h"
25+
#include "crypto_device_platform.h"
2626
/**
2727
* \brief The platform context structure.
2828
*

0 commit comments

Comments
 (0)