-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Tinycrypt for mbedTLS 3.x support #243
base: main
Are you sure you want to change the base?
Conversation
* clean up * Add mld6 source file with include fix * Restyle Add mld6 source file to fix missing include (#215) * Restyled by whitespace * Restyled by clang-format * Restyled by prettier-markdown --------- Co-authored-by: Restyled.io <[email protected]> --------- Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com> Co-authored-by: Restyled.io <[email protected]>
7d6e143
to
dd32f62
Compare
#include <stddef.h> | ||
#include <stdint.h> | ||
|
||
#if defined(SL_MBEDTLS_USE_TINYCRYPT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this define guard since we are in a tinycript specific file?
// int mbedtls_platform_memmove(void *dst, const void *src, size_t num); | ||
// int mbedtls_platform_memequal(const void *buf1, const void *buf2, size_t num); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these be commented / deleted?
#include MBEDTLS_CONFIG_FILE | ||
#endif | ||
|
||
#if defined(SL_MBEDTLS_USE_TINYCRYPT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what was changed in this file? Hard to tell from the diff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where were these function taken from?
@@ -12,6 +12,7 @@ | |||
#define MBEDTLS_ASN1_WRITE_C | |||
#define MBEDTLS_BASE64_C | |||
#define MBEDTLS_CIPHER_C | |||
#define MBEDTLS_CIPHER_PADDING_PKCS7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we revert this change since the define was already present?
@@ -12,6 +12,7 @@ | |||
#define MBEDTLS_ASN1_WRITE_C | |||
#define MBEDTLS_BASE64_C | |||
#define MBEDTLS_CIPHER_C | |||
#define MBEDTLS_CIPHER_PADDING_PKCS7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we revert this change since the define was already present?
Problem / Feature
What is being fixed? What is the feature being added? Examples:
Change overview
Testing