Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add platform setup and teardown calls to mbedtls tests #6749
This test adds platform setup and teardown calls to Mbed TLS tests, so that all of the custom cryptographic hardware setup can be performed before running any tests. This has been tested using the current head of mbed-os master, on K64F with GCC_ARM.
Pull request type
I approve this PR. Although I believe that creating
mbedtls_platform_context on stack is not good. Since it's size is implementation dependent, it can cause run time stack overflow. I suggest creating it global/static/on heap to avoid future run time error.
Build number : 2012
Build number : 1664