-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
test_suite_md in mbedtls_md_process() violates the md API #2227
Labels
Comments
RonEld
pushed a commit
to RonEld/mbedtls
that referenced
this issue
Nov 25, 2018
Add a call to `mbedtls_md_starts()` in the `mbedtls_md_process()` test, as it violates the API usage. Fixes Mbed-TLS#2227.
ARM Internal Ref: IOTSSL-2641 |
tom-cosgrove-arm
pushed a commit
to tom-cosgrove-arm/mbedtls
that referenced
this issue
Mar 4, 2022
Add a call to `mbedtls_md_starts()` in the `mbedtls_md_process()` test, as it violates the API usage. Fixes Mbed-TLS#2227.
tom-cosgrove-arm
pushed a commit
to tom-cosgrove-arm/mbedtls
that referenced
this issue
Mar 4, 2022
Add a call to `mbedtls_md_starts()` in the `mbedtls_md_process()` test, as it violates the API usage. Fixes Mbed-TLS#2227. Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
tom-cosgrove-arm
pushed a commit
to RonEld/mbedtls
that referenced
this issue
Mar 4, 2022
Add a call to `mbedtls_md_starts()` in the `mbedtls_md_process()` test, as it violates the API usage. Fixes Mbed-TLS#2227. Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
As discussed in ARMmbed/mbed-os#8728 (comment) , the test violates the API as it should call
mbedtls_md_starts()
This could cause failures in HW accelerations.
Bug
OS
Mbed OS|linux|windows
mbed TLS build:
Version:2.13.0
Expected behavior
test suite md to call
mbedtls_md_starts()
before any other calls.Actual behavior
In the test
mbedtls_md_process()
,mbedtls_md_starts()
is not called.Steps to reproduce
Run the
features-mbedtls-tests-mbedtls-test_suite_md
On target test on NRF52840_DK and there will be a crash.The text was updated successfully, but these errors were encountered: