m-gorecki opened a new pull request, #3401:
URL: https://github.com/apache/mynewt-core/pull/3401
This upgrades mbedtls version to v3.62:
1. mbedtls repository changed to version v3.6.2
2. Removed tests that are no longer supported
3. Updated/modified gcm_mynewt API:
a) Function mbedtls_gcm_update_add is removed, because now
function mbedtls_gcm_update_ad from mbedtls upstream
provides the same functionality.
b) Due to internal mbedtls API changes mbedtls_gcm_setkey_noalloc
function now needs one argument more, which is keybits.
This argument specifies length of key in bits and should
be set to 128, 192 or 256. Other values won't be accepted.
In earlier version this could be extracted from
mbedtls_cipher_info_t key_bitlen field, which is no longer
the case - now it's 4 bit bitfield later processed by
internal mbedtls macros.
It probably would be possible to not break this APIs, but
since a lot of mbedtls APIs where changed in new version
it was assumed that migration changes in projects using mbedtls
would be necessary anyway.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]